External Shared Folder (through different tenant) not showing up when "/sharedWithMe?allowexternal=true" request is made.

Sooraj Singh 1 Reputation point
2021-09-28T11:02:55.05+00:00

Supposing there are two tenants (A and B) and tenant B is sharing a folder to tenant A. Tenant A recieves a link in his email where he/she can perform one time verification action by entering the otp. After this, if tenant A makes a graph api request to "https://graph.microsoft.com/v1.0/me/drive/sharedWithMe?allowexternal=true", This should return the aforementioned shared folder, according to the docs. However, it is not being listed in the response that i'm getting.

Note: I've assigned the necessary permissions on my AAD

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,315 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MichaelHan-MSFT 18,021 Reputation points
    2021-09-29T09:17:38.37+00:00

    Hi @Sooraj Singh ,

    Per my test, the graph api works for me. I could see the shared folder and files in the response.

    Also, the folders and files will be in the shared with me folder in your onedrive.

    136282-image.png


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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.

    0 comments No comments