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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

API and Redirect URI

(0) ShareShare
ReportReport
Posted on by 8

Hello,

 

I am not sure if this is even the right place to ask this but still believe that there are lots of experts who might help me.

I am setting up API call with OAuth2 from Business Central but the API does not allow the redirect to any site on BC itself (to retrieve authorization code) and I need to find a URI outside of BC. The URI which is used by custom connectors of Power Apps - https://global.consent.azure-apim.net/redirect - can this be usable in such cases? Calling this API from Power Apps using a custom connector was successful and I wonder if I can also use this to call API from Business Central. I tried so many times but only got the error saying

"{"Message":"The request is invalid.","ModelState":{"consentInfo":["No consent server information was associated with this request."]}}" and maybe something is missing or this is not possible at all.

 

If anybody knows how to resolve this issue, please advise.

Thank you.

I have the same question (0)
  • Power Platform Communities Profile Picture
    8 on at

    have you already registered in Azure?

  • Power Platform Communities Profile Picture
    8 on at

    My colleague found that the page OAuthLandig.htm can be accessible at both the cloud version and the on-premise version of Business Central:

    Cloud version:   https://businesscentral.dynamics.com/(tenant)/(environment)/OAuthLanding.htm

    On-premise version:   https://(server)/(instance)/OAuthLanding.htm  

    So the http request can be redirected back to Business Central and another redirect site including that of Azure is not necessary.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 172

#2
ManoVerse Profile Picture

ManoVerse 58 Super User 2026 Season 1

#3
Niki Patel Profile Picture

Niki Patel 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans