Microsoft Security | Microsoft Graph
An API that connects multiple Microsoft services, enabling data access and automation across platforms
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Receiving an error after choosing an account (first step of consent screen). The second consent screen (where you choose to accept the apps permissions) is never shown.
The request params look like this...
https://login.microsoftonline.com/common/oauth2/v2.0/authorize?
scope=openid+Calendars.ReadWrite&
response_type=code&
redirect_uri=https://localhost:5001/connectedapps/oauth/callback&
response_mode=query&
prompt=select_account
It's successful in either two cases:
The problem occurs when using both the openid + Calendars.ReadWrite scopes, but trying to sign in as a Microsoft Office user. The error returned to the API is "invalid_client". BUT it works for a Microsoft Live Account.
An API that connects multiple Microsoft services, enabling data access and automation across platforms