Rajesh
Rajesh sr solutions architect @corebts | former #mvp | #ai #bots #ml #office365. Currently I'm helping my customers on modernization and successful adoption of cloud solutions.

Get-PnPUnifiedGroup - Get all Office 365 Groups in tenant

Get-PnPUnifiedGroup - Get all Office 365 Groups in tenant

Run the below script and enter tenant admin credentials when prompted. Here is the complete list of scope and permissions - https://developer.microsoft.com/en-us/graph/docs/concepts/permissions_reference#group-permissions

$scopes = @("Group.Read.All")
Connect-PnPMicrosoftGraph -Scopes $scopes
Get-PnPUnifiedGroup 

comments powered by Disqus