Open cornflowerdesign opened 7 years ago
I've used Get-PnPTenantSite to return a collection but, when looping through, StorageUsage always returns a 0
StorageUsage should result the amount of storage used by the site collection. StorageMaximumLevel works correctly.
StorageUsage always returns a 0
Connect-PnPOnline -Url "https://something.sharepoint.com" -Credentials $credential $tenantSites = Get-PnPTenantSite -Detailed -Force foreach ( $tenantSite in $tenantSites ) { $tenantSite.StorageUsage } Disconnect-PnPOnline
2.11.1701.1
Has there been any progress at all on this. Experiencing the same issue as @cornflowerdesign
It gives the correct values on PnP Version 2.27.1806.1
Reporting an Issue or Missing Feature
I've used Get-PnPTenantSite to return a collection but, when looping through, StorageUsage always returns a 0
Expected behavior
StorageUsage should result the amount of storage used by the site collection. StorageMaximumLevel works correctly.
Actual behavior
StorageUsage always returns a 0
Steps to reproduce behavior
Connect-PnPOnline -Url "https://something.sharepoint.com" -Credentials $credential $tenantSites = Get-PnPTenantSite -Detailed -Force foreach ( $tenantSite in $tenantSites ) { $tenantSite.StorageUsage } Disconnect-PnPOnline
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
2.11.1701.1
How did you install the PnP-PowerShell Cmdlets?