Hi Guys.
I'm trying to set up a connection between my wazuh 4.3.5 node and my o365 tenant, i've followed the steps from this tutorial:
i've set up the application and get the data(attachment1)
i've configured the secret(attch2)
i've set up the correct permisison(attch3)
i've put all togheter and restart the manager:
<office365>
<enabled>yes</enabled>
<interval>10s</interval>
<curl_max_size>10M</curl_max_size>
<only_future_events>yes</only_future_events>
<api_auth>
<tenant_id>1dc064f4-***************************</tenant_id>
<client_id>57fd6c00-***************************</client_id>
<client_secret>rV.8Q***************************</client_secret>
</api_auth>
<subscriptions>
<subscription>Audit.AzureActiveDirectory</subscription>
</subscriptions>
</office365>
but when go to check logs on ossec.log, this error pop up:
Exception: Microsoft.Office.Compliance.Audit.DataServiceException: Tenant 1dc064f4-.............................. does not exist
i don't get what i'm doing wrong.
Thanks if you could help, have a nice day.