Graph API - No items are shared with this user

Rafael Camara 0 Reputation points
2024-03-06T15:10:57.9+00:00

Dear all,

Suddenly starting from March 4th, I began to receive the return message (No items are shared with this user). I have been using it for a few years and there have been no changes to the code. RequestUri: 'https://graph.microsoft.com/v1.0/me/drive/sharedWithMe', Version: 1.1. Does anyone know what could be the issue?

Microsoft 365 and Office SharePoint Development
Microsoft 365 and Office SharePoint For business Windows
Microsoft 365 and Office OneDrive For business Windows
Microsoft Security Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 51,836 Reputation points Microsoft External Staff
    2024-03-07T07:40:41.7466667+00:00

    Please make sure that the permission you grant is the *.All permissions, otherwise you will not be able to access shared items returned from this API.

    2

    3


    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.


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.