An API that connects multiple Microsoft services, enabling data access and automation across platforms
- No. The Microsoft Graph OneNote API does not support app-only authentication. The documentation states that the OneNote API requires delegated permissions, and the OneNote API overview states that app-only authentication is not supported.
- No supported exception is documented for enterprise tenants. The OneNote API overview says the API does not support app-only authentication, and the newer overview states that support for app-only authentication ends effective March 31, 2025 and recommends delegated authentication.
- Yes. Delegated authentication is the supported model for OneNote API access.
- The supported fact is that delegated authentication is required. The provided material does not document a specific recommended background-service pattern using a designated user,
offline_access, and stored refresh tokens, so that architecture cannot be confirmed here. - Under delegated access, the app can access OneNote data that the signed-in user can access. The documentation states:
- delegated permissions allow access to the signed-in user’s OneNote data
-
meis for OneNote content that the current user can access, including owned and shared content -
users/{id}is for OneNote content that the specified user has shared with the current user - the delegated permission description for OneNote is “Read all OneNote notebooks that user can access”
So, delegated access does not grant unrestricted tenant-wide access to other users’ notebooks. It is limited to notebooks the signed-in user already has access to.
For fully unattended OneNote ingestion using only application identity, no Microsoft-supported OneNote API architecture is documented here, because app-only authentication is not supported for the OneNote API.
References: