Migrating from Windows Reverse Proxy to Sophos XG WAF.
See tutorial below.
Assumes you know how to add Real webservers to XG, have a functioning ADFS server, and Federated domain.
This thread was automatically locked due to age.
ADFS WAF Policy and Rule.
Caveat: Microsoft Edge Browser will not display the images on the page, however will still work for authentication.
Solution Edited to correct Edge needing access to other paths for Style Sheet and imagery. See follow up post.
Solution Edited to correct Outlook needing access to other paths and exceptions. See follow up post.
SFOS 18.x Solution below in a different post.
First we need to set up the combined Microsoft ADFS STS 2012R2 Protection policy.


Edge requires an additional Path-specific routing entry.
Add new Path
Hi AADD,
I just wanted to thank you for going through this and posting potential fixes.
I will be trying these against 2016 as that has been the issue. I'm crossing my fingers these all work on 2016 and I can go back to using WAF for these scenarios.
Thanks,
John
Outlook also requires special exemptions.
See the Policy creation post and note the policy changes marked (edited 2018-6-8 for Outlook)
Make the following additions to the WAF Business Rule
Add new Path
Add new Exception