Forum Discussion
DBAAbhi2021
Dec 22, 2021Copper Contributor
Need help with Unattended Search-UnifiedAuditLog
We have a requirement to pull Audit Logs on daily basis through a job unattended. We have installed ExO and configured a Service Principal and given the API permission(Exchange.ManageAsApp). We ...
VasilMichev
Dec 22, 2021MVP
The cmdlet works fine with CBA, make sure the SP is a member of Organization Management
or Records Management though. Or use the management activity API for that: https://docs.microsoft.com/en-us/office/office-365-management-api/get-started-with-office-365-management-apis
or Records Management though. Or use the management activity API for that: https://docs.microsoft.com/en-us/office/office-365-management-api/get-started-with-office-365-management-apis