Hi,
I have recently setup SAML auth with Azure AD but cant get it to work via Forticlient.
Users can login to the webportal and auth using SSO successfully, its just Forticlient that fails.
When users try to connect via Forticlient they are directed to the correct Microsoft Login URL and can successfully auth with their Azure creds(including MFA) but after accepting the MFA prompt Forticlient stops at 48% and shows "Credential or SSLVPN configuration is wrong (-7200)".
Checking the SSL-VPN Monitor in the Forti shows the user as being connected but only with "Web Connections" instead of "Tunnel Connections"
It almost like when authenticating Forticlient cant find the user in a User Group so assigned it to the Web-access portal
Running Forticlient 7.0 and firmware 7.0.1 on the Forti
There is a post on Reddit about the SLL-VPN certificate key length having to be 2048 but we are using a certificate with a key length of 4096.
CONFIG BELOW (using example FQDN)
--------------------------------------------------------
config user saml
edit "azure-saml"
set cert "Fortinet"
set entity-id "https://example-company.com:10443/remote/saml/metadata"
set single-sign-on-url "https://example-company.com:10443/remote/saml/login"
set single-logout-url "https://example-company.com:10443/remote/saml/logout"
set idp-entity-id "https://sts.windows.net/YYY-e027-4bb6-a213-XXX/"
set idp-single-sign-on-url "https://login.microsoftonline.com/YYY-e027-4bb6-a213-XXX/saml2"
set idp-single-logout-url "https://login.microsoftonline.com/YYY-e027-4bb6-a213-XXX/saml2"
set idp-cert "Azure_SAML"
set user-name "username"
set group-name "group"
next
end
config user group
edit "SAML_AZ_ALL"
set member "azure-saml"
config match
edit 1
set server-name "azure-saml"
set group-name "YYY-a79a-40f0-a2df-XXX" (Object ID of my Azure group)
next
end
next
end
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.
Good day, did you figure this out, i have the exact same problem
I also have same issues on Windows FortiClient Only, same user working on MacOS FortiClient.
If you suspect a group mismatch issue, this recent kb article is really good
https://kb.fortinet.com/k...=1%200%20262768462%27)
hello, did you find the cause for this issue?
Please check saml d logs, is there any clock skew error in the logs?
And please update the complete version of forticlient.
Out of our 3000 users, only 5 have reported experiencing this issue. Any idea ?
Hi
can you please check in the sslvpn and fnbamd logs that the user getting matched group?
I have identified the root cause of the problem. The system administrator had created a security group and added certain users to it. However, these users were facing issues while using VPN. Upon investigation, I discovered that the group had too many permissions which were causing conflicts with Forticlient. I promptly requested the system administrator to delete the group to resolve the issue.
This issue can occur in various situations, not just one.
We are experiencing the same issue. When you say that "the group" had too many permissions causing conflicts, was this the group used for the SSLVPN membership or was it just another group in their Azure environment that those users being impacted were also members of? Any more details that might help us?
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 |
---|---|
1696 | |
1091 | |
752 | |
446 | |
228 |
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.