SharePoint Online: How to See Who has viewed a File?

Requirement: See who has viewed a document in SharePoint Online.

How to see who viewed a document in SharePoint?

Can we see who has viewed a file in SharePoint or OneDrive? Yes! We can track who has viewed a file in SharePoint Online with this nifty feature, “SharePoint Viewers”. To see who has viewed a document in SharePoint, do the following:

  • Go to Site Settings >> Click on “Manage Site Features” under Site Actions
  • Activate the “SharePoint Viewers” feature.
how to see who viewed a document in sharepoint

Wait for a few minutes and when hovering over a document, You’ll see the names of the people who have viewed a document!

sharepoint online see who has viewed a file

Without this feature active, SharePoint just gives you how many people have viewed a document (without telling who has viewed it!).

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

13 thoughts on “SharePoint Online: How to See Who has viewed a File?

  • Hi, what is they way to extract this data view count, any api? i want to show it in my UI for Videos. Please suggest.

    Reply
  • Can we download this report for a document library?

    Reply
  • Same questions, this seems like basic functionality that should be out of the box.

    Reply
  • I’ve activated this today, it shows as 54 users having viewed the file, but in the list there is only around 25 names. Is there a reason it cuts off? Is it possible to see all of the users who have viewd?

    Reply
  • Can we activate this using powershell?

    Reply
  • anybody knows why if the user have read only rights it doesn´t show that user?

    Reply
  • Doesn´t work on images?

    Reply
    • ¨No it dont and i have the same problem so if you find out how to do please tell.

      Reply
  • Hi Salaudeen, do you think there will be way to get a csv report of the users that have viewed pages/files using PowerShell or out of box?

    Reply
    • Same question here – would also like to know if you could tie the o365 audit log api to something in power automate or BI and cross reference that with a subset of users. If someone does not review a document within X time, send a reminder email to view this document for a compliance tracking type thing?

      Reply
  • Would you happen to have a PowerShell script that could turn this feature on for several sites (input a CSV File)?

    Reply

Leave a Reply