About getting the sharepoint site usage report

Calvin Chu 21 Reputation points
2021-07-12T02:45:03.36+00:00

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

SharePoint
SharePoint
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
    2021-07-13T06:49:11.89+00:00

    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
    2021-07-12T02:58:15.277+00:00

    To supplement more details:

    What I want:

    113609-capture2.png

    What I got through API 'getSharePointSiteUsageDetail':

    113580-capture3.png

    0 comments No comments