question

AmitSingla-1526 avatar image
0 Votes"
AmitSingla-1526 asked AmitSingla-1526 answered

How to use OneDrive FilePicker API to open files from webapp

I have been trying to integrate Microsoft OneDrive FilePicker in our web application.
The purpose of the FilePicker is for the users to select and get(download) the selected File from OneDrive file picker.
I have been going through the instructions mentioned here: https://docs.microsoft.com/en-us/onedrive/developer/controls/file-pickers/js-v72/open-file?view=odsp-graph-online
I have registered new application (Amit-ADP) in Azure under this: https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade
with my personal account: amitsingla24@gmail.com

But even after following the instructions, I am getting the following error:
invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application.

azure-ad-microsoft-account
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.

1 Answer

AmitSingla-1526 avatar image
0 Votes"
AmitSingla-1526 answered

Can someone please advise ?
Looks like some required approval workflow settings are missing in the app: "Amit-ADP" I created/registered in ApplicationsListBlade.

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.