How to Connect to SharePoint Online With the help of PowerShell Module
In this article, I'll show you how to connect to SharePoint Online with the help of a PowerShell module. Prerequisites Download and then Install SharePoint Online Management Shell from the following link: https://www.microsoft.com/en-us/download/details.aspx?id=35588 Connecting to SharePoint Online Open PowerShell with elevated privileges Execute the following command Connect-SPOService –Url https://<name of tenant>-admin.sharepoint.com –Credential <suppose admin@mytenant.onmicrosoft.com>