| title | Prerequisites to use PowerShell or Graph Explorer for Microsoft Entra roles |
|---|---|
| description | Prerequisites to use PowerShell or Graph Explorer for Microsoft Entra roles. |
| ms.topic | how-to |
| ms.date | 03/30/2025 |
| ms.reviewer | anandy |
| ms.custom | oldportal, it-pro, has-azure-ad-ps-ref, azure-ad-ref-level-one-done |
If you want to manage Microsoft Entra roles using PowerShell or Graph Explorer, you must have the required prerequisites. This article lists the PowerShell and Graph Explorer prerequisites for different Microsoft Entra role features.
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:
To manage Microsoft Entra roles using the Microsoft Graph API and Graph Explorer, you must do the following:
-
If you don't have an Azure subscription, create a free account before you begin.
-
Sign in to the Microsoft Entra admin center.
-
Browse to Entra ID > Enterprise apps.
-
In the applications list, find and select Graph explorer.
-
Select Permissions.
-
Select Grant admin consent for Graph explorer.
-
Use Graph Explorer tool.
