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

Hirdesh Baghel 20 Reputation points
2023-09-13T09:17:56.72+00:00

Hi
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

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,628 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,901 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,446 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChengFeng - MSFT 5,020 Reputation points Microsoft Vendor
    2023-09-14T06:19:24.9266667+00:00

    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.

     

    feedback
    https://feedbackportal.microsoft.com/feedback/


    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


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.