Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

AADSTS50011: The reply URL specified in the request does not match the reply

Posted on by 55

I have this error when I try to connect my BC test company to PowerBi.

I have tried to follow the other examples stated here at the forum, but with no luck.

Anyone who can help me where to set-up the correct reply url?

I am all new in setting up PowerBi to BC,

Best,

Jackie.

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: AADSTS50011: The reply URL specified in the request does not match the reply

    Hi,

    If you run the Assisted Setup, you can connect to Azure AD. Here you authenticate yourself. If you did run this before with incorrect PublicWebBaseUrl, it will not do it again. Then you do need to correct it in Azure portal.

    The PublicWebBaseUrl is like nav.yourdomain.com:port/.../

    In the Azure AD App, a html file is added so that the landing page will become:

    nav.yourdomain.com:port/.../OAuthLanding.htm

    The Azure AD app is called (you can find it in App Registrations in Azure Portal, All Applications):

    Microsoft Dynamics NAV Application

    Personally, I do usually add the NST instance name to it so that it does become Microsoft Dynamics NAV Application BC140, this is however not required. In my scenario I do have multiple releases running on the same box which means multiple registrations. Here you will find two reply urls. The above one and the actual PublicWebBaseUrl plus /SignIn.

    nav.yourdomain.com:port/.../OAuthLanding.htm

    nav.yourdomain.com:port/.../SignIn

    Earlier I did mention that the SignInAudience of the created AD App must be AzureADMultipleOrgs. It does however create AzureADMyOrg. You can correct that in the Azure AD App manifest file (you can retrieve that via the browser).

    Hope it does help.

    Thanks.

    Marco

  • Jackie Larsen Profile Picture
    Jackie Larsen 55 on at
    RE: AADSTS50011: The reply URL specified in the request does not match the reply

    Hi Sathish,

    I followed the 'Get started with PowerBi'. I had to have administrator to do some authorization log-in and approve the permissions. And after that I had the error message shown.

    It is BC on-premise.

    The url is; tftest.officeconnect.dk:49004/.../

    Then I tried af few editing on azure portal on the url settings.

    f.ex.

    tftest.officeconnect.dk:49004/.../OAuthLanding.htm

    tftest.officeconnect.dk:49004/.../OAuth

    tftest.officeconnect.dk:49004/.../OAuth2

    Hmmm, I have no idea how to enable Odata service. So maybe that is the case.

    Best regards,

    Jackie.

  • Sathish G Profile Picture
    Sathish G 70 on at
    RE: AADSTS50011: The reply URL specified in the request does not match the reply

    Hi Jackie,

    Please explain a few more details

    how you are trying to connect BC test with power bi..?

    BC is on-premise or Saas..?

    Mention the URL..!

    did you enable Odata service..?

    Regards,

    Sathish

    If you managed to resolve your issue, please mark all helpful answers as Verified - this would indicate to similar forum members that your issue has been solved.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans