[BUG] Get-PnPSite Bandwitdth Hits Visits Always Zero
eporting an Issue or Missing Feature
I am reporting a bug
Expected behavior
I was expecting to get some real figures in Hits and Visits when running Get-PnPSite -Includes Usage,
$site = $site = Get-PnPSite -Connection $siteConnection -includes Usage
$site.Usage | fl *
Bandwidth : 123
DiscussionStorage : 0
Hits : 5435543
Storage : 9682221
StoragePercentageUsed : 0.00180345419794321
Visits : 53253
TypeId : {7ec28504-35f9-4fcf-a09f-401024417292}
Actual behavior
I am getting zeros for every Usage property except Storage when running Get-PnPSite -Includes Usage
image
Steps to reproduce behavior
Connect-PnPOnline
$site = Get-PnPSite -Connection $siteConnection -includes RootWeb, Usage
$site.Usage | fl *
What is the version of the Cmdlet module you are running?
Get-Module PnP.PowerShell -ListAvailable | fl Name, Version, PreRelease
Name : PnP.PowerShell
Version : 1.2.4
Which operating system/environment are you running PnP PowerShell on?
[x ] Windows
Linux
MacOS
Azure Cloud Shell
Azure Functions
Other : please specify
References:
https://github.com/pnp/powershell/issues/182
https://github.com/pnp/PnP-PowerShell/issues/3034
