Prerequisites to use PowerShell for Microsoft Entra roles

If you want to manage Microsoft Entra roles using PowerShell, you must have the required prerequisites. This article lists the PowerShell prerequisites for different Microsoft Entra role features.

Microsoft Graph PowerShell

To use PowerShell commands to do the following:

  • Add users, groups, or devices to an administrative unit
  • Create a new group in an administrative unit

You must have the Microsoft Graph PowerShell SDK installed:

Next steps