I was not able to get the command to work because it did not recognize
the -a flag. Below is the command that works, replacing the -a with -r
C:\Program Files\Fortinet\FortiClient> FortiESNAC.exe -c
REG_REG_TO_CLOUD -r [The Invitation Code]
You are leaving our website
You are leaving our site and we cannot be held responsible for the content of external websites