Trying to access user outlook account through SAML connection with Azure AD
Feb 20, 2026
Overview
We have a SAML connection to Microsoft Azure AD setup and working, but we are not receiving an access token from the Identity Provider in the user's profile.
We need to establish this:
saml > auth0 > graph API Microsoft
Can you provide an example how to achieve this? Which API can we use and what config is needed to get an access token?
Some parts might be out of scope but any recommendation and help would be great.
Applies To
- SAML
Cause
Solution
For example, if you are normally hitting the Graph API with an access token for a specific user property, like their job_title, then you would need to ask the Identity Provider to include this field as an attribute in the their SAML Response, i.e. SAML Token. See the Microsoft documentation linked below for more details on how to add custom claims to the IdP's SAML Response.
https://learn.microsoft.com/en-us/azure/active-directory/develop/saml-claims-customization