Skip to main content
myky_
Staff
Staff
Oct 9, 2026 12:45 PM UTC

Technical Tip: Configuring FortiClient EMS user verification with SAML authentication using FortiAuthenticator as an IdP proxy for Microsoft Entra ID

Description

This article describes how to set up a Microsoft Entra ID application as a backend Identity Provider (IdP) for FortiClient EMS user verification via FortiAuthenticator as an IdP proxy.

Scope

FortiClient EMS, FortiAuthenticator, Microsoft Entra ID.

Solution

Table of Contents:

  1. Configure Microsoft Entra ID application

    1. Application registration

    2. Grant the application API permission

    3. Authorise a set of users or groups

  2. Configure FortiAuthenticator as an IdP proxy

    1. Configure OAuth settings

    2. Configure Microsoft Entra ID SAML settings

    3. Configure the remote SAML server (Entra side)

    4. Configure the remote SAML server (FortiAuthenticator side)

    5. Configure a realm

    6. Configure SAML IdP general settings and user source

  3. Configure FortiClient EMS SAML and Entra ID as the authentication server

    1. Configure SAML IdP and FortiAuthenticator as the SP 

    2. Configure Entra ID as the authentication server

    3. Configure Domain Import

    4. Create invitation

  4. FortiClient EMS Windows client testing

Note:

Values such as tenant IDs, application IDs, client secrets, URLs and certificate details are environment-specific. Use the values for your own deployment; do not copy identifiers or secrets from screenshots.

  1. Configure Microsoft Entra ID application:

  1. Application registration (Microsoft Entra ID):

53133de0.png

 

f2c44b6b.png


Create a client secret that can be used for the FortiAuthenticator remote auth server OAuth integration: 

ff5f5401.png


Note: Copy and securely save the content of the "Value" field (not the Secret ID). That value needs to be used in the Client Key field in FortiAuthenticator in the OAuth configuration section (2.a):

  1. Grant the application the following Microsoft Graph permissions:

  • Directory.Read.All

  • Group.Read.All

  • User.Read.All


46a2a3fc.png

  

37ae94c2.png

  

254e5d88.png


  1. Add a user or user group who can use the application (users who will be able to authenticate using a FortiClient EMS invitation code via SAML):

ce843b1f.png


Copy the application client and tenant IDs, as well as the secret value:

7f1d9411.png

 

  1. Configure FortiAuthenticator as an IdP proxy:

  1. Configure OAuth settings:


c819ad04.png


  1. Configure Microsoft Entra ID SAML settings:


68ee27cb.png

 

5bf9a9de.png

 

  1. Configure the remote SAML server (Entra side):

42984c58.png


Add the following attributes and claims:

  • userPrincipalName = user.localuserprincipalname

  • Unique User Identifier = user.userprincipalname

6b74cd84.png

 

  1. Configure the remote SAML server (FortiAuthenticator side):


bca27632.png


Note: Export the Entra IdP certificate (Base64) and import it to the FortiAuthenticator under the IdP certificate fingerprinting option as shown above.

Note: This is an optional step. Use it to confirm that FortiAuthenticator can communicate successfully with Microsoft Entra ID before proceeding to the realm and client configuration:

c7d723d7.png

 

d79d8994.png


Note: If FortiAuthenticator can read an Entra ID directory (user or group import is not mandatory or needed), then it proves that the OAuth and SAML proxy server was configured correctly.

  1. Configure a realm:


e681641b.png

 

d5e4ed7a.png


Note: Entra ID Primary domain and FortiAuthenticator realm name must match.

  1. Configure SAML IdP general settings and user source:


7fba7081.png

 
Note:

Ensure to select the appropriate realm:

e3a6449b.png

 

4f585ac2.png

 

  1. Configure FortiClient EMS SAML and Entra ID as the authentication server:

  1. Configure SAML IdP and FortiAuthenticator as the SP:


53996531.png


Note: Export the FortiAuthenticator IdP certificate and import it into the FortiClient EMS SAML configuration as shown below:

67e2c5c5.png


  1. Configure Entra ID as the authentication server:

60256d88.png

 

91a0888d.png

 
Note:

The Client Secret value is the same as what was used to integrate FortiAuthenticator using OAuth settings in section (2.a).

3e448009.png

 

  1. Configure Domain Import:


0cbc8b30.png

 

72247e4f.png

 

99be3144.png

 

  1. Create invitation:


c022e596.png

  

99f08b3d.png

 

  1. FortiClient EMS Windows client testing:


Attempt to connect to the EMS server using the invitation code with the test user:

ba38044d.png

 

bf142fb1.png

 

de843303.png

 

33d487c6.png

 

347a8f38.png

 

The test user was successfully authenticated using SAML when FortiAuthenticator is acting as the IdP for the FortiClient EMS user verification and is configured as a proxy IdP with Microsoft Entra ID as the backend.

Note: The original draft of this article was provided by @IrosKokk.


Related documents:

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024