You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related command az ad app permission admin-consent
Is your feature request related to a problem? Please describe. az ad app permission admin-consent internally calls https://main.iam.ad.ext.azure.com/ endpoint:
Describe the solution you'd like
Migrate https://main.iam.ad.ext.azure.com/ to Microsoft Graph.
Describe alternatives you've considered
Remove az ad app permission admin-consent and replace it with fine-grained az ad app permission grant and #22768.
Related command
az ad app permission admin-consentIs your feature request related to a problem? Please describe.
az ad app permission admin-consentinternally callshttps://main.iam.ad.ext.azure.com/endpoint:azure-cli/src/azure-cli/azure/cli/command_modules/role/custom.py
Line 959 in 38eaebb
This endpoint has several limitations:
https://main.iam.ad.ext.azure.com/is not a resource supported by Cloud Shell (az ad app permission admin-consent --id <app-id> fails in CloudShell #8912, Admin Consent is not working in Cloud Shell #14230)Describe the solution you'd like
Migrate
https://main.iam.ad.ext.azure.com/to Microsoft Graph.Describe alternatives you've considered
Remove
az ad app permission admin-consentand replace it with fine-grainedaz ad app permission grantand #22768.Additional context