SharePoint 2019 Popular trends not generating

Mayank Bhargava 21 Reputation points
2022-09-22T06:14:05.873+00:00

Popular trends are showing zero as shown in below screenshot of the same.
Also I have checked all the three SharePoint Usage timer jobs are working fine as shown in the below screenshots.

Please note that I don't have any office online server setup for SP2019 on premises.

Actually my requirement is to pull most viewed documents programmatically and display but I think before I can do that programmatically first popular trends should generate data

243802-populartrends.png243811-populartrends-timerjobs.png

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint Server | Development
{count} votes

Accepted answer
  1. Tong Zhang_MSFT 9,251 Reputation points
    2022-09-23T02:57:07.467+00:00

    Hi @Mayank Bhargava ,

    According to my research and testing, please try to do a troubleshooting, check if the instantiation usage receiver is missing, you can run the following PowerShell to get information about the event receiver:

    $aud = Get-SPUsageDefinition | where {$_.Name -like "Analytics*"}  
    $aud | fl  
    $prud = Get-SPUsageDefinition | where {$_.Name -like "Page Requests"}  
    $prud | fl  
    

    244054-image.png

    Please check the EnableReceivers, if both are false, it means that the event receivers are disabled. We have to enable the Enable the both Event Receivers, and attache it to Usgae service application in the Content Farm. Please follow the steps in the following document:

    https://social.technet.microsoft.com/wiki/contents/articles/51478.sharepoint-2016-popularity-trends-and-usage-data-return-no-results.aspx
    (Note: Please note the last sentence in the document , it needs to wait 24 hours.)

    Hope it can help you. Thanks for your understanding.

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.