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
az feedback auto-generates most of the information requested below, as of CLI version 2.0.62
Describe the bug
"az ad app permission admin-consent" returns "service unavailable" when logged in with a service principal but works fine with a regular user.
To Reproduce
I guess just launch the following command line while logged in with a service principal :
az ad app permission admin-consent --id {}
Expected behavior
To actually validate the grants in the api permissions section of the app in the active directory
Environment summary
Ubuntu Bullseye - bash for windows
azure-cli versions : {
"azure-cli": "2.14.0",
"azure-cli-core": "2.14.0",
"azure-cli-telemetry": "1.0.6",
"extensions": {}
}
Additional context
Both the user used to test and the service principal are global administrator on the Active Directory.
it's an active directory B2C
the whole app and its apis were created by the same service principal using the graph api
The text was updated successfully, but these errors were encountered:
ghost
added
needs-triage
This is a new issue that needs to be triaged to the appropriate team.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
labels
Nov 18, 2020
yonzhan
added
Graph
az ad
and removed
needs-triage
This is a new issue that needs to be triaged to the appropriate team.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
labels
Nov 18, 2020
Describe the bug
"az ad app permission admin-consent" returns "service unavailable" when logged in with a service principal but works fine with a regular user.
To Reproduce
I guess just launch the following command line while logged in with a service principal :
az ad app permission admin-consent --id {}
Expected behavior
To actually validate the grants in the api permissions section of the app in the active directory
Environment summary
Additional context
The text was updated successfully, but these errors were encountered: