This guide describes how to set up an App Registration in Microsoft Entra ID so DocuNote can publish documents to SharePoint Online.
The external publishing module supports SharePoint Online with modern authentication. Users can now publish, republish, and unpublish documents to SharePoint Online. This integration requires an Azure App Registration with proper permissions.
To use SharePoint Online publishing, an Azure App Registration must be created with the following delegated permissions (scopes) for Microsoft Graph.

DocuNote SP External Publish
https://login.microsoftonline.com/common/oauth2/nativeclient

| Permission | Type | Description |
|---|---|---|
Files.ReadWrite.All |
Delegated | Have full access to all files user can access |
offline_access |
Delegated | Maintain access to data you have given it access to |
openid |
Delegated | Sign users in |
profile |
Delegated | View users' basic profile |
Sites.Read.All |
Delegated | Read items in all site collections |
User.Read |
Delegated | Sign in and read user profile |


<aside> ⚠️
This App ID is what DocuNote needs. Enter it in the SharePoint external publishing setup in DocuNote, otherwise DocuNote cannot sign in to SharePoint Online.
</aside>