The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
Please note that we're not Microsoft Support or product team, this is a user-to-user community forum. Moderators here don't have access to user environment or Microsoft's backend systems, so we can only provide guidance based on public documentation and community experience.
From my findings, I am not aware of any publicly documented one-to-one replacement for the deprecated/me/drive/sharedWithMe API that fully reproduces the same user-centric shared content aggregation experience. Some Microsoft documentation and community discussions point developers toward Microsoft Search APIs, but I have not found documentation describing an equivalent architecture that guarantees identical behavior, results, or performance.
You may also find it useful to review the workaround approach shared by Jonas H in this thread. However, this is a community-provided workaround, not an officially documented replacement from Microsoft.
In addition, other users have already submitted feedback requesting guidance and an alternative solution for this deprecation. If this scenario affects your application, consider upvoting the existing feedback item to help increase its visibility with the product team: Suggest a workaround for /me/drive/sharedWithMe · Community.
Thank you for your understanding.
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.