Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.

FortiWeb and Microsoft Active Directory Federation Services (AD FS) 2.0

Hi team


Customer deployed AD FS behind FortiWeb (reverse proxy mode). One of the requirement is to add X-MS-Proxy in the HTTP header, the value is proxy hostname (FortiWeb Hostname)


I checked the Fortiweb document and looks like we only add X-Real-IP and X-Forwarded-For but not X-MS-Proxy


Do we support this or any NFR raised before?


Thanks, Viet

Professional Services Consultant A/NZ
New Contributor



Not sure if that is still relevant to anyone, but we had the same question ourself and we found out a solution with URL rewriting rule as shown on picture below:



2024-04-16 13_51_11-Chat _ WAF ADFS - basic auth _ Microsoft Teams.png


Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Top Kudoed Authors