How can I access LastAccessedDate of Sharepoint files in Sharepoint online?

Hirdesh Baghel 20 Reputation points

I am trying to access lastAccessedDate of SharePoint files and sites. I know SharePoint provides "CreatedAt" and "ModifiedAt" columns but "ModifiedAt" column updated its value when we modified the content, but I want AccessesDate (It should update even if user view or read the item).

Is there any way to achieve this, If yes please let me know.

Thanks in advance

A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
8,106 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,271 questions
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,323 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChengFeng - MSFT 3,765 Reputation points Microsoft Vendor

    HI @Hirdesh Baghel

    Thank you for letting us know about your user experience. Based on your description of the situation, I do understand how frustrated you are right now.

    When I received this case, I looked up a lot of information and did a lot of research. I regret to inform you that there is currently no existing setup for this.


    And I noticed that some end users have also proposed the same request, it is highly recommended that you can vote this ticket. Many features of our current products are designed and upgraded based on customers’ feedback. With requirements like this increase, the problem may well be released in the future. Thanks for your understanding.



    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.

    Best Regards

    Cheng Feng