What is the Microsoft Graph API replacement for deprecated Recent, SharedWithMe, and Insights APIs?
The user is seeking officially supported Microsoft Graph API replacements for deprecated endpoints. They need to retrieve recently accessed files, files shared with the user, and files from both OneDrive and SharePoint. Currently, they use GET /me/drive/recent, GET /me/drive/sharedWithMe, and GET /me/insights/used. These endpoints are slated for deprecation, with some ceasing to return data after November 2026. The user is requesting clarification on the official replacements for each of these APIs. They are also inquiring if a single Graph API exists that can consolidate recently used and shared files from both OneDrive and SharePoint. The primary goal is to find a stable, long-term solution, not a temporary workaround. Expert guidance from the Microsoft Graph community or Microsoft employees is highly desired.