Description
Microsoft 365 Audit.General connector ingests **all SharePoint, Exchange, Teams, and Azure Active Directory events** from the Office 365 Management Activity API.
Data is ingested to a custom **M365AuditGeneral_CL** table with **321 columns** supporting all Office 365 record types and workloads.
**Prerequisites:** Entra ID app with Office 365 Management API permissions and Audit.General subscription.
- Declared status
- 1
- Declared author / publisher
- Marko Lauren
Declared sources
Metadata from the source file. No dependencies inferred from KQL.
Data types
Declared permissions
read and write permissions are required.
Workspace
Workspace
Office 365 Management API credentials
An Entra ID application registration with **Client ID** and **Client Secret**. The application must have **Office 365 Management APIs - ActivityFeed.Read** permission and an active subscription to the **Audit.General** content type.
Connector instructions
Content published in the repository. Refer to the original file for all parameters.
1. Register an Entra ID Application
1. Go to **Microsoft Entra ID** > **App registrations** > **New registration**
2. Name: `Sentinel-M365Audit` (or your preferred name)
3. **Supported account types**: Accounts in this organizational directory only
4. Click **Register**
5. Note the **Application (client) ID** - you'll need this later
6. Go to **Certificates & secrets** > **New client secret**
7. Add a description, set expiration, click **Add**
8. **Copy the secret Value immediately** - it won't be shown again
2. Configure API Permissions
1. In your app registration, go to **API permissions** > **Add a permission**
2. Select **Office 365 Management APIs**
3. Choose **Application permissions**
4. Select **ActivityFeed.Read**
5. Click **Add permissions**
6. Click **Grant admin consent** for your tenant
7. Verify the permission shows as **Granted**
3. Subscribe to Audit.General Content
[concat('Run this PowerShell script to subscribe to the Audit.General content type (required before data flows):
```powershell
# Replace with your values
$tenantId = ''YOUR_TENANT_ID''
$clientId = ''YOUR_CLIENT_ID''
$clientSecret = ''YOUR_CLIENT_SECRET''
$publisherId = $tenantId # Publisher identifier is your tenant ID
# Get OAuth token
$body = @{
grant_type = ''client_credentials''
client_id = $clientId
client_secret = $clientSecret
resource = ''https://manage.office.com''
}
$tokenResponse = Invoke-RestMethod -Method Post -Uri "', environment().authentication.loginEndpoint, '$tenantId/oauth2/token" -Body $body
$token = $tokenResponse.access_token
# Start subscription
$headers = @{Authorization = "Bearer $token"}
$subscribeUri = "https://manage.office.com/api/v1.0/$tenantId/activity/feed/subscriptions/start?contentType=Audit.General&PublisherIdentifier=$publisherId"
Invoke-RestMethod -Method Post -Uri $subscribeUri -Headers $headers
```')]
4. Connect the Data Connector
Provide your Entra ID application credentials below. The connector will automatically use your subscription's tenant ID for authentication and API calls.
Related content
Links established from declared identifiers and solution manifests.
Source provenance
GitHubDisplayed values come from files in Azure/Azure-Sentinel. They describe the published template, not your workspace configuration.
- Commit
629d1d3↗- Source identifier
M365AuditGeneralCCPDefinition
GSTEP / CATALOG TRACKING
Added to catalog : 16 Sept 2026 · 05:49 UTC
Last change observed : 16 Sept 2026 · 05:49 UTC