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

Announcements

No record found.

News and Announcements icon
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

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

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

  • Suggested answer
    YUN ZHU Profile Picture
    104,157 Super User 2026 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
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 554 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 344 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 189 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans