anandthearchitect.com
SharePoint Online: Get Site Owners list from all Sites
I have been asked to get list of all explicit user accounts and group with site owner permissions for all sites. I wrote a script using Get-SPOSite, Get-SPOUsers and Get-SPOGroup commands. To make…