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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Unable to grant consent for AD app with super permissions in BC with trial

(0) ShareShare
ReportReport
Posted on by 11

I created a trial account Business Central account and am trying to set up api access using an AAD app.

I'm using the below guides to set this up

https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/automation-apis-using-s2s-authentication

https://www.kauffmann.nl/2021/07/06/service-to-service-authentication-in-business-central-18-3-how-to-set-up/

On the AAD side, I was able to create the app and grant consent there.

I believe the step I'm missing is the "Grant Consent" step in Business Central itself.  I cannot grant consent though - the button is disabled.  This is true for both myself (I have been granted all permissions) and for our main admin, who has all permissions.  Specifically, I can see in AAD on the "Assigned Roles" page for my user I can see that I have "Global Administrator" and "Application Administrator" (and many more).

So how do grant consent in this case?

pastedimage1676311809949v1.png

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    Have you tried to delete the AAD App in BC and re create it?

  • Suggested answer
    YUN ZHU Profile Picture
    95,329 Super User 2025 Season 2 on at

    Hi, As far as I know, you don't need to click Grant Consent in BC.
    Below are the steps I tested, I hope it can give you some hints.

    https://yzhums.com/20690/

    Thanks.

    ZHU

  • Suggested answer
    ddrudge Profile Picture
    11 on at

    Ok, it looks like I had missed a warning when configuring my test app:

    "Starting November 9th, 2020 end users will no longer be able to grant consent to newly registered multitenant apps without verified publishers."

    I switched it to a single tenant, then "Grant Consent" became available.  It looks like I could have added an MDN publisher ID too, but I don't think that is available for a trial account.  Anyways, I can use the BC API now.

  • Suggested answer
    Marco Mels Profile Picture
    on at

    Thank you for sharing final outcome. Great work you resolved the issue!

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

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 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans