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

Refer to Microsoft Graph docs for more information.

Organization

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

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

Refer to Microsoft Graph docs for more information.

Users

Uses the GET operation to retrieve information about M365 users.

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

Refer to Microsoft Graph docs for more information.

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

Refer to Microsoft Graph docs for more information.

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')

Refer to Microsoft Graph docs for more information.