Azure Application Gateway prompting for Credentials Multiple times

Avaisuddin Mohammad 1 Reputation point
2021-05-07T00:07:36.133+00:00

I am wondering if someone can help me guide in the right direction. Since I put my App (hosted on IIS on a VM in Azure) behind the Azure Application Gateway (v2) I am being asked multiple times to put my username and password. P.S. I am using Windows Authentication for my app. Everything works fine without the gateway. I have seen this a few posts about it but going back to Gateway V1 is not an option unfortunately.

Anyone here came across this and fixed it?
Any help appreciated.
Thanks

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,125 questions
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
956 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. msrini-MSFT 9,256 Reputation points Microsoft Employee
    2021-05-07T04:14:37.277+00:00

    Hi,

    If you are using NTLM based authentication, then it is expected to get multiple prompts for authentication. It is an known issue and this behavior is documented.

    There are two options which are available.

    1. You can use Application Gateway V1 (which you are not willing to move to)
    2. Use different authentication method for your Application.
    1 person found this answer helpful.