Forum Discussion
YogeshM664
Aug 28, 2026Copper Contributor
What is the Microsoft Graph API replacement for deprecated Recent, SharedWithMe, and Insights APIs?
Hi Microsoft Graph community, I'm currently working on a Microsoft Graph integration that needs to retrieve: Files recently accessed/used by the current user Files shared with the current user F...
maskwill
Aug 28, 2026Tin Contributor
There is no single 1:1 replacement.
/me/drive/recent → use Microsoft Graph Search API to search OneDrive/SharePoint content.
/me/drive/sharedWithMe → use Microsoft Graph Search API for shared files (especially work/school accounts).
/me/insights/recent / /shared / /trending → no direct replacement; redesign around Search API and/or the underlying OneDrive/SharePoint APIs.
Microsoft has deprecated drive/recent and drive/sharedWithMe, with sharedWithMe scheduled to stop returning data after November 2026.
Best migration choice: Microsoft Graph Search API for discovering files, rather than trying to find a new “Recent/Insights” endpoint.