Description | This article describes an issue where a FortiToken cannot be uploaded on Microsoft Entra ID due to the format of the secret key. |
Scope | FortiToken. |
Solution |
The following error is received while trying to upload the FortiToken on Microsoft Entra ID and the value of the secret key is in hexadecimal:
To solve the issue, convert the secret key from hexadecimal to base32. This can be done with the tomeko.net converter.
In the example above, the secret key in hexadecimal is '2646E1400D483AF3309D84659147E65D0A937126'. After conversion, the base32 secret key is 'EZDOCQANJA5PGME5QRSZCR7GLUFJG4JG'.
Copy the secret key base32 and paste it on the text file of the FortiToken. Uploading the file to the Microsoft Entra ID will then be successful. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.