How do I resolve issues with admin consent

Tom Arnfeldt Nielsen 21 Reputation points
2020-06-26T07:49:41.443+00:00

I have created an application in Azure(1), based on this tutorial (https://learn.microsoft.com/en-us/learn/modules/msgraph-build-aspnetmvc-apps/).

10734-1.png

I have selected my app, and set up permissions in Azure(2).

10708-2.png

I am trying to sign in from my custom application, which sign-in the following permissions(3):

  1. User.ReadWrite
  2. Calendars.Read

10735-3.png

However I keep getting stuck with an admin consent screen(4).

10679-4.png

My question is, how do I find out what the problem is, and when done, how to I resolve it?

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,639 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,466 questions
0 comments No comments
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,306 Reputation points
    2020-06-26T08:32:31.273+00:00

    Hi @TomArnfeldtNielsen-8833 You need to sign-in with your Global Administrator account while accessing the ASP.net graph tutorial app and provide consent. When you sign-in with Global Administrator account, you can also select Consent on behalf of your organization checkbox so that all users in that tenant can access the application without requiring to provide consent. Please refer to below screenshot to see how the option looks like when you sign-in with Global Admin account:

    10791-untitled.png


    Please do not forget to "Accept the answer" wherever the information provided helps you. This will help others in the community as well.


0 additional answers

Sort by: Most helpful