Fix Azure AD Integration Error: Enable Directory.Read.All Permission

Short answer:
If your Entra ID (Azure AD) integration fails, enable the Directory.Read.All permissions in Microsoft Graph and grant admin consent.

Symptom

You may encounter an error during your Entra ID (Azure AD) integration:

Solution: Enable Directory.Read.All Permission

  1. Go to the Azure Portal.
  2. Navigate to Microsoft Entra ID (Azure AD).
  3. Click App registrations.
  4. Select your Xink application.
  5. Go to API permissions.

  1. Click Add a permission.
  2. Select Microsoft Graph.
  3. Choose Application permissions.
  4. Enable Directory.Read.All (Read directory data).

  1. Click Save.
  2. Click Grant admin consent and confirm.

Result

Once the permission is granted, return to the Xink portal and recheck the Azure AD integration. The connection should now complete successfully.

Explanation

The integration requires permission to read directory data from Microsoft Entra ID. Without Directory.Read.All, Xink cannot access user and group information, which causes the connection to fail.

Learn more

IT Pro: How to read groups from Active Directory

IT Pro: How to filter users in Azure AD using OData

IT Pro: How to filter users in Azure AD using Client-Side

IT Pro: How to sync custom attributes from Azure AD (Hybrid)

IT Pro: Filter users using group expressions (wildcards)

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
Quick 1-on-1 Demo | Ⓒ 2026 Xink