Azure AD Proxy: BadGateway, Possible Loop

Posted on

When using Azure AD Premium’s Application Proxy feature, if you should receive an error that states “Status code: BadGateway” along with the line “The service detected a possible loop. Make sure that the internal URL doesn’t point to the external URL of any application.”

Example web page error:


The cause – when making a change to the internal URL, I had incidentally set the internal URL to use the external URL.  The surprising thing is that App Proxy actually allowed me to save the changes!




One thought on “Azure AD Proxy: BadGateway, Possible Loop

    WadeBNTT said:
    November 10, 2016 at 2:31 pm

    What if you use hosts file on connector server

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s