AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '6070898a-ddc3-42e2-a478-e3f48f59f65a

Anand Ganjikunta 1 Reputation point
2020-11-29T02:14:37.297+00:00

I have been trying to get my sample web project working last 3 days and no luck. could you please help?
I used quicksample using Azure web app and created app service, app registered and also followed some suggestions to use below url as ReplyURL
https://webapp-openidconnect-dotnet20201126153555.azurewebsites.net

Sign in
Sorry, but we’re having trouble signing you in.

AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '6070898a-ddc3-42e2-a478-e3f48f59f65a'.

Troubleshooting details
If you contact your administrator, send this info to them.
Copy info to clipboard
Request Id: bb0706ce-e3d5-4f38-9c44-55896fdc4b01
Correlation Id: 0ea4789c-c298-4a8b-ae58-2230ecaebc24
Timestamp: 2020-11-29T02:11:09Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '6070898a-ddc3-42e2-a478-e3f48f59f65a'.
Advanced diagnostics: Enable
If you plan on getting support for an issue, turn this on and try to reproduce the error. This will collect additional information that will help troubleshoot the issue.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
25,048 questions
0 comments No comments
{count} votes

18 answers

Sort by: Most helpful
  1. Anand Ganjikunta 1 Reputation point
    2020-11-30T18:25:12.023+00:00

    After changing get below error (https://webapp-openidconnect-dotnet20201126153555.azurewebsites.net/)
    The page cannot be displayed because an internal server error has occurred.

    Logs:
    2020-11-30T18:23:41 PID[7500] Error Failed to download OpenID configuration from 'https://sts.windows.net/84d7429e-d6a2-4f9c-a2e7-aa4e078d5e80/.well-known/openid-configuration': Value cannot be null.Parameter name: value
    2020-11-30T18:23:41 PID[7500] Critical System.ArgumentNullException: Value cannot be null.Parameter name: valueat Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)at Newtonsoft.Json.JsonConvert.DeserializeObjectTat Microsoft.Azure.AppService.Middleware.OpenIdConnectConfiguration.Download(String url)at Microsoft.Azure.AppService.Middleware.OpenIdConnectConfiguration.ConfigManager.RefreshConfiguration(OpenIdConnectConfiguration testConfiguration)at Microsoft.Azure.AppService.Middleware.OpenIdConnectConfiguration.ConfigManager.GetCurrentConfiguration(Boolean forceRefresh, OpenIdConnectConfiguration testConfiguration)at Microsoft.Azure.AppService.Middleware.AzureActiveDirectoryProvider.GetOpenIdConnectConfiguration(Boolean forceRefresh)at M


  2. Anand Ganjikunta 1 Reputation point
    2020-11-30T18:30:03.48+00:00

    More logs info

    2020-11-30T18:25:17 PID[7500] Verbose Received request: GET https://webapp-openidconnect-dotnet20201126153555.azurewebsites.net/.auth/login/aad/callback
    2020-11-30T18:25:17 PID[7500] Information Sending response: 200.75 OK
    2020-11-30T18:25:17 PID[7500] Verbose Received request: GET https://webapp-openidconnect-dotnet20201126153555.azurewebsites.net/favicon.ico
    2020-11-30T18:25:17 PID[7500] Information Downloading OpenID configuration from https://sts.windows.net/84d7429e-d6a2-4f9c-a2e7-aa4e078d5e80/.well-known/openid-configuration
    2020-11-30T18:25:17 PID[7500] Verbose Calling into external HTTP endpoint GET https://sts.windows.net/84d7429e-d6a2-4f9c-a2e7-aa4e078d5e80/.well-known/openid-configuration.
    2020-11-30T18:25:17 PID[7500] Verbose Received request: POST https://webapp-openidconnect-dotnet20201126153555.azurewebsites.net/.auth/login/aad/callback
    2020-11-30T18:25:17 PID[7500] Information Downloading OpenID configuration from https://sts.windows.net/84d7429e-d6a2-4f9c-a2e7-aa4e078d5e80/.well-known/openid-configuration
    2020-11-30T18:25:17 PID[7500] Verbose Calling into external HTTP endpoint GET https://sts.windows.net/84d7429e-d6a2-4f9c-a2e7-aa4e078d5e80/.well-known/openid-configuration.
    2020-11-30T18:25:17 PID[7500] Warning Call to HTTP endpoint https://sts.windows.net/84d7429e-d6a2-4f9c-a2e7-aa4e078d5e80/.well-known/openid-configuration failed: 400 (Bad Request). Partial response: {"error":"invalid_tenant","error_description":"AADSTS90002: Tenant '84d7429e-d6a2-4f9c-a2e7-aa4e078d5e80' not found. This may happen if there are no active subscriptions for the tenant. Check to make sure you have the correct tenant ID. Check with your subscription administrator.\r\nTrace ID: dcbbd71b-138d-45f8-9d98-7d5ac1856801\r\nCorrelation ID: fa2ee576-fde4-40be-ab67-a493463179e2\r\nTimestamp: 2020-11-30 18:25:17Z","error_codes":[90002],"timestamp":"2020-11-30 18:25:17Z","trace_id":"dcbbd71b-138d-45f8-9d98-7d5ac1856801","correlation_id":"fa2ee576-fde4-40be-ab67-a493463179e2","error_uri":"https://sts.windows.net/error?code=90002"}
    2020-11-30T18:25:17 PID[7500] Error Failed to download OpenID configuration from 'https://sts.windows.net/84d7429e-d6a2-4f9c-a2e7-aa4e078d5e80/.well-known/openid-configuration': Value cannot be null.Parameter name: value

    0 comments No comments

  3. Anand Ganjikunta 1 Reputation point
    2020-11-30T18:41:21.68+00:00

    updated tenant id to e9ca94ef-3d00-4d08-a90b-418e52d01072 which helped to get past
    now getting below error

    Sorry, but we’re having trouble signing you in.

    AADSTS50194: Application 'f7b44810-0ba2-49a4-8a45-af9005600ad3'(svpcashwire) is not configured as a multi-tenant application. Usage of the /common endpoint is not supported for such applications created after '10/15/2018'. Use a tenant-specific endpoint or configure the application to be multi-tenant.

    0 comments No comments

  4. Anand Ganjikunta 1 Reputation point
    2020-11-30T18:47:20.63+00:00

    Now i'm back to original issue after changing app registration to multi tenant

    Sign in
    Sorry, but we’re having trouble signing you in.

    AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'f7b44810-0ba2-49a4-8a45-af9005600ad3'.

    Troubleshooting details
    If you contact your administrator, send this info to them.
    Copy info to clipboard
    Request Id: fcf4ee06-624b-4b58-83f7-631cdc7d7201
    Correlation Id: d88751dc-a9c8-4197-9bbe-ee36b5cbe3bf
    Timestamp: 2020-11-30T18:45:33Z
    Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'f7b44810-0ba2-49a4-8a45-af9005600ad3'.
    Advanced diagnostics: Disable
    If you plan on getting support for an issue, turn this on and try to reproduce the error. This will collect additional information that will help troubleshoot the issue.

    0 comments No comments

  5. Anand Ganjikunta 1 Reputation point
    2020-11-30T19:06:22.117+00:00

    More update from SVP IT admin, we only support single tenant and getting below error. Please advise

    Sign in
    Sorry, but we’re having trouble signing you in.

    AADSTS50194: Application 'f7b44810-0ba2-49a4-8a45-af9005600ad3'(svpcashwire) is not configured as a multi-tenant application. Usage of the /common endpoint is not supported for such applications created after '10/15/2018'. Use a tenant-specific endpoint or configure the application to be multi-tenant.

    Troubleshooting details
    If you contact your administrator, send this info to them.
    Copy info to clipboard
    Request Id: 4855bc41-f9ab-4de7-86ad-c5b00bae8201
    Correlation Id: 30c48cc7-4c90-4a2a-821a-10c8c41c5247
    Timestamp: 2020-11-30T19:04:44Z
    Message: AADSTS50194: Application 'f7b44810-0ba2-49a4-8a45-af9005600ad3'(svpcashwire) is not configured as a multi-tenant application. Usage of the /common endpoint is not supported for such applications created after '10/15/2018'. Use a tenant-specific endpoint or configure the application to be multi-tenant.
    Advanced diagnostics: Enable
    If you plan on getting support for an issue, turn this on and try to reproduce the error. This will collect additional information that will help troubleshoot the issue.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.