Skip to main content



No record found.

Power Platform integration forum

API and Redirect URI

Posted on by 3,962



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 - - 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.

  • RE: API and Redirect URI

    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:

    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.

  • RE: API and Redirect URI

    have you already registered in Azure?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,986 Super User

Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Product updates

Dynamics 365 release plans