Skip to main content

Connector API calls

The Microsoft 365 connector makes several API calls to Microsoft Graph API to retrieve data.

Authentication token

Uses the POST operation to retrieve an auth token used in other Graph API calls.

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

For more information, refer to Microsoft Graph docs .

Organization

Uses the GET operation to retrieve information about M365 organization (tenant).

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

For more information, refer to Microsoft Graph docs .

Users

Uses the GET operation to retrieve information about M365 users.

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

For more information, refer to Microsoft Graph docs .

Subscribed SKU

Uses the GET operation to retrieve information about a service SKU company is subscribed to.

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

For more information, refer to Microsoft Graph docs .

User activity

Uses the GET operation to retrieve information about the user activity in the last 180 days.

URI: https://graph.microsoft.com/v1.0/reports/getOffice365ActiveUserDetail(period='D180')

For more information, refer to Microsoft Graph docs .