[Feature request] az ad app permission admin-consent
: Migrate https://main.iam.ad.ext.azure.com/
to Microsoft Graph
#29424
Labels
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
feature-request
Graph
az ad
Milestone
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 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-consent
and replace it with fine-grainedaz ad app permission grant
and #22768.Additional context
The text was updated successfully, but these errors were encountered: