While all methods require you to use the Conect-SPOService cmdlet, they each offer a slightly different experience. There are a few different approaches which allow you to get access to your resources in SharePoint Online.
This article shows you how to take the first step to manage your online resources by connecting to your SharePoint organization with PowerShell. Mind that connecting to SharePoint Online might be useful not only when you want to manage your SharePoint sites and permissions, but also when you want to run some scripts on Office 365 groups. Whenever you come across a repetitive administrative task, you can be sure that PowerShell will help you automate it, at least to some extent.īefore you perform any kind of an administrative task in your SharePoint Online, you need to connect to your organization. If you want to optimize your SharePoint Online administration – PowerShell is your friend. While it is possible to manage your SharePoint Online using the Office 365 portal, there are some tasks which are much easier and quicker to do with PowerShell.