The Get-MgPolicyAuthorizationPolicy cmdlet fetches the current authorization policy settings in Microsoft Entra ID (previously Azure AD). This policy defines baseline permissions and organizational rules for user and administrative operations in your tenant.
Install-Module Microsoft.Graph -Scope CurrentUser
Connect-MgGraph -Scopes "Policy.Read.All"
Run the Graph PowerShell command below to view the current authorization policy. This retrieves the only instance of the authorization policy for your organization:
Get-MgPolicyAuthorizationPolicy
This Graph PowerShell command displays all settings in the authorization policy:
Get-MgPolicyAuthorizationPolicy
This Graph PowerShell command lists only the displayName and ID of the policy:
Get-MgPolicyAuthorizationPolicy | Select-Object displayName, id
This Graph PowerShell command gets the policy using its explicit ID:
Get-MgPolicyAuthorizationPolicy -AuthorizationPolicyId "authorizationPolicy"
The following are some essential parameters that can be used along with the Get-MgPolicyAuthorizationPolicy command:
| Parameters | Description |
|---|---|
| -AuthorizationPolicyId | The ID of the authorization policy to retrieve |
| -Top | Limits the number of results |
| -Filter | Returns only policies matching specified criteria |
| -All | Retrieves all results without paging |
| -Property | Selects specific properties to display |
ADManager Plus, an identity governance and administration solution with comprehensive Microsoft Entra ID management and reporting capabilities, simplifies complex admin tasks from a single, user-friendly console: