The response after hitting the API :-
{
"error": {
"code": "itemNotFound",
"message": "Item not found",
"innerError": {
"date": "2024-06-13T05:14:24",
"request-id": "XXXXXXXXXXXXXXXXXXXXXXXXXXX",
"client-request-id": "XXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
}
}
I am unable to access the shared content through the API while i can do the same using onedrive web app.
My question :
Is access to external shares possible across tenants?
Category
I am trying to access shared folder on onedrive using https://graph.microsoft.com/v1.0/drives/{remoteItem-driveId}/items/{remoteItem-Id}/children. I am using https://graph.microsoft.com/v1.0/me/drive/sharedWithMe?allowexternal=true to get the values of {remoteItem-driveId} and {remoteItem-Id}.
ERROR
The response after hitting the API :- { "error": { "code": "itemNotFound", "message": "Item not found", "innerError": { "date": "2024-06-13T05:14:24", "request-id": "XXXXXXXXXXXXXXXXXXXXXXXXXXX", "client-request-id": "XXXXXXXXXXXXXXXXXXXXXXXXXXX" } } } I am unable to access the shared content through the API while i can do the same using onedrive web app.
My question : Is access to external shares possible across tenants?