How to use OneDrive FilePicker API to open files from webapp

Amit Singla 1 Reputation point
2021-06-22T21:44:29.323+00:00

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://learn.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@Stuff .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 Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,657 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amit Singla 1 Reputation point
    2021-06-23T13:28:34.217+00:00

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

    0 comments No comments