Technical Tip: How to map external-identity-provider user by group ID when it auto-connect Forticlient
| Description | This article describes how to identify a user based on group-ID when it auto-connects to FortiClient via external-identity-provider. This can be verified by running the following command that user is matching both group:
diagnose debug application sslvpn -1 diagnose debug application fnbamd -1 diagnose vpn ssl debug-filter src-addr4 x.x.x.x <-remote user wan IP diagnose debug application samld -1 diagnose debug enable
2024-11-04 16:08:36 [1117] fnbamd_ext_idp_gen_rsp_data-svr_name:AzureAD2-ext
|
| Scope | FortiOS 7.2 and above. |
| Solution | To filter user by group-id for external-dentity-provider, need to configure below configuration:
In 7.2.x and 7.4.x version, there is only option to do it from CLI:
edit "FortiGateAccess" set member "AzureAD2" "AzureAD2-ext" config match edit 1 set server-name "AzureAD2" set group-name "7d5d7de1-xxx-xxx-xxxx" next edit 2 set server-name "AzureAD2-ext"
The GUI does not have Group visible:
However, in 7.6 and above version, it can be configured by CLI and GUI both.
|



