Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,002 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
When I am trying create sample app by following steps on https://developer.microsoft.com/en-us/graph/quick-start (connect to Microsoft 365 and call the Graph AP) I I get error:
I will only add that logging in is carried out correctly
Hello Daiman
To access your Microsoft account using the Microsoft Graph API, you’ll need to follow these steps:
User.Read
: Read basic profile information of the signed-in user. Mail.Read
: Read the user’s mailbox. Calendars.Read
: Read the user’s calendar events. Adjust permissions according to your use case. https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/authorize
Replace {tenant-id}
with your Directory (tenant) ID. https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/token
Include the required parameters: client_id
, scope
, client_secret
, grant_type
, and redirect_uri
. https://graph.microsoft.com/v1.0/
Append the specific resource path (e.g., /me
, /users/{user-id}
, /me/messages
, etc.) to the base URL. GET https://graph.microsoft.com/v1.0/me