Connectors

Office 365 Connector

Connectors in Bloo

Updated 2026-08-17


Overview

The Office 365 Management Activity API provides information about various user, admin, system, and policy actions and events from Office 365 and Azure Active Directory activity logs. The Office 365 Connector uses the pull method by subscribing to the Office 365 Management Activity API content types.

Prerequisites

Office 365 Management API credentials:

  • Tenant ID
  • Client Key
  • Secret Key
  • Tenant Domain

Note Azure Active Directory has been rebranded to Microsoft Entra ID. If you see Microsoft Entra ID in the portal, it is the same service. The steps below remain the same.

Step 1 — Find Tenant ID

  1. Log in to the Azure Management Portal with the credentials of the tenant subscribed to Microsoft Office 365.
  2. In the navigation menu, select Azure Active Directory.
  3. In Manage, select Properties.
  4. Copy the Tenant ID. Use this value for the Tenant ID field in Bloo.

Screenshot of the Azure Active Directory Properties page showing the Tenant ID

Step 2 — Find Tenant Domain

  1. Log in to your Office 365 Admin Center as an Administrator.
  2. Click Show All.
  3. Go to Settings and click Domains.
  4. Find a domain that ends with .onmicrosoft.com. This is your Office 365 Tenant Domain.

Screenshot of the Domains settings page listing the tenant domain

Step 3 — Register Application in Azure AD

  1. Log in to the Azure Management Portal with the credentials of the tenant subscribed to Microsoft Office 365.
  2. In the navigation menu, select Azure Active Directory.
  3. In the Manage section, select App Registration and click New Registration.
  4. Enter the Display Name for the application.
  5. In the Supported account types section, select the type of account to use the application or to access the API.
  6. Click Register.
  7. Copy and store the Application (client) ID value. Use this value for the Client Key field in Bloo.

Screenshot of the registered application's Overview page showing the Application (client) ID

Step 4 — Generate a Client Secret

  1. Navigate to the application you registered in Step 3.
  2. From the Manage pane, select Certificates & secrets → Add New client secret.
  3. Enter a Description and select an Expiry Date for the Client Secret, then click Add.
  4. Copy and store your client secret key value. Use this value for the Secret Key field in Bloo.

Screenshot of the generated client secret value

Warning Copy and store your client secret value immediately — it cannot be retrieved after you close this page. Client secrets have an expiry date. When your secret expires, the connector will stop working. Generate a new secret and update the connector configuration in Bloo before it expires.

Step 5 — Specify API Permissions

  1. Navigate to the application you registered in Step 3.
  2. Click API Permissions → Add a permission → choose Office 365 Management APIs → Delegated permissions, then select the following and click Add permissions:
    • Activity Feed
      • ActivityFeed.Read
      • ActivityFeed.ReadDlp
    • ServiceHealth
      • ServiceHealth.Read
  3. Click Application permissions, then select the following and click Add permissions:
    • Activity Feed
      • ActivityFeed.Read
      • ActivityFeed.ReadDlp
    • ServiceHealth
      • ServiceHealth.Read
  4. In the API permissions window, click Grant admin consent and click Yes to confirm.

Screenshot of the API permissions window after granting admin consent

Note For most Microsoft 365 enterprise plans, audit logging is already turned on by default. If the Turn on auditing button is not visible in the compliance center, auditing is already enabled for your organization.

  1. Go to the compliance center at compliance.microsoft.com and sign in.

    Note The legacy compliance portal at protection.office.com redirects to compliance.microsoft.com. Both URLs take you to the same place.

  2. In the compliance center, go to Search → Audit log search.

  3. Click Turn on auditing.

Screenshot of the Audit log search page with the Turn on auditing button

Step 7 — Create a Subscription in Azure Portal

  1. Sign in to the Azure portal.
  2. Search for Subscriptions.

Screenshot of the Subscriptions search result in the Azure portal

  1. Select Add.

Screenshot of the Add subscription button

  1. If you have access to multiple billing accounts, select the billing account for which you want to create the subscription.
  2. Fill the form and click Create. The tables below list the fields on the form for each type of billing account.

Step 8 — Check Your Subscriptions

  1. Visit the Microsoft Office website, click on the Sign-in button, and sign in using the email address you used to purchase your Office 365 subscription.
  2. Once you sign in to your Office account, you will see the subscription details page.
  3. The page displays the details of your Microsoft Office 365 subscription.

Configure the Office 365 Connector in Bloo

All connector configuration is done from the Datasource page in Bloo.

Field Description
Connector Name Enter a name for the connector.
Tenant ID Tenant ID or Directory ID of the Azure AD subscription.
Tenant Domain Tenant domain for Office 365 (example.onmicrosoft.com).
Client Key Application ID of the created client application.
Secret Key Secret key for the created application.
Publisher ID ID of the publisher for the created application. This is mainly used for webhooks. The value should be None for this implementation.

Screenshot of the Office 365 connector configuration form in Bloo

  1. Click Save after entering all the required details.
  2. Bloo will validate the configuration automatically.
  3. Navigate to Collection Status and confirm the connector is listed with a status of Active. This signifies the connector is configured successfully and data is ready to ingest.

Confirmed When the connector appears in Collection Status with status Active, it is configured successfully and data is ready to ingest.

Bloo — Collection Status | Bloo — Connector Validation | Microsoft — Get started with Office 365 Management APIs | Microsoft — Turn on audit log search | Bloo — Office 365 Troubleshooting | Bloo — Troubleshooting Connector Validations

Related

Was this page helpful?

We use cookies to provide essential site functionality and, with your consent, to analyze site usage and enhance your experience. View our Privacy Policy