We have configured an azure active directory application so that the users to our website can log in via their Microsoft accounts. The problem is that if we do not grant admin access then the Sign in to the application fails with the error code AADSTS650056
:
Misconfigured application. This could be due to one of the following: The client has not listed any permissions for 'AAD Graph' in the requested permissions in the client's application registration.
We are skeptical to click on "Grant admin consent" fearing that it may expose any vulnerability. Is this the right way to proceed? If not what are the alternatives so that this kind of consent is bypassed?
https://graph.windows.net
, but you have added only permissions for Microsoft Graphhttps://graph.microsoft.com
. Try to add Azure AD Graph permissions or change the permissions request to Microsoft Graph in your application and you should not get this error. – Diffract