Skip to content

Latest commit

 

History

History
52 lines (30 loc) · 1.92 KB

File metadata and controls

52 lines (30 loc) · 1.92 KB
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

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 lists 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

To manage Microsoft Entra roles using the Microsoft Graph API and Graph Explorer, you must do the following:

  1. If you don't have an Azure subscription, create a free account before you begin.

  2. Sign in to the Microsoft Entra admin center.

  3. Browse to Entra ID > Enterprise apps.

  4. In the applications list, find and select Graph explorer.

  5. Select Permissions.

  6. Select Grant admin consent for Graph explorer.

    Screenshot showing the "Grant admin consent for Graph explorer" link.

  7. Use Graph Explorer tool.

Next steps