Hi @Waqar Farooqui
Please make sure that the permission you grant is one of the *.All
permissions, otherwise you will not be able to access shared items returned from this API.
By default, this API returns items shared within your own tenant. To include items shared from external tenants, append ?allowexternal=true
to a GET request.
GET https://graph.microsoft.com/v1.0/me/drive/sharedWithMe?allowexternal=true
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.