Try this:
Get-SPOSite -Identity https://tenant.sharepoint.com/sites/test1 -Detailed | select -ExpandProperty GroupId
That will return the GUID of the associated group, if you need additional details you can then use the Get-UnifiedGroup cmdlet against it.