Azure/Office 365 Graph API developer: RefreshToken, AccessToken, IdentityToken

These are 3 common terms (Refresh Token, Access Token, Identity Token) in Azure/Office 365 Graph API Cloud developer world and we get tons of queries on this. So let me try to explain them in simple terms … Access Token:- The access token is attached to every REST API request in the authorization header. -…


Developer Guidance: Which endpoint should i use Microsoft Graph API or Outlook REST API?

With reference to what i blogged earlier, i get similar queries from app developers to choose Microsoft Graph API or Outlook REST API endpoints when they develop application related to Outlook APIs. Microsoft recommends using the Microsoft Graph API whenever possible. – The Microsoft Graph APIs include more features than just Outlook-related APIs, including OneDrive…


Cloud Developer: Office 365 REST API returns 401 access denied with an error code of “invalid_token”

In recent times i worked with this cloud developer (Azure AD, Office 365 REST API) where they created a custom application. It uses (Calendar, Contact, Mail APIs) to pull items from the specified user mailbox. Intermittently they see “401 Access Denied” followed by error code “invalid_token” from the API. During the investigation, we noticed that…

10