Skip to main content
rain
Staff
Staff
September 4, 2026

Technical Tip: How to solve 'This sts.windows.net page can't be found' over SAML SSO

Description

This article describes how to solve the error 'This sts.windows.net page can't be found' after the 2FA page pops up when authenticating over SAML.

Scope

FortiGate, IPsec, SSO.

Solution

There are scenarios when connecting to a VPN with SAML authentication where the 2FA screen pops up, but the next error is shown: 'This sts.windows.net page can't be found'.


918e2be3.png


The error means the URL 'IdP single sign-on URL' used by the IdP is wrongly configured on the FortiGate.

 

This can be verified using the next command:

 

FGT_TEST # config user saml
FGT_TEST (saml) # edit "XXXXXX"
FGT_TEST (XXXXXX) # show


Inside the 'XXXXX', specify the name of the SAML user profile, which can also be identified by going to User and authentication -> Single Sign-On, and the name of the profile is shown there:


a7d49960.png


Check the URL and see if it is wrong:

 

efc680bf.png


Correct URL that needs to be verified on the IdP side and also an example on the FortiGate side:


f6eadefd.png

 

757d15b3.png

 

After the URL is fine, the issue should be fixed and not persist.

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT