Sharepoint Online Usage

Ashish Javiya-Admin 1 Reputation point
2022-02-04T11:16:40.25+00:00

Hello Techies,

I am looking for following information from SharePoint Online. Let me know if it is feasible.

  • Record of the Space Utilization for SPO ( I only see 180 days feasibility from Admin Portal )
  • Month on Month Space Utilization of the SITE collection
  • Does Graph API supports
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,446 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,300 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JanardhanaVedham-MSFT 3,536 Reputation points
    2022-02-04T12:10:32.927+00:00

    Hi @Ashish Javiya-Admin ,

    Yes, SharePoint Online Site Usage report can be fetched using this Microsoft Graph API. You can also leverage getSharePointSiteUsageStorage API to get the trend of storage allocated and consumed during the reporting period.

    GET /reports/getSharePointSiteUsageStorage(period='{period_value}')  
    

    You will be able to fetch the SPO site storage data for various durations such as 7,30, 90 or 180 days by passing the {period_value} as D7, D30, D90, and D180 using the above getSharePointSiteUsageStorage API.

    171374-image.png

    Documentation References :

    https://learn.microsoft.com/en-us/graph/api/resources/sharepoint-site-usage-reports?view=graph-rest-1.0
    https://learn.microsoft.com/en-us/graph/api/reportroot-getsharepointsiteusagestorage?view=graph-rest-1.0

    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have any further questions about this answer, please click "Comment".

    0 comments No comments