Tag Archives: Owner

Get all SharePoint and Teams sites owners report with PowerShell

This PowerShell script pulls all tenant sites and all sites owners. The script require app authentication with Sites.FullControl.All and Directory.Read.All permissions. PnP.PowerShell for PowerShell 7 is used. The script generates two reports Here is the script: Source code: https://github.com/VladilenK/Manage-m365-with-PowerShell