web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

OAuth 2.0 Client Credential | "You do not have the following permissions on Page APIV1 - Customers: Execute." Error

(0) ShareShare
ReportReport
Posted on by 10

I am new to Business Central and I have an API that needs to consume Business Central API.

I have setup the application in Azure AD and also setup the created app in Azure in Business central.

However, whenever I am invoking an API in BC using the token I receive from "https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token" endpoint I am getting an error.

I am not sure what permission I need to assign to the registered application. I have assigned Admin, Full access and Super but no luck.

Error:

{
"error": {
"code": "Internal_ServerError",
"message": "You do not have the following permissions on Page APIV1 - Customers: Execute.\r\n\r\nTo view details about your permissions, see the Effective Permissions page. To report a problem, refer to the following server session ID: '295'. CorrelationId: 81c53d83-6843-4da9-8251-2f1980ef2ad4."
}
}

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    You are right, sometimes the error messages are not that clear. Glad that you figured it out though and shared it with the community.

    Thanks.

  • Suggested answer
    eman_calma Profile Picture
    10 on at

    Hi Marco,

    Thanks for your response. I have already figured it out.

    I figured that our Business Central staging was running at version 8.2 and oAuth2.0 implementation only runs on version 8.3.

    The permission error was misleading though.

  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    Does this work when using tools like Postman?

    Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,594

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,594

#3
YUN ZHU Profile Picture

YUN ZHU 748 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans