question

KiddomEngineering-2861 avatar image
0 Votes"
KiddomEngineering-2861 asked KiddomEngineering-2861 action

Endpoint hint in file picker for oneDrive for education.

Hi team,
From the doc, it said that we can skip auth flow if giving the right access token and corresponding url in Endpoint hint field.

I wonder if the accounts for education have the same Endpoint hint as OneDrive for business? e.g. https://contoso-my.sharepoint.com/personal/foo_contoso_onmicrosoft_com/

Thanks,
Kiddom team

microsoft-graph-sdkmicrosoft-graph-explorer
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @KiddomEngineering-2861 would you kindly share a link to the specified documentation to clarify the use case?

Regards,

Diana.

0 Votes 0 ·

Hi @DianaWanjuhi-1579
Here is the file picker SDK documentation I mentioned https://docs.microsoft.com/en-us/onedrive/developer/controls/file-pickers/js-v72/open-file?view=odsp-graph-online#advanced-options

There is a field called endpoitHint

It says

OneDrive API endpoints includes OneDrive personal, OneDrive for Business or SharePoint Online. The value of endpointHint could be api.onedrive.com for OneDrive personal, the OneDrive for Business URL or a SharePoint document library URL, ex. https://contoso-my.sharepoint.com/personal/foo_contoso_onmicrosoft_com/ or https://contoso.sharepoint.com/shared%20documents/.

It doesn't mention the OneDrive for education accounts so I am wonder if it uses the same pattern as OneDrive for business

Thanks,
Kiddom Team

0 Votes 0 ·

0 Answers