Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Site object does not contain Usage property so export fails #528

Open
mblennegard opened this issue May 15, 2023 · 2 comments
Open

Site object does not contain Usage property so export fails #528

mblennegard opened this issue May 15, 2023 · 2 comments
Labels
sample issue Reported issue with the sample

Comments

@mblennegard
Copy link

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 pkbullock added the sample issue Reported issue with the sample label May 19, 2023
@ValerasNarbutas
Copy link
Contributor

@pkbullock i can investigate and fix if required

@willobar
Copy link

willobar commented Nov 9, 2023

I am having the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sample issue Reported issue with the sample
Projects
None yet
Development

No branches or pull requests

4 participants