Error while granting access - Enterprise Application - OneNote

Migration 0 Reputation points
2023-01-31T15:40:23.5533333+00:00

Hi All.

I tried to grant access via Enterprise Application in Azure for third party migration tool Quest On Demand, but getting this error message: The app is trying to access a service 'xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx'(OneNote) that your organization 'xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx' lacks a service principal for. Contact your IT Admin to review the configuration of your service subscriptions or consent to the application in order to create the required service principal.

The same issue is described and screenshot at the following link found on google: https://learn.microsoft.com/en-us/answers/questions/903606/unable-to-grant-admin-consent-for-onenote-apis-for I tried with the following support articles: https://learn.microsoft.com/en-us/previous-versions/office/office-365-api/how-to/onenote-auth https://learn.microsoft.com/en-us/previous-versions/office/office-365-api/how-to/onenote-auth-appperms

I'm providing screenshots for the issue:01Screenshot_1.jpg1.OneNote_issue.png02Screenshot_2.jpg03Screenshot_3.jpg04Screenshot_4.jpg05Screenshot_5.jpg06Screenshot_6.jpg

Also, I tried to change the subscription directory based on the article: https://learn.microsoft.com/en-ca/azure/active-directory/fundamentals/active-directory-how-subscriptions-associated-directory but still no luck.

Just want to point out that I granted consent for Graph with no issues. The only one that having issues is OneNote.

Any help would be much appreciated.

Thanks.

OneNote Management
OneNote Management
OneNote: A family of Microsoft products that enable users to capture, organize, and reuse notes electronically.Management: The act or process of organizing, handling, directing or controlling something.
171 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,489 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,473 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JimmySalian-2011 41,916 Reputation points
    2023-01-31T18:57:51.2233333+00:00

    Hi,

    As you have tried all the settings and recommendations, I will request you to recheck the permissions and allow the Enterprise Apps OneNote - https://learn.microsoft.com/en-us/previous-versions/office/office-365-api/how-to/onenote-auth-appperms

    If this does not help I will suggest you to raise a support case with Microsoft over here - https://azure.microsoft.com/en-ca/support/create-ticket/

    Hope this helps.

    JS

    ==

    Please Accept the answer if the information helped you. This will help us and others in the community as well.