You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the requests started to failing on HTTP 404 response code. The problem is with the baseUrl. GraphServiceClient::createWithRequestAdapter sets baseUrl from the second argument $nationalCloud as a (default) value https://graph.microsoft.com. The URL of the requested resource then looks like:
Then the base URL (nationalCloud) is correctly set as https://graph.microsoft.com/v1.0, but I think this method should set the baseUrl correctly by default.
The text was updated successfully, but these errors were encountered:
Hello,
after upgrading from RC14 to RC15 and updating graph initialization from:
to
the requests started to failing on HTTP 404 response code. The problem is with the baseUrl. GraphServiceClient::createWithRequestAdapter sets baseUrl from the second argument $nationalCloud as a (default) value https://graph.microsoft.com. The URL of the requested resource then looks like:
https://graph.microsoft.com/drives/<driveId>/items/<itemId>/preview
but should look like
https://graph.microsoft.com/v1.0/drives/<driveId>/items/<itemId>/preview
(notice the „/v1.0“)I've handled wrong default baseUrl by passing second argument to the createWithRequestAdapter method like this:
Then the base URL (nationalCloud) is correctly set as https://graph.microsoft.com/v1.0, but I think this method should set the baseUrl correctly by default.
The text was updated successfully, but these errors were encountered: