Nov 11 2020 05:08 AM
We have an issue and need to get a list of all secondary owners for all OneDrive URLs.
I've been playing around with
get-spouser -site https://domain-my.sharepoint.com/personal/User_domain_com | Where-Object {$_.IsSiteADmin -eq ‘True’} | FL
Which returns the people but not sure how to get on all accounts and return URLs & Admins.
Any help would be great!!
Nov 11 2020 08:59 AM
Use the Get-SPOSite/Get-SPOSiteGroups as needed.
Nov 13 2020 01:42 AM
@Vasil Michev Thanks but Get-SPOSite doesnt include secondary owners