Hi,
I completed the steps in the link below. I also entered the settings below in the manager config section.
https://documentation.wazuh.com/current/cloud-security/office365/monitoring-office365-activity.html#setting-up-office-365-for-monitoring <office365>
<enabled>yes</enabled>
<interval>1m</interval>
<curl_max_size>100M</curl_max_size>
<only_future_events>yes</only_future_events>
<api_auth>
<tenant_id>xxxxxxxxxxxxxx</tenant_id>
<client_id>
xxxxxxxxxxxxxx </client_id>
<client_secret>
xxxxxxxxxxxxxx </client_secret>
<api_type>commercial</api_type>
</api_auth>
<subscriptions>
<subscription>Audit.SharePoint</subscription>
<subscription>Audit.AzureActiveDirectory</subscription>
<subscription>Audit.Exchange</subscription>
<subscription>Audit.SharePoint</subscription>
<subscription>Audit.General</subscription>
<subscription>DLP.All</subscription>
</subscriptions>
</office365>
However, I am receiving the errors below:
Rule.id: 91648
Office 365 module internal event, 3 request fail.
{"error":{"code":"StartSubscription [CorrId=xxxxxx][TenantId=xxx,ContentType=Audit.AzureActiveDirectory,ApplicationId=xxx,PublisherId=00000000-0000-0000-0000-000000000000][AppId","message":"xxxx] failed. Exception: Microsoft.Office.Compliance.Audit.DataServiceException: Tenant xxxxx does not exist.\r\n at Microsoft.Office.Compliance.Audit.API.AzureManager.<GetSubscriptionAzureTableClientForTenantAsync>d__84.MoveNext() in C:\\__w\\1\\s\\sources\\dev\\AuditAPIService\\Common\\AzureManager.cs:line 3930\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Office.Compliance.Audit.API.AzureManager.<GetAPISubscriptionV2Async>d__30.MoveNext() in C:\\__w\\1\\s\\sources\\dev\\AuditAPIService\\Common\\AzureManager.cs:line 959\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Office.Compliance.Audit.API.StartController.<StartSubscription>d__4.MoveNext() in C:\\__w\\1\\s\\sources\\dev\\AuditAPIService\\APIFrontEndServiceRole\\Controllers\\StartController.cs:line 177"}}
15 Ocak 2026 Perşembe tarihinde saat 16:28:39 UTC+3 itibarıyla Nicolas Stefani şunları yazdı: