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