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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 47 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
Pallavi Phade Profile Picture

Pallavi Phade 32

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans