pnp / PnP-PowerShell

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

StorageUsage always returns a 0 #678

Open cornflowerdesign opened 7 years ago

cornflowerdesign commented 7 years ago

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?

codespartan128 commented 6 years ago

Has there been any progress at all on this. Experiencing the same issue as @cornflowerdesign

arjancornelissen commented 6 years ago

It gives the correct values on PnP Version 2.27.1806.1