pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
990 stars 663 forks source link

Get-PnPTenantSite fails to return full details of all sites with "-Detailed" switch enabled #2536

Open stvpwrs opened 4 years ago

stvpwrs commented 4 years ago

When running Get-PnPTenantSite -Detailed the full details of all sites is not returned.

Reporting an Issue or Missing Feature

Issue.

Expected behavior

Get-PnPTenantSite -Detailed should return a object for each site in the tenant will full details.

Actual behavior

Only Url, Template, and Lcid are returned.

Url                                                                   Template                  Lcid
---                                                                   --------                  ----
https://tenant.sharepoint.com/                                        EHS#1                     1033

Steps to reproduce behavior

$adminCenterConnection = Connect-PnPOnline -Credentials (Get-Credential) -ReturnConnection -Url $adminConnectionUrl

$sites = Get-PnPTenantSite -Connection $adminCenterConnection -Detailed

Which version of the PnP-PowerShell Cmdlets are you using?

What is the version of the Cmdlet module you are running?

Name                          Version    
----                          -------    
SharePointPnPPowerShellOnline 3.18.2002.0

How did you install the PnP-PowerShell Cmdlets?

ghost commented 4 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

XabiBeltza commented 4 years ago

Any updates? This keeps happenin... More specifically, I'm trying to get the ConditionalAccessPolicy field populated...