-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: "ApplicationID does not exist" #1
Comments
Worked on this a bit more and it seems like there's some kind of permissions issue with the Subscriptions API on the service side that I can't resolve. Unless I'm missing something it appears that the webhook API is in an "unhealthy state" at the moment and just plain doesn't work. I guess this means we're going to have to drop OneNote support for our project and just go with the other file sync services for now. I'll check back in a while to see if this sample has been updated and will give it another try then. |
I am in the same place. |
getting the exception at line 39 of subscription file. Can you please fix it and update the sample ? [OneDriveException: Exception of type 'Microsoft.OneDrive.Sdk.OneDriveException' was thrown.] |
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 ofitemNotFound
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
", andRedirect URL
values in application settings.The text was updated successfully, but these errors were encountered: