Setting up Legacy Web Service behind WAP & ADFS

Kelly Sparks 121 Reputation points

I have internal legacy app (not SAML/oauth2 aware) that I would like to verify with an ADFS login.

I have WAP: Internet DNS: and I have if needed pointing to WAP public IP:
I have ADFS: Internal DNS: pointing to internal ADFS: & pointing to

Note: This setup is working fine with O365 federated to ADFS.

Now I want to add a legacy application: Internal DNS: on
I would like external users to have to be authenticated via ADFS in order to get to

Can WAP proxy this/do this?
When I publish a new app I have these options:

  1. Active Directory Federation Services (AD FS)
  2. Pass-through

I choose ADFS, then I have these options?
a) Web and MSOFBA
b) HTTP Basic
c) OAuth2

I'm sure c) OAuth2 is not what I want, and b) HTTP Basic didn't provide me with the ADFS Login page, so I have tried to setup Web and MSOFBA, but I must be missing something.

I have ADFS setup with a filter:, which seems to work. (Although the option to add a proxy endpoint was greyed out.)
On WAP I have:
External URL:
External Cert: * (CA Cert that works fine.)
Enable HTTP to HTTPs redirection unchecked.
Backend server URL: (I also tried making this URL a different name: ex, but that didn't seem to work. The proxy seemed to just ignore it.)
Backend server SPN: HTTP/ (But I haven't actually created this. Not sure I need to, but the widget would not let me proceed without it. The backend application is a legacy web service and has now knowledge of AD credentials.)

I'm open to any suggestions.. Honestly this shouldn't be this hard, but there are lots of options and the documentation on this type of setup is rather non existent.. unless of course, I'm attempting to do something that WAP was never intended to do.

Note: This setup is entirely on premise and not in Azure.

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