I'm using the v1 Azure AD auth URLs (/common/oauth2/authorize
) for a multi-tenant app that requires admin_consent
.
I've attempted to add a new scope Directory.AccessAsUser.All
. It is the first 'delegated' permission I'm requesting when all my other scopes are 'application' level permissions.
When I added that new delegated scope and prompted the admin to re-consent, the other scopes disappeared from the returned AccessToken
and the responses scope
parameter. Only Directory.AccessAsUser.All
is present in the access_token
scp
field.
Is there any reason this behavior would occur? I'm positive that we are promoting for admin_consent
and that an admin is the one consenting.