Table of Contents: Configure Microsoft Entra ID application Application registration Grant the application API permission Authorise a set of users or groups
Configure FortiAuthenticator as an IdP proxy Configure OAuth settings Configure Microsoft Entra ID SAML settings Configure the remote SAMLÂ server (Entra side) Configure the remote SAMLÂ server (FortiAuthenticator side) Configure a realm Configure SAMLÂ IdP general settings and user source
Configure FortiClient EMS SAML and Entra ID as the authentication server Configure SAML IdP and FortiAuthenticator as the SP Configure Entra ID as the authentication server Configure Domain Import Create invitation
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. Configure Microsoft Entra ID application:
Application registration (Microsoft Entra ID):
 Â  Create a client secret that can be used for the FortiAuthenticator remote auth server OAuth integration:Â
 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):
Grant the application the following Microsoft Graph permissions:
Directory.Read.All Group.Read.All User.Read.All
 Â Â  Â Â 
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):
 Copy the application client and tenant IDs, as well as the secret value:
 Â Configure FortiAuthenticator as an IdP proxy:
Configure OAuth settings:

Configure Microsoft Entra ID SAML settings:
 Â  Â Configure the remote SAMLÂ server (Entra side):
 Add the following attributes and claims:
 Â Configure the remote SAMLÂ server (FortiAuthenticator side):
 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:
   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.
Configure a realm:
 Â  Note:Â Entra ID Primary domain and FortiAuthenticator realm name must match.
Configure SAMLÂ IdP general settings and user source:
 Â Note: Ensure to select the appropriate realm:
 Â  Â
Configure FortiClient EMS SAML and Entra ID as the authentication server:
Configure SAML IdP and FortiAuthenticator as the SP:
 Note:Â Export the FortiAuthenticator IdP certificate and import it into the FortiClient EMS SAML configuration as shown below:

Configure Entra ID as the authentication server:
    Note: The Client Secret value is the same as what was used to integrate FortiAuthenticator using OAuth settings in section (2.a).
 Â
Configure Domain Import:
 Â  Â  Â
Create invitation:
 Â Â  Â FortiClient EMS Windows client testing:
Attempt to connect to the EMS server using the invitation code with the test user:
 Â  Â  Â  Â  Â 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:
|