Skip to main content
PaulChen
New Member
Jan 14, 2022 9:48 AM UTC
Solved

authentication with Azure AD as a SAML IdP

Hi 

My Fortigate device OS version is 7.0.2.

When I configure Azure AD SAML authentication with the document

https://docs.fortinet.com/document/fortigate/7.0.2/administration-guide/33053/outbound-firewall-authentication-with-azure-ad-as-a-saml-idp

333333

Go to step 4,  

  • The SAML IdP sends the SAML assertion containing the user and group.

 

After the browser log in to azure, it seems that it can't return to FortiGate, Whether my identifier (entity ID) uses public IP or private IP.  it aways say:

The connection has timed out

An error occurred during a connection to 192.168.11.1:1003.

2.png

 

 

Who can help me the possible problems?

 

Thanks a  lot 

 

 

 

Esteemed Contributor III
Jan 17, 2022 6:44 PM UTC

Hello @PaulChen ,

 

               

Welcome to Fortinet community and Thank you for your post. Hopefully, you've been keeping safe and doing well!
 
Could you please run the saml debug when the issue is replicated.
                
#diagnose debug application httpsd -1
#diagnose debug application samld -1
#optionally# diagnose debug console timestamp enable
#diagnose debug enable
Regards

4 replies

Esteemed Contributor III
Jan 17, 2022 6:44 PM UTC

Hello @PaulChen ,

 

               

Welcome to Fortinet community and Thank you for your post. Hopefully, you've been keeping safe and doing well!
 
Could you please run the saml debug when the issue is replicated.
                
#diagnose debug application httpsd -1
#diagnose debug application samld -1
#optionally# diagnose debug console timestamp enable
#diagnose debug enable
Regards
Translate
PaulChen
PaulChenAuthor
New Member
Jan 18, 2022 2:39 AM UTC

Hi Ash , Thanks for your suggestion,  I solved this problem by adding a source port to the firewall policy.

 

Thanks

Paul Chen

Translate
Cristianonovaes
New Member
Apr 28, 2022 12:43 PM UTC

Hi PaulChen, Could you please detail more how you added this source port? I have the same problem!

tks,

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024