azureblog.co.uk
← cd ~/graph-permissions
// graph-permissions · Policy

Policy.ReadWrite.MobilityManagementMicrosoft Graph permission · Medium risk

Allows the app to read and write your organization's mobility management policies on behalf of the signed-in user. For example, a mobility management policy can set the enrollment scope for a given mobility management application.

Delegated permission

Medium risk

Read and write your organization's mobility management policies. Allows the app to read and write your organization's mobility management policies on behalf of the signed-in user. For example, a mobility management policy can set the enrollment scope for a given mobility management application.

IDa8ead177-1889-4546-9387-f25e658e2a79
ConsentNeeds admin consent
RiskCan make changes. Check the scope is as narrow as possible.

Ask for it when signing in

Delegated permissions act as the signed-in user, so the app can never do more than that user can.

powershell1 line
Connect-MgGraph -Scopes "Policy.ReadWrite.MobilityManagement"

Which apps already have it?

powershell6 lines
# Apps with delegated consent for Policy.ReadWrite.MobilityManagement
Connect-MgGraph -Scopes "Application.Read.All", "Directory.Read.All"
$graph = Get-MgServicePrincipal -Filter "appId eq '00000003-0000-0000-c000-000000000000'"
Get-MgOauth2PermissionGrant -All |
    Where-Object { $_.ResourceId -eq $graph.Id -and ($_.Scope -split " ") -contains "Policy.ReadWrite.MobilityManagement" } |
    Select-Object ClientId, ConsentType, PrincipalId

Other Policy permissions

Check every app in your tenant → Permission explainer