From the course: PowerShell for Microsoft 365 Administration

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

How to connect SharePoint Online and OneDrive for Business

How to connect SharePoint Online and OneDrive for Business

From the course: PowerShell for Microsoft 365 Administration

How to connect SharePoint Online and OneDrive for Business

- [Instructor] So how do we connect to SharePoint Online and OneDrive for Business? Well, first off, same prerequisites. We need to launch PowerShell as an administrator. We then install the SharePoint Online module, and then we import that module directly into the current session. And then the account that we're using needs to be a Microsoft 365 administrator. However, if we're just going to manage SharePoint, it could actually be just a SharePoint administrator. The SharePoint Online PowerShell module provides the management for OneDrive for Business and SharePoint Online. From an installation perspective, the installable version can be downloaded from the Microsoft link, or we can use the Install-Module option to actually install that module directly into the PowerShell session. So two different approaches, depending on what you support within your environment. Now to install the SharePoint Online module, we run…

Contents