I am having a strange issue with configuring FortiGate SSL VPN with Azure AD. I have configured SAML authentication successfully in the past using Google Workspace, but now I need to set up SAML in Azure AD. I am using this guide for reference: https://learn.microsoft.com/en-us/azure/active-directory/saas-apps/fortigate-ssl-vpn-tutorial
My current configuration will only work while using the IP address of the VPN in my entity-id and single-sign-on-url values. If I use the DNS hostname, I will get an HTTP invalid error when trying to connect to https://domain.com/remote/saml/login. The web login will also not redirect me to the Microsoft sign-in page. Changing the DNS name to the IP address resolved the problem. Please help.
I am running version 7.0.8. I downgraded from 7.2.2 for testing but that did not make a difference
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
FortiGate configuration:
config user saml
edit azure
set cert ssl-vpn
set entity-id https://domain.com/remote/saml/metadata
set single-sign-on-url https://domain.com/remote/saml/login
set single-logout-url https://domain.com/remote/saml/logout
set idp-entity-id https://sts.windows.net/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
set idp-single-sign-on-url https://login.microsoftonline.com/xxxxxxxxxxxxxxxxxxxx/saml2
set idp-single-logout-url https://login.microsoftonline.com/xxxxxxxxxxxxxxxxxxxx/saml2
set idp-cert REMOTE_Cert_1
set user-name username
set group-name group
next
end
Update:
My configuration is working, but still unexpectedly. I found that by connecting to https://vpn.domain.com, I am presented with the portal web mode login. If I got directly to https://ip-address, I am redirected to the Azure login portal
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1733 | |
1106 | |
752 | |
447 | |
240 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.