Receiving "The request was denied because one or more scopes requested are unauthorized or expired"
Joyce S
1
Reputation point
I am going through the sample code from https://github.com/microsoftgraph/aspnet-snippets-sample
and when clicking the Mail link I get this error.
I have set up the Azure AD following the instructions and set the permissions. (2.jpg) but am still receiving the same error.
What am I missing?
Can I just confirm the client ID that is specified in the settings file, is retrieved from Overview -> Application(client) ID, or is this the Certificates & secrets -> Client secrets -> ID ? I have tried both with the same error.
Sign in to answer