pnp/script-samples

Site object does not contain Usage property so export fails

mblennegard opened this issue · 3 comments

The script at https://github.com/pnp/script-samples/tree/main/scripts/spo-export-site-usage-reports fails.
When checking it seems that the Site object (stored in the $Reports variable) does not contain the Usage property.

Has something changed between PnP.PowerShell versions?
I have tested with PnP.PowerShell 1.12.0 and PnP.PowerShell 2.1.1, but same thing.

@pkbullock i can investigate and fix if required

I am having the same issue.