Hi
The powershell script giving me error filter is not supported. I want to get all office groups site collection associated with group template and set to preservation policy with entire url e.g.https://domain.sharepoint.com/sites/testgroup. What am I doing wrong?
Get-
Get-SPOSite-Filter {$_.template-eq"Group#0"}}-limitall
Get-SPOSite : Filtering is not supported for property $_.Template.
At line:1 char:1
+ Get-SPOSite -Filter {$_.Template -eq "Group#0"} -limit all
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-SPOSite], ServerException
+ FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerException,Microsoft.Online.SharePoint.PowerShell.GetSite