← cd ~/graph-permissions
// graph-permissions · UserAuthenticationMethod
UserAuthenticationMethod.ReadMicrosoft Graph permission · Low risk
Allows the app to read the signed-in user's authentication methods, including phone numbers and Authenticator app settings. This does not allow the app to see secret information like the signed-in user's passwords, or to sign-in or otherwise use the signed-in user's authentication methods.
Delegated permission
Low riskRead user authentication methods.. Allows the app to read the signed-in user's authentication methods, including phone numbers and Authenticator app settings. This does not allow the app to see secret information like the signed-in user's passwords, or to sign-in or otherwise use the signed-in user's authentication methods.
| ID | 1f6b61c5-2f65-4135-9c9f-31c0f8d32b52 |
|---|---|
| Consent | Needs admin consent |
| Risk | Read access, limited to what the signed-in user can see. |
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.
Connect-MgGraph -Scopes "UserAuthenticationMethod.Read"Which apps already have it?
# Apps with delegated consent for UserAuthenticationMethod.Read
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 "UserAuthenticationMethod.Read" } |
Select-Object ClientId, ConsentType, PrincipalId