Sign into the Microsoft account Developer Center with your Microsoft account. This process creates a service principal that you link to from your app, and generates the client ID and secret that you send to the authorization service.ĭo this if your app accesses consumer notebooks only, or if it accesses both consumer and enterprise notebooks.
To start, you need to register an application with Microsoft. Register your application and get a client ID and secret (consumer apps)
#How to use onenote 365 registration#
OneNote will eventually support the single authentication model and app registration provided by the v2.0 app model. This article describes the auth-related processes that you're responsible for: Registering your app to get a client ID, specifying the permissions you need, and calling the authorization service to sign users in and get an access token.ĭepending on your platform, you might be able to use an SDK to simplify the auth flows. All requests to the OneNote API must include a valid access token in the Authorization header. Microsoft account is used to access consumer notebooks on OneDrive, and Azure AD is used to access enterprise notebooks on Office 365.īoth authorization services implement the OAuth 2.0 protocol to provide the access tokens that are required to interact with OneNote. Before you can access notebooks, you first need to authenticate using Microsoft account or Azure AD and get an access token. OneNote uses Microsoft account (formerly Live Connect) and Azure Active Directory to provide secure access to OneNote notebooks. Applies to: Consumer notebooks on OneDrive | Enterprise notebooks on Office 365