![]() To test your application locally you willĪlso need to add the local URL as a reply URL in your app's page in the Azure Management Portal. If you are using Visual Studio, build and run your application. You can get the clientId in the Azure Management You will need to specify the clientId for your app in app.js. Your app's manifest in the Azure Management Portal, set the "oauth2AllowImplicitFlow" field to true, and Has details on the implicit grant flow and how to enable in Azure. Since this web app uses OAuth 2's implicit grant flow, you shouldĮnable it in your app's manifest in Azure. You will also need to give your app Notes.ReadWrite permissions. Register your app in Azure and add permissions The Azure subscription should be associated with the Office 365 subscription.Īuthenticate using Azure AD (enterprise apps) If you would like to see a live version of this app we have an instance running on Azure that More complete web app you would probably use a framework like AngularJS, add more specific error handling, Please keep in mind that this sample is meant to illustrate how you would reach our APIs in JavaScriptĪnd does not necessarily contain all the code you would want for a production-ready application. The class notebook APIs take a look at our To learn more about ADAL you can visit its This sampleĭemonstrates the basics on how you would call these APIs using JavaScript, jQuery and ADAL for authentication. The OneNote Class Notebook APIs let you programmatically create and edit class notebooks.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |