Recent API is not Working Microsoft Graph

Dipika Das 141 Reputation points


I'm using API to get the recent API files, it's returning data. But the problem is when I'm comparing the returned data with my OneDrive->Recent it's totally different. Can anyone tell exact which used to get records from OneDrive->Recent so I can use the same ? It would be very appreciated

Thanks in Advance

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 38,031 Reputation points

    Hi @Dipika Das

    I can reproduce your question, and the api endpoint returns all driveitem collections instead of recently opened files.

    As the case would need additional troubleshooting. I would advise you to raise a support case with Microsoft Graph, a specialized Support Engineer will be able to assist you better.

    You can raise technical support request from: or

    Hope this helps.

    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.