PnP command Get-PnPSite -includes Usage always returns 0 for Bandwidth, Hits, Visits, although it does retrieve data for Storage and StoragePercentageUsed
It also shows Visits and Unique visits on SharePoint site itself:
An issue has been reported on Stackoverflow sometime ago already.
Reporting an Issue or Missing Feature
I am reporting a bug
Expected behavior
Actual behavior
PnP command
Get-PnPSite -includes Usage
always returns 0 forBandwidth
,Hits
,Visits
, although it does retrieve data forStorage
andStoragePercentageUsed
It also shows Visits and Unique visits on SharePoint site itself: An issue has been reported on Stackoverflow sometime ago already.
Steps to reproduce behavior
$PnPConnection = Connect-PnPService -Url $SitesPrivateChannelsExternal[-1].Url
$siteDetails = Get-PnPSite -Includes Usage
$siteDetails.Usage
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing
Get-Module -Name sharepointpnppowershell* -ListAvailable
) Name : PnP.PowerShell
Version : 0.3.10
How did you install the PnP-PowerShell Cmdlets?