Better Support with Get-PnpTenantSite for Sites With Associated Groups #191
-
| Currently, there is no easy way to get all sites that have an associated group. You can't filter based on GroupId like you can with Get-SPOSite using -GroupIdDefined. Also, using -Detailed doesn't return the associated GUID in either GroupId or RelatedGroupId (ruling out using a where clause). The only solution I've found so far is: Get-PnPTenantSite | % {Get-PnPTenantSite -Url $_.Url}, which is very inefficient. Returning the GroupId or being able to filter based on GroupId being set would be extremely helpful. | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
| We just added it. It will be available in the 1.2.7-nightly release which will be available in a few hours from now. You can install the nightly release with Install-Module -Name PnP.PowerShell -AllowPrerelease -RequiredVersion 1.2.7-nightlyor update to the latest nightly release with Update-Module -Name PnP.PowerShell -AllowPrerelease -RequiredVersion 1.2.7-nightly | 
Beta Was this translation helpful? Give feedback.
We just added it. It will be available in the 1.2.7-nightly release which will be available in a few hours from now.
You can install the nightly release with
or update to the latest nightly release with