Auth0 Error Occurs on Azure Active Directory Connections After Graph API v1 Deprecation
Last Updated:
Overview
Microsoft deprecated the Azure Active Directory (v1) Identity API on February 1, 2025, causing authentication errors for older Auth0 tenants still using this version. Update the Identity API option to use the supported Microsoft Identity Platform (v2) to resolve the error. If an Azure AD connection still uses the deprecated v1 API, authentication flows fail to include groups from Azure AD (Entra ID), and Auth0 generates the following error in the logs:
Error: Unable to retrieve extended attributes.
Details:
{
"error": "Authentication_Unauthorized",
"codeForMetrics": "Authentication_Unauthorized",
"message": "Access blocked to AAD Graph API for this application.",
"reference": "https://<url>/AzureADGraphMigration"
}
Applies To
- Auth0
- AzureAD Enterprise Connection
Cause
Microsoft has deprecated Graph API v1 from its platform. Connections currently using this Identity API option will begin to see a deterioration in service.
Solution
How is the Azure Active Directory connection updated to use the Microsoft Identity Platform (v2)?
Navigate to the Azure Active Directory connection settings in the Auth0 dashboard and update the Identity API option to use the supported Microsoft Identity Platform (v2).
- Open the Azure Active Directory connection settings in the Auth0 dashboard.
- Change the Identity API option to Microsoft Identity Platform (v2).