FortiClient
FortiClient proactively defends against advanced attacks. Its tight integration with the Security Fabric enables policy-based automation to contain threats and control outbreaks. FortiClient is compatible with Fabric-Ready partners to further strengthen enterprises’ security posture.
ika
Staff
Staff
Article Id 370570
Description

This article describes how to resolve an issue when FortiClient telemetry is not automatically connected to EMS v7.4.1 on-prem after completing the installation.

 

When creating the FortiClient installer package by following the admin guide Adding a FortiClient installer, and downloading the installer from the created link, FortiClient does not automatically connect to the EMS telemetry after completing FortiClient installation on the endpoint machine.


Checked FortiESNAC log shows the error message below 'Failed to register to EMS: An invitation code is required to register to this EMS':

 

[2025-01-16 11:45:27.5772857 UTC+08:00] [8488:8492] [FortiESNAC  111    info] Sending and Receiving from x.x.x.x:8013

[2025-01-16 11:45:27.5775014 UTC+08:00] [8488:8492] [FortiESNAC  260    info] Connecting to x.x.x.x:8013

[2025-01-16 11:45:27.5807308 UTC+08:00] [8488:8492] [FortiESNAC  252   debug] The SSL session was re-used

[2025-01-16 11:45:27.5808560 UTC+08:00] [8488:8492] [FortiESNAC  94   debug] Saved new SSL session

[2025-01-16 11:45:27.8347360 UTC+08:00] [8488:8492] [FortiESNAC  637   debug] REPLY=FCREGRPLY: REG|8|ERR_MSG|An invitation code required|

[2025-01-16 11:45:27.8347656 UTC+08:00] [8488:8492] [FortiESNAC  226   debug] misssing invitation code

[2025-01-16 11:45:27.8347768 UTC+08:00] [8488:8492] [FortiESNAC  228   debug] error message set: An invitation code is required to register to this EMS

[2025-01-16 11:45:27.8358822 UTC+08:00] [8488:8492] [FortiESNAC  645    info] function called

[2025-01-16 11:45:27.8359364 UTC+08:00] [8488:8492] [FortiESNAC  684   error] Failed to register to EMS: An invitation code is required to register to this EMS

[2025-01-16 11:45:28.1997372 UTC+08:00] [8488:8492] [FortiESNAC  161   debug] Endpoint state: Registration Failed

Scope EMS on-prem v7.4.1
Solution

In the previous EMS version, there is an Invitation field to select the invitation code during the creation of the FortiClient installer package.

 

1.png

 

Refer to: Technical Tip: How to send email notification which contains FortiClient installer package


Now in EMS v7.4.1 on-prem, there is no Invitation field in the FortiClient installer package creation section.

 

2.PNG

 

3.PNG

 

 

For the EMS v7.4.1 Cloud instance, the Invitation field setting in the FortiClient installer package remains the same.

 

4.PNG

 

Thus, to ensure the endpoint machine is automatically connected to the EMS on-prem upon completing the installation, the FortiClient installer must be created in the Invitation section to include the FortiClient installer by following Invitations guidelines.

Contributors