Forum Discussion
Bhavpreet Bains
Oct 09, 2018Iron Contributor
OneDrive list of admin
Hello, We have a user who was accidentally added as site collection admin to various OneDrive accounts. Is it possible to pull a list of all site collection admin for all OneDrive accounts? I...
Bhavpreet Bains
Oct 09, 2018Iron Contributor
is there a script or cmdlet that I can use?
VasilMichev
Oct 10, 2018MVP
Yes, you can use the Search-UnifiedAuditLog cmdlet: https://docs.microsoft.com/en-us/powershell/module/exchange/policy-and-compliance-audit/search-unifiedauditlog?view=exchange-ps