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. -…

0

Microsoft Graph REST API Developer – Getting list of locales, languages supported for the user mailbox

Using Microsoft Graph REST API, you can get the list of locales and languages that are supported for the user, as configured on the user’s mailbox server. You need to use OutlookUser resource type, which represents the Outlook services available to a given user. Request:https://graph.microsoft.com/beta/me/outlook/supportedLanguages RequestHeader: Authorization, Bearer/Token is required Response:If successful, this method returns…


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