Rajesh
Rajesh 👨🏻‍💻developer, architect, consultant focussed on office 365, azure, cognitive services, and conversational ai.

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