Skip to main content

API calls for Microsoft Entra ID

The Microsoft Entra ID connector makes API calls to Microsoft Graph API to retrieve data.

Authentication token

The call uses the POST operation to retrieve an auth token used in other Graph API calls.

URI: https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token

For more information, see Microsoft Graph docs .

Users

The call uses the GET operation to retrieve information about Microsoft Entra users. The call differs depending on how the Domains field is populated when adding the connector.

URI when populated with *: https://graph.microsoft.com/v1.0/users?$select={userColumns}&$top={maxUsers}

URI when populated with domains: https://graph.microsoft.com/v1.0/users?$select={userColumns}&$top={maxUsers}&$count=true&ConsistencyLevel=eventual&$filter=endswith(mail,'@{domain1}') OR endswith(mail,'@{domain2}') ... for all domains added

For more information, see Microsoft Graph docs .

Groups

The call uses the GET operation to retrieve information about Microsoft Entra groups.

URI: https://graph.microsoft.com/v1.0/groups

For more information, see Microsoft Graph docs .

Group membership

The call uses the GET operation to retrieve information about groups of which the user is a direct member.

URI: https://graph.microsoft.com/v1.0/users/{userId}/memberOf/microsoft.graph.group

For more information, see Microsoft Graph docs .

User credential registration details

The call uses the GET operation to retrieve credentialUserRegistrationDetails report. This report is only fetched if Collect user credential details report is selected when adding the connector.

URI:https://graph.microsoft.com/beta/reports/credentialUserRegistrationDetails

For more information, see Microsoft Graph docs .