Ingest Logs
Prerequisites
Logpoint version: v7.5.0 or later
Microsoft 365 subscription with:
a tenant admin account
a service user account
Outbound access to the following URLs (allowlist these in your network):
https://login.microsoftonline.com/{tenant_id}https://login.microsoftonline.comhttps://manage.office.com/api/v1.0/list/activity/feed/subscriptionshttps://login.microsoftonline.com/{tenant_id}/oauth2/authorizehttps://login.windows.net/
Install the integration
Download the .pak file from the Service Desk.
Go to Settings >> System Settings.
Click Applications.
Click Import.
Upload the downloaded .pak file.
Verify the integration appears under Settings >> System Settings >> Plugins.
Configure log ingestion
You can configure this integration using one of the following methods:
Log source template (recommended)
Devices
Method 1: Configure using a log source template
Office365 provides a Microsoft365 log source template with pre-defined settings for:
Source
Connector
Routing
Normalization
Enrichment
Some fields in the template must be configured manually.
Create a log source
Go to Settings >> Log Sources.
Click + Add Log Source.
Click + Create New.
Select Microsoft365.
Integration-specific configuration
The Microsoft365 log source template has pre-defined settings, but you must configure some fields manually.
Configure the following template sections:
Source
Click Source.
Enter the log source Name.
Set Fetch Interval (min).
Select Charset.
Select Time Zone.

Connector
Click Connector.
Enter Client Secret, Subscription Id, Tenant ID, and Client ID (obtained when configuring Microsoft Entra ID).

Routing
Click Routing.
Click + Create Repo.
Enter a Repo name and Path to store incoming logs.
Enter Retention (Days) to specify the number of days logs are kept in a repository before they are automatically deleted.
In Availability, select the Remote logpoint and Retention (Days).
Click Create Repo.
In Repo, select the created repo to store logs.
Create Routing Criteria
Click + Add row.
Enter Key and Value (criteria applied only to logs with this key/value).
Select an Operation:
Store raw message — store incoming and normalized logs
Discard raw message — discard incoming, store normalized
Discard entire event — discard both incoming and normalized logs
To delete a routing criteria, click the delete icon under Action.

Normalization Select a normalization policy that includes Office365CompiledNormalizer. (If you do not have a policy, create one using the compiled normalizer.)

Enrichment In enrichment, select an enrichment policy for the incoming logs. Enrichment policies are used to add additional information to a log, such as user information, device type or geolocation, before analyzing it.
Click Enrichment.
Select an Enrichment Policy.
Click Create Log Source to save the configurations of Source, Connector, Routing, Normalization, and Enrichment.

Method 2: Configure using devices
When you run the Office365 fetcher for the first time, Logpoint creates subscriptions to the audit log sources in the API. After subscriptions are created, there can be a 12–24 hour delay before logs start arriving.
Create a normalization policy (required)
Go to Settings >> Configuration.
Click Normalization Policies.
Click Add.
Enter a policy name.
Select Office365CompiledNormalizer.
Click Submit.
Create a processing policy
Go to Settings >> Configuration.
Click Processing Policies.
Click Add.
Enter a policy name.
Select the Office 365 normalization policy you created earlier.
Select your enrichment policy (if applicable).
Select your routing policy.
Click Submit.
Configure the Office365 fetcher
Before you configure the fetcher in Logpoint, configure Microsoft Entra ID (Azure portal) and collect the required values: Client secret, Certificate thumbprint, Certificate file, Tenant ID, Client ID, and Subscription ID.
Go to Settings >> Configuration >> Devices.
Under the localhost device, click Add collectors/fetchers.
Select Office365 Fetcher.
Click Add.
Select Authentication mode.
Enter Subscription Id.
If you selected Public Client, enter Username.
If you selected Public Client, enter Password.

If you selected Client Secret, enter Client Secret.

If you selected Certificate, enter Certificate Thumbprint.
If you selected Certificate, upload the Certificate File (
.pem).
Enter Fetch Interval (minutes).
Select the Processing Policy that uses the Office 365 normalization policy.
Enter Tenant ID (Directory/tenant ID).
Enter Application ID (Application/client ID).
If you use a proxy, select Enable Proxy.
If proxy is enabled, enter IP/Port.
If proxy is enabled, select HTTP or HTTPS.
Click Test to validate the configuration.
Click Submit.
Verify ingestion
Use the following query to verify logs are ingested:
Confirm that events appear in the expected repository after the fetch interval (and account for the first-time 12–24 hour subscription delay).
Last updated
Was this helpful?