Why ALB (App Gateway V2) with affinity session enabled won't work with NTLM

Paul Berta 40 Reputation points
2024-05-24T14:07:33.9833333+00:00

Hello, community

I hope this message finds you well.

Currently, our application is balanced with AGV1(NLB) and uses Windows Authentication with NTLM. I am aware that NTLM requires a persistent connection and that is one of the limitations of ALB. Still, I thought that by using affinity sessions (cookie-based), and therefore redirecting the subsequent traffic to the same server that the initial challenge-response process was initiated with, it will overcome this issue(partially). I managed to get the user authenticated (I've seen the 200 Response in the developer's tool's network page in the browser), but the authentication pop-up keeps appearing even after a successful authentication.

Can someone explain to me why this happens?

Thank you,
Paul

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,079 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
451 questions
0 comments No comments
{count} votes

Accepted answer
  1. ChaitanyaNaykodi-MSFT 26,216 Reputation points Microsoft Employee
    2024-05-24T22:43:33.37+00:00

    @Paul Berta

    Thank you for reaching out.

    I understand you are facing issues with your Application gateway V2 and NTLM authentication.

    The reason of the behavior observed being NTLM authentication isn't supported by Application Gateway V2. This is currently documented in the limitation section here

    The recommended solution in this case is to update authentication method instead. It will also help if you could upvote this feedback item for this request on our feedback portal.

    If it helps you can also go through this blog post on how the windows team is reducing dependencies on NTLM.

    Hope this helps! Please let me know if you have any additional questions. Thank you!

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.