I want to build a sample application which can read the calendar of outlook account either live or office365 using Microsoft graph API.
The case I am trying to implement is Microsoft Graph : Get access without a user
- I created a personal account on outlook live.
- Registered an application on Azure Portal.
- Next step was to get admin consent.
For Admin consent I tried to hit :
https://login.microsoftonline.com/common/adminconsent ?client_id=clientId &state=state &redirect_uri=redirect-uri
Getting error :
We are unable to issue tokens from this API version for a Microsoft account. Please contact the application vendor as they need to use version 2.0 of the protocol to support this.

