Forum Discussion
jkhan540
Aug 30, 2019Copper Contributor
Admin consent is being raised for permissions which are not required admin consent
Hi, We are integrating the microsoft graph to fetch the contacts of signed-in user through microsoft graph SDK but I one thing here is that we are using our implemented OAuth2.0 protocol for aut...
zawad
Nov 05, 2019Former Employee
jkhan540 It is possible that the tenant you are testing your application has disabled user consent. It is actually documented as a best practice here: https://docs.microsoft.com/en-us/azure/security/fundamentals/steps-secure-identity#block-end-user-consent
If user consent is disabled then you will receive the same AADSTS90094 error which is documented here: https://blogs.msdn.microsoft.com/aaddevsup/2018/05/08/receiving-aadsts90094-the-grant-requires-admin-permission/