Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

Business Central API - grant admin consent error

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 68,533 Super User 2024 Season 2 on at
    Business Central API - grant admin consent error

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,126 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans