Manage Office 365 with Office 365 PowerShell

This article applies to both Office 365 and Microsoft 365.

Office 365 PowerShell is a powerful management tool that complements the Microsoft 365 admin center. For example, you can use Office 365 PowerShell automation to more quickly manage multiple user accounts and licenses and create reports. Learn how to use Office 365 PowerShell with Office 365 users and licenses, Skype for Business Online, SharePoint Online, Exchange Online, and the Office 365 Security & Compliance Center.

Select the topic based on your needs:

  • Get started

    Start here if you are not familiar with Office 365 PowerShell and want to install the Office 365 PowerShell modules and connect to your Office 365 subscription.

  • User accounts, licenses, and groups

    Start here if you have installed the Office 365 PowerShell modules and want to learn more about using automation commands to manage user accounts, licenses, and groups.

  • SharePoint Online

    Start here if you have installed the Office 365 PowerShell modules and want to use automation commands to perform management of SharePoint Online.

  • Exchange Online PowerShell

    Start here if you want to use automation commands to manage Exchange Online.

  • Email migration to Office 365

    Start here if you have installed the Office 365 PowerShell modules and want to migrate your email from existing systems.

  • Security & Compliance Center

    Start here if you want to use automation commands to manage the Security & Compliance Center.

  • Delegated Access Permissions (DAP) partners

    Start here if you want to use Syndication and Cloud Solution Provider (CSP) partners to manage your Office 365 customer tenants.

  • Skype for Business Online

    Start here if you have installed the Office 365 PowerShell modules and want to perform management of Skype for Business Online.