Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '00000015-0000-0000-c000-000000000000'.

Like (2) ShareShare
ReportReport
Posted on 18 Feb 2022 03:20:43 by 67

Hi,

I'm currently create vm d365fo in lcs with Finance and Operations - Demo (10.0.24 with Platform update 48)

but when try first login to environtment geting error like image below

1738.Untitled.png

What should i do for this error?

*note:

This new environment and not any customization yet with pu48

  • AbdullahAhmed_ Profile Picture
    AbdullahAhmed_ 274 on 31 Oct 2024 at 14:13:16
    AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '00000015-0000-0000-c000-000000000000'.
    Execuse me, but I ran the first 3 commands using Azure powershell successfully 
    $AADTenant = <Value of Aad.TenantDomainGUID from web.config>
    $EnvironmentUrl = <Value of Infrastructure.HostUrl from web.config>
    
    # For example, if value is spn:fd663e81-110e-4c18-8995-ddf534bcf5e1 then take only fd663e81-110e-4c18-8995-ddf534bcf5e1
    $AADRealm = <Value of Aad.Realm from web.config without spn: prefix. >
    but when I try to run the next one:
    $SP = Get-AzureADServicePrincipal -Filter "AppId eq '$AADRealm'"
    it gives me error and Get-AzureADServicePrincipal is not recognized!
    How do I solve this?
  • Valery Moskalenko Profile Picture
    Valery Moskalenko 74 on 31 May 2022 at 13:53:50
    RE: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '00000015-0000-0000-c000-000000000000'.

    JFI. It looks like you can't have more than 255 records in the $SP.ReplyUrls.

    In this case, it is necessary to identify outdated URLs and remove them from the list.

    Please find the PowerShell example below:

    $SP.ReplyUrls.Remove('https://valeryapp80u1584c8de8cacd63d01devaos.cloudax.dynamics.com/oauth')
    $SP.ReplyUrls.Remove('https://valeryapp80u1584c8de8cacd63d01devaos.cloudax.dynamics.com')
    $SP.ReplyUrls.Remove('https://mainmenumanagementa8f400eddb832deddevaos.cloudax.dynamics.com/oauth')
    $SP.ReplyUrls.Remove('https://mainmenumanagementa8f400eddb832deddevaos.cloudax.dynamics.com')
    #Set/Update Reply URL
    Set-AzureADServicePrincipal -ObjectId $SP.ObjectId -ReplyUrls $SP.ReplyUrls

  • saepuloh Profile Picture
    saepuloh 67 on 01 Mar 2022 at 08:56:19
    RE: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '00000015-0000-0000-c000-000000000000'.

    Hi Valery Moskalenko,

    Thanks for you replay, it's work for me.

  • Verified answer
    Valery Moskalenko Profile Picture
    Valery Moskalenko 74 on 28 Feb 2022 at 20:19:34
    RE: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '00000015-0000-0000-c000-000000000000'.

    I had a similar issue. I followed this article and it resolve the issue.

    Deploy and access development environments - Finance & Operations | Dynamics 365 | Microsoft Docs 

    If an existing environment can't be deleted and redeployed, its URL must be added to the configured Azure AD tenant. The following commands can be run by the tenant admin.

    1. Retrieve the following values from the web.config file.

      PowerShell
      $AADTenant = <Value of Aad.TenantDomainGUID from web.config>
      $EnvironmentUrl = <Value of Infrastructure.HostUrl from web.config>
      
      # For example, if value is spn:fd663e81-110e-4c18-8995-ddf534bcf5e1 then take only fd663e81-110e-4c18-8995-ddf534bcf5e1
      $AADRealm = <Value of Aad.Realm from web.config without spn: prefix. >
      
    2. Run the following commands via the tenant admin account for the Azure AD tenant in the web.config file.

      PowerShell
      # Using tenant admin account under this tenant login to via AzureAD PowerShell cmdlet.
      Connect-AzureAD
      
      # Get Service Principal details
      $SP = Get-AzureADServicePrincipal -Filter "AppId eq '$AADRealm'"
      
      #Add Reply URLs
      $SP.ReplyUrls.Add("$EnvironmentUrl")
      $SP.ReplyUrls.Add("$EnvironmentUrl/oauth")
      
      #Set/Update Reply URL
      Set-AzureADServicePrincipal -ObjectId $SP.ObjectId -ReplyUrls $SP.ReplyUrls
      
  • saepuloh Profile Picture
    saepuloh 67 on 24 Feb 2022 at 06:21:56
    RE: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '00000015-0000-0000-c000-000000000000'.

    Hi,

    Thanks for your replay.

  • AndrĂ© Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,535 Super User 2025 Season 1 on 23 Feb 2022 at 21:37:13
    RE: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '00000015-0000-0000-c000-000000000000'.

    Hi Saepuloh,

    I'm out of my options. I would suggest to log an incident for Microsoft Support.

  • saepuloh Profile Picture
    saepuloh 67 on 23 Feb 2022 at 04:06:42
    RE: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '00000015-0000-0000-c000-000000000000'.

    Hi,

    Yes we have try create new environment with the same issue, even on other users who have mpn subscription we have same issue.

  • AndrĂ© Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,535 Super User 2025 Season 1 on 22 Feb 2022 at 22:09:18
    RE: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '00000015-0000-0000-c000-000000000000'.

    Hi Seapuloh,,

    Can you try to deploy another new environment and check if it has the same issue?

  • saepuloh Profile Picture
    saepuloh 67 on 21 Feb 2022 at 11:39:16
    RE: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '00000015-0000-0000-c000-000000000000'.

    Hi André,

    We use same login account to deploy and login environment, and we don't restore database from other environment or other tenant, we just deploy demo environment and use demo database.

    Regards

  • AndrĂ© Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,535 Super User 2025 Season 1 on 20 Feb 2022 at 22:12:27
    RE: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '00000015-0000-0000-c000-000000000000'.

    Hi Seapuloh,

    Did you only deploy the environment and you want to login directly? If so, are the login credentials the same which was used during deployment?

    If you did an additional action like database restore on this environment, was the database backup from the same tenant?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,535 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,450 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans
Loading started