All Questions

Filter by
Sorted by
Tagged with
11 votes
5 answers
40k views

Correlation failed. at Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler during OIDC authentication

I am hitting this with the following combination: Browser incognito mode (Chrome) Application is behind Azure application gateway (no repro if it isn't). Cookie based affinity is turned OFF (default);...
Sat Thiru's user avatar
  • 962
8 votes
1 answer
10k views

Azure Application Gateway WAF blocks common ASP.Net Core Requests

I have configured a Azure Application Gateway + WAF in front of an ASP.Net Core application running on an Azure WebApp. I have the the default OWASP 3.0 Rules set on and in Prevention mode. The ...
Corneliu's user avatar
  • 828
7 votes
1 answer
3k views

Azure AD Redirect URL Using Application Gateway

We have an ASP Core 2.0 App working nicely with Azure AD on the private network. However, we've been playing around with the Azure Application Gateway, investigating the possibility of allowing access ...
Mikustykus's user avatar
2 votes
1 answer
2k views

Azure B2C with Azure Application Gateway and Path Based Backend Pools

I am unable to understand how to configure Azure AD B2C auth on a .Net Core 3.1 MVC application that has been configured behind an Azure Application Gateway using Back End Pool and Path Based URL ...
Uday Thakur's user avatar
2 votes
1 answer
756 views

AspNet Core on Azure App Service peaks to 100% CPU and app gateway load balancer not working

We have few of our internal business services hosted on an isolated ASE in Azure. These services run on a medium app service plan with 2 instances. This environment has been in production and use for ...
Vignesh.N's user avatar
  • 2,656
1 vote
0 answers
268 views

ASP.NET Core 6 Web API + aks + Application Gateway not working together

I've been struggling for two weeks now. So, any help is welcome. I created an AKS and I tried to host my apps there. What is done: All the containers are tested locally and working perfectly. All CI/...
Mehdi Benadada's user avatar
1 vote
0 answers
804 views

502 Bad gateway error for ASP.NET core react app when is accessed thru the azure Application gateway

I have an ASP.NET core React app deployed on the Azure App service and this is a private endpoint, We can access the application only thru the Azure Application gateway URL. Backend app URL: https://...
amol's user avatar
  • 1,547
1 vote
0 answers
810 views

How to manage cookies when app service is running behind the application gateway?

In my ASP.Net Core application, I am using the OpenId Connect authentication scheme with the Azure AD. The application is hosted on to Azure app service and it is running behind the application ...
amol's user avatar
  • 1,547
1 vote
0 answers
149 views

HttpContext.RequestAborted not signalling when services are load-balanced using azure application gateway

We have asp.net core api, that is hosted in docker in azure vm's. And the api is load balanced using azure application gateway. We are using HttpContext.RequestAborted to cancel any long running ...
harish's user avatar
  • 11
1 vote
2 answers
1k views

ASP.NET Core app with Azure AD authentication behind a reverse proxy is setting the wrong redirect_uri

I've been banging my head on this for a while. I have an ASP.NET Core 3.1 web app running on an Azure App Service. The web app has Azure AD authentication setup, with forwarded headers. Here's the ...
Yohan Belval's user avatar
0 votes
1 answer
1k views

How to path-based reverse proxy app service behind application gateway?

I have an application gateway configured with my wildcard certificate that I want to use to proxy myapp.azurewebsites.net (an ASP.NET core application) behind myapp.mywebsite.net/mypath. I have an ...
TeamDman's user avatar
  • 869
0 votes
0 answers
59 views

App gateway closing connection after 100 requests [closed]

I am working on a backend team which is handling HTTP requests routed through app gateway into a microservice from an embedded device. The device is making requests every half second roughly, and to ...
alm0st907's user avatar
0 votes
1 answer
698 views

Azure OAuth authentication failed to redirect after successful authentication with Azure AD

I have .net core mvc application. I have implemented OAuth authentication with Azure AD for my web app. From localhost it is working good as expected, but from Azure WebApp its failing to redirect to ...
ravi.net's user avatar
0 votes
1 answer
361 views

How do you stop Azure Application Gateway creating new sessions every 30 seconds

I have a VM Scale Set setup behind a Azure Application Gateway which is load balancing web traffic between the 2 nodes in the scaleset which host a .net core web application. We have session affinity ...
user avatar
0 votes
1 answer
2k views

Azure App Service CORS MissingAllowOriginHeader Error

I have a Web Application and Web API (both .NET Core) hosted in Azure App service. The Web API is behind Azure App Gateway. The Web App's client side script calls the Web API (HTTP PUT) through the ...
Thomas's user avatar
  • 2,040