-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OneDrive Business Shared Folders: Unable to sync shared folders, shared from outside organisation #1301
Comments
Thank you for your contribution to OneDrive API Docs. We will be triaging your incoming issue as soon as possible. |
Thanks for your feedback.
|
@chackman |
* Add first part fix from OneDrive/onedrive-api-docs#1301
@chackman To get the default tenant (my tenant to compare), I had to utilise I was wondering, to fully query an external tenant + using external auth token in the manner above, with the following query:
Is there any additional auth scopes required which I may be missing? Current auth scopes in use are:
That same query, for OneDrive Business Shared Folders inside an organisation (same tenant) generates zero issue - query / response is successful. |
@chackman . @ificator
So the 'scopes' are being dropped, thus, this is why I am getting the 403 'Access Denied' when I try and use the 'access_token' provided by Tenant B for User A, using passed in 'refresh_token' Are these steps 'correct' as per #1296 ... or is something missing here? |
Please ask your question about auth scopes to the AAD team:
|
This issue has been automatically marked as stale because it has marked as answered but has not had any activity for 10 days. It will be closed if no further activity occurs within 10 days of this comment. Thank you for your contributions to OneDrive API Docs! |
Category
Expected or Desired Behavior
The response of
https://graph.microsoft.com/v1.0/me/drive/sharedWithMe
should provide all resources shared with me, not just objects from my organisation.Observed Behavior
Shared folders, shared with you from people outside of your 'organisation' are unable to be synced. This is due to the Microsoft Graph API not presenting these folders.
Shared folders that match this scenario, when you view 'Shared' via OneDrive online, will have a 'world' symbol as per below:
Observed API Response:
Steps to Reproduce
https://graph.microsoft.com/v1.0/me/drive/sharedWithMe
and the external shared resource is not available.The text was updated successfully, but these errors were encountered: