Is there a way to pull the site storage being used by a modern team site collection and show in SPFx ? #7835
Unanswered
hsamdani12
asked this question in
Q&A
Replies: 1 comment
-
Hi, I was wondering if anyone can provide any direction for this ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've a requirement to show the Total Site Storage being used, the one you see under Site Setting -> Storage Metrics. For which only Site Collection Admin have access.
I need to extract this information and show it on the home page for all owners and members (SharePoint Modern Group connected team site)
I came across the following endpoint which shows the data in xml -
https://tenant.sharepoint.com/sites/teamsite/_api/site/usage
Is there a way to consume this in an SPFx ? Or any other graph API endpoint available ?
If there an existing sample SPFx, that would be great.
Beta Was this translation helpful? Give feedback.
All reactions