Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Business Central API - grant admin consent error

(2) ShareShare
ReportReport
Posted on by 11
Hi,
I'm trying to grant consent to BC API for created Azure App registration and getting following error. Is it really required to have at least one /BC online/ subscription to do this? Organization has many /BC on-premise/ perpetual licenses but they aren't visible in Azure portal. I can't find any specific and clear information what is needed to use API with BC on-premise, all articles are about BC online.

  • Community member Profile Picture
    Community member 11 on at
    Business Central API - grant admin consent error
    @YUN ZHU
    I had configured AAD authentication for BC service (exactly not WS-Federation but OpenID Connect, it's BC 22.1) and I think it's not about that. Service is working, of course AAD application is created and I can login via my AAD account into BC. Any other clues?

    Maybe someone knows which step/action creates service principal for "Dynamics 365 Business Central" in Azure tenant. I would like to not buy BC online subscription especially for API but if I have to I would like to know where is official information about that and which license exactly is required. 
  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 75,595 Super User 2024 Season 2 on at
    Business Central API - grant admin consent error

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans