Preview is not working for Azure AD connector

Hi Sailors,

I am integrating SailPoint with Azure AD, I configured the application details and when I hit the test connection it is successful. But when I hit preview I am getting the below error.
**ERROR https-jsse-nio-8443-exec-16 sailpoint.connector.AzureADConnector:2187 - Exception occurred while getting license details. **
sailpoint.connector.ConnectorException: Exception occurred in processReadRequest. Error - Exception occurred while trying to receive data from Server. Number of retries exceeded.null

The following permissions are there for the application in the AZURE AD.

1)User.Invite.All
2)User.Read.All
3)User.ReadWrite.Allr
4)Organization.Read.All
5)RoleManagement.ReadWrite.Directory
6)User.Read
7)Group.Read.All
8)Group.ReadWrite.All
9)Application.Read.All
10)AppRoleAssignment.ReadWrite.All
11)RoleManagement.ReadWrite.Directory
12)RoleManagement.Read.Directory

Thank You,
RajGopal.

Try adding below permissions as well:
Directory.Read.All
Directory.ReadWrite.All

this worked for us.

Hi @aakashpandita ,
Thanks for the reply. i will work on it.

Did you try enabling useMSGraphAPI to true?

This indicates that the connector could reach Azure AD, but the API call for license details failed repeatedly.
Check if there is typeo mistake:
3)User.ReadWrite.Allr (instead of Allr its All)

Hi @uday_kilambi,
Thanks for the reply, I already enabled this in the application configuration.