Prerequisites to use PowerShell or Graph Explorer for Microsoft Entra roles
If you want to manage Microsoft Entra roles using PowerShell or Graph Explorer, you must have the required prerequisites. This article describes the PowerShell and Graph Explorer 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:
Graph Explorer
Tip
Steps in this article might vary slightly based on the portal you start from.
To manage Microsoft Entra roles using the Microsoft Graph API and Graph Explorer, you must do the following:
Sign in to the Microsoft Entra admin center.
Browse to Identity > Applications > Enterprise applications.
In the applications list, find and select Graph explorer.
Select Permissions.
Select Grant admin consent for Graph explorer.
Use Graph Explorer tool.