Manage Microsoft 365 user accounts, licenses, and groups with PowerShell

This article applies to both Microsoft 365 Enterprise and Office 365 Enterprise.

Microsoft 365 administrators need to manage user accounts, licenses, and groups. Although you can do most of these tasks in the Microsoft 365 admin center, some are easier in PowerShell.

For more information, see the following articles.

User accounts

Licenses and services

Groups