Skip to main content
Khairildanial
New Member
August 24, 2022
Question

Exporting Usernames and Fortitoken status into Excel

  • August 24, 2022
  • 1 reply
  • 1776 views

Hi. I would like to export usernames, Fortitokens status (Pending, Available, Assigned) into excel file. Anyone knows how to do it? or manual copy is the only way? Thanks

1 reply

vdralio
Staff
Staff
August 24, 2022

Dear @Khairildanial ,

 

If you have FortiAuthenticator and the FortiTokens are registered there, then there is a simple way to export to CSV format, please check below:

https://community.fortinet.com/t5/FortiAuthenticator/Technical-Tip-Migrating-users-and-FortiTokens-to-another/ta-p/193723

 

If you are using them in FortiGate there is no command to export them in excel, you can use the option below:

 

1. manually copy and paste them from the config
2. run the command on the CLI to check the list and copy+paste it manually:

# show | grep -f two-factor

#show full | grep -f FTK

diag fortitoken info

show user fortitoken

 

Best Regards,

Vasil Dralio

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!