Unable to retrieve user's mysite URL OneDrive explorer javascript problem

348 Views Asked by At

I have some strange problem with onedrive explorer:

https://github.com/OneDrive/onedrive-explorer-js

I have configured my app credentials, have added the permissions:

Files.Read Files.Read.All offline_access profile Sites.Read.All User.Read

and get this error:

https://graph.microsoft.com/v1.0/me/drive/root?expand=thumbnails,children(expand=thumbnails(select=large)) 502 Bad Gateway

additional error text:

Unable to retrieve user's mysite URL.

I have tried with 3 different accounts.

Additionally, on graph explorer I have an error : Must be authenticated to use '/drive' syntax (It gives my profile details and nothing else) from -

https://developer.microsoft.com/en-us/graph/graph-explorer

Can somebody let me know what could be the problem?

Thank you !

1

There are 1 best solutions below

0
On

Problem is in the azure subscription, not in any of the accounts. I have created new subscription and all is fine. Seems that this use case or test cannot be done for free. Thanks for the collaboration :)