Dec 21 2021
10:32 PM
- last edited on
Apr 01 2022
09:29 AM
by
TechCommunityAP
Dec 21 2021
10:32 PM
- last edited on
Apr 01 2022
09:29 AM
by
TechCommunityAP
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 added the Service Prinipal to "Security Administrators" role in Azure.
But still we are not able to execute "Search-UnifiedAuditLog" from powershell when we interactively login to Powershell using cerfiticate based authentication. The module ExchangeOnlineManagement loads but it does not recognized the Search-UnifiedAuditLog.
Dec 21 2021 11:57 PM
Dec 22 2021 05:49 AM