Skip to main content
forti5
New Member
November 7, 2025
Solved

IkeV2 VPN with EntraID SAML

  • November 7, 2025
  • 5 replies
  • 655 views

IkeV2 VPN with EntraID SAML

 

All configured and working to a point ! SAML authentication works fine but as soon as I authenticate the connection Immediately drops !

Last Disconnect Reason: HostnameResolveNonRecoverableError

 

Can anyone suggest where to start with troubleshooting this ?

 

I've tried the following but found not errors.

diagnose debug application fnbamd -1

diagnose debug application saml -1

diagnose debug application ike -1

diagnose debug application eap_proxy -1

 

error1.png

 

Best answer by forti5

now solved. 2 issues.

1. I had to change the default saml setting to - Sign SAML response and assertion

2. In the EMS Remote Access config i had https: , when I should have just had the hostname.

 

saml1.png

 

ras.png

5 replies

funkylicious
SuperUser
SuperUser
November 7, 2025

what version are you running on FortiGate ?

"jack of all trades, master of none"
forti5
forti5Author
New Member
November 10, 2025

v7.4.9

hpenmetsa
Staff
Staff
November 8, 2025

Hi,

Does this happen to only one user or to all users?

 

Could you please share the output?

 

diagnose debug reset

diagnose vpn ike log-filter dst-addr4 <client public ip>

diagnose debug app ike -1

diagnose debug app eap_proxy -1

diagnose debug app samld -1

diagnose debug enable

 

replicate the issue connecting to a VPN

AEK
SuperUser
SuperUser
November 8, 2025

Looks like a DNS issue.

  • Are your DNS queries sent through the tunnel once it is up?
  • Are they served correctly?
  • Is the telemetry server's FQDN resolved with a different address (e.g.: the private IP) once connected?

Try fix these and redo the test.

 
AEK
forti5
forti5AuthorAnswer
New Member
November 10, 2025

now solved. 2 issues.

1. I had to change the default saml setting to - Sign SAML response and assertion

2. In the EMS Remote Access config i had https: , when I should have just had the hostname.

 

saml1.png

 

ras.png

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!