About getting the sharepoint site usage report

Calvin Chu 21 Reputation points

Dear All,

Is it possible to get this site usage report through calling the API?

I tried the API 'getSharePointSiteUsageDetail', and the excel file is not what I want.

I would like to have a excel report like I downloaded from page 'Site usage analysis' through the button 'Download 90 day site usage data', it shows the number of unique viewers and site visits in 90 days.

Anyone can help? Thank you

A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,041 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,591 questions
{count} votes

Accepted answer
  1. MichaelHan-MSFT 18,021 Reputation points

    Hi @Calvin Chu ,

    As far as I know, there is no such API to get site usage report as you want in SharePoint. Download it through UI is your only option currently.

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

1 additional answer

Sort by: Most helpful
  1. Calvin Chu 21 Reputation points

    To supplement more details:

    What I want:


    What I got through API 'getSharePointSiteUsageDetail':


    0 comments No comments