Reputation: 1
MS Graph Explorer - query for OneDrive Business Account is failing
-More info found on the following github issue: https://github.com/OneDrive/onedrive-api-docs/issues/1099
-Contacted Office 365 support who referred me here. Microsoft support case: 15301860
MS Graph explorer query:
Expected Behavior:
The item query should return objects.
Actual Behavior:
OneDrive responds with a 404 error - when it should return with valid data that exists.
Upvotes: 0
Views: 165
Reputation: 4202
When Graph makes a call to SharePoint to fulfill a /v1.0/drives
request it hits the tenant host, where as it will hit the personal site host for /v1.0/me/drive
. As a result of this, the /v1.0/drives
scenario can fail if the tenant's root site is inaccessible which looks like what you're seeing.
I will mention that we're investigating improving this experience, so hopefully in the future you won't hit a failure for this scenario.
Upvotes: 0