Site object does not contain Usage property so export fails
mblennegard opened this issue · 3 comments
mblennegard commented
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.
ValerasNarbutas commented
@pkbullock i can investigate and fix if required
willobar commented
I am having the same issue.