-
Notifications
You must be signed in to change notification settings - Fork 12
Description
I can't seem to get the sample to work and need some help. I followed the instructions to setup ngrok
and configured a new application in the Developer Center to get OneDrive personal working.
Clicking OneDrive Personal to login threw an error saying that a redirect url doesn't match settings. So I after reading through the API docs a bit I tried entering: http://localhost:52026/Account/Redirect
as a RedirectURL on the API settings tab in Developer Center. This let's me authenticate successfully and I am taken to WebHooks view.
Clicking "Create Subscription" throws an exception.
I added some try/catch blocks to SubscriptionController
and was able to determine that the first API call that is made on line 39 throws a OneDriveException with an Error.code of itemNotFound
and an Error.Message of "The Application ID does not exist"
.
I've triple-checked that the ida:MsaAppId
appSettings value matches the one from the Microsoft account Developer Center. I've even tried deleting the application, recreating it. Same error no matter what I try.
It would really help if the documentation included examples of what to enter for "Target Domain
", "JWT Reissuing
", and Redirect URL
values in application settings.