Dear Microsoft Support,
We are encountering an issue related to OneNote access via Microsoft Graph API in our organization’s internal application.
📘 Background
Our company actively uses shared OneNote notebooks in Microsoft 365 for internal documentation and workflow coordination. An in-house application integrates with these notebooks via Microsoft Graph API to automate content creation, update existing pages, and analyze information.
Until recently, our application utilized Application permissions to access OneNote resources. However, following Microsoft's deprecation of Application-level access to OneNote content, we have migrated to using Delegated authentication (on-behalf-of users) with InteractiveBrowserCredential
and silent SSO-based authentication to minimize user disruption.
⚠️ Issue Description
SSO (silent authentication) works correctly for many users. However, several users—particularly those working on Windows Server 2016 and Windows Server 2019—consistently encounter authentication failures, requiring manual interaction each time the application attempts to access OneNote via Graph API.
We also encountered the same issue with one user on Windows Server 2022, even though SSO works for others on the same OS. These affected users are signed in with Microsoft 365 accounts and use two-factor authentication (MFA). In some cases, users do not have direct access to their passwords due to company policy, and authentication is handled by our IT department.
Diagnostics show the following in affected environments:
-
WamDefaultSet: ERROR
during token acquisition
Failure of InteractiveBrowserCredential
with error: User canceled authentication
even though the user has an active session in Edge/Office
AzureADJoined
state may vary, but SSO works on some machines even when it is NO
✅ What Works
The same application and authentication flow succeed for most users.
Users on some Windows Server 2022 environments successfully authenticate silently.
🔍 What We Need
Is there any way to obtain an exception or enable Application-level access to OneNote for our tenant or registered application?
If Application permissions are not possible:
Could the inconsistent SSO behavior be related to Azure AD user/device configuration, Conditional Access, PRT/WAM state, or specific domain policies?
Are there any recommended configurations or prerequisites that ensure consistent silent authentication via WAM/PRT on server-based environments?
We would appreciate your guidance on how to proceed, including any known limitations of WAM or MSAL authentication under Windows Server editions.
We are ready to provide logs, test results, and user environment details if required.
Thank you for your assistance.Dear Microsoft Support,
We are encountering an issue related to OneNote access via Microsoft Graph API in our organization’s internal application.
📘 Background
Our company actively uses shared OneNote notebooks in Microsoft 365 for internal documentation and workflow coordination. An in-house application integrates with these notebooks via Microsoft Graph API to automate content creation, update existing pages, and analyze information.
Until recently, our application utilized Application permissions to access OneNote resources. However, following Microsoft's deprecation of Application-level access to OneNote content, we have migrated to using Delegated authentication (on-behalf-of users) with InteractiveBrowserCredential
and silent SSO-based authentication to minimize user disruption.
⚠️ Issue Description
SSO (silent authentication) works correctly for many users. However, several users—particularly those working on Windows Server 2016 and Windows Server 2019—consistently encounter authentication failures, requiring manual interaction each time the application attempts to access OneNote via Graph API.
We also encountered the same issue with one user on Windows Server 2022, even though SSO works for others on the same OS.
These affected users are signed in with Microsoft 365 accounts and use two-factor authentication (MFA). In some cases, users do not have direct access to their passwords due to company policy, and authentication is handled by our IT department.
Diagnostics show the following in affected environments:
WamDefaultSet: ERROR
during token acquisition
Failure of InteractiveBrowserCredential
with error: User canceled authentication
even though the user has an active session in Edge/Office
AzureADJoined
state may vary, but SSO works on some machines even when it is NO
✅ What Works
The same application and authentication flow succeed for most users.
Users on some Windows Server 2022 environments successfully authenticate silently.
🔍 What We Need
Is there any way to obtain an exception or enable Application-level access to OneNote for our tenant or registered application?
If Application permissions are not possible:
Could the inconsistent SSO behavior be related to Azure AD user/device configuration, Conditional Access, PRT/WAM state, or specific domain policies?
Are there any recommended configurations or prerequisites that ensure consistent silent authentication via WAM/PRT on server-based environments?
We would appreciate your guidance on how to proceed, including any known limitations of WAM or MSAL authentication under Windows Server editions.
We are ready to provide logs, test results, and user environment details if required.
Thank you for your assistance.