Skip to main content
bpriya
Staff & Editor
Staff & Editor
May 15, 2020

Technical Tip: How to activate FortiToken manually for admin account

  • September 17, 2026 at 12:48 PM
  • 0 replies
  • 26600 views

Description

 

This article describes how to activate a FortiToken manually when the user did not receive the activation email/SMS for the admin account. The same applies to non-admin users. 

 

Scope

 

FortiGate, FortiToken.

Solution

 

From the GUI:

 

  1. Go to System -> Administrator, create a new admin account, and enable 'two-factor'.

 

kb_18077_1.png


  1. Under Logs & Reports  ->  Events  -> System Events, Filter for 'Log Description = Token activation code sent'. In version 7.2 and above, go to Log & Report -> System Events -> General System Events -> Filter for 'Log Description = Token activation code sent'. Under Log Details -> Message, the activation code will be visible.

 

kb_18077_2.png

 

Note:

The activation code is obfuscated in the system event and will no longer be available in the AlertMail debug from v7.6.3 onwards:

 

activation code2.png


sleekshot.png

 

  1. Download and install the FortiToken application on the mobile phone. Open the FortiToken application and select 'Enter Manually'.

 

kb_18077_3.png

 

In newer versions, select the + sign at the top right and select 'Enter Manually' at the bottom.      

 

FortiToken.png

 

enter.png

 

  1. Select 'Fortinet Account' and enter the email ID and the activation code.

 

kb_18077_4.png

 

Stephen_G_0-1695916855920.png

 

The activation code can also be viewed in the CLI:

 

config user fortitoken
   edit "FTKMOB6549A91140"
     set license "FTMTRIAL01185372"
     set activation-code "EEIMI3ZFJEC2CCPL"
     set activation-expire 1589636215
     set reg-id "f6t6cMVZI5c:APA91bFzxmvYzcIOWTYh19riSxQGVWxbA7f4nzmAXuyaZM_BBnO3DX_PLpuzzAdCCwx1khhkv24HyohRIF73AgiRpPsZiTNPfkI2aNuPV6M0AtvBBOi7vxKMGO7hlM0P_UFi8y5lpZsJ"
     set os-ver "4.7.1.0100_AND"
   next


Note:

The validity of this FortiToken activation code is 3 days by default from the time the FortiToken was provisioned to the admin user but it can be configured via cli (Provisioning FortiToken Mobile):


config system global

set two-factor-ftm-expiry <1-168>

end


If the admin user is unable to activate the FortiToken after the provisioning period, the next option is explained in this KB article: Troubleshooting Tip: Admin user lost FortiToken / Token is not working.

 

Related article:
Troubleshooting Tip: Get FortiToken Mobile activation code when activation email is not received

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT