Follow the steps below to set up SafeID token in Azure MFA Cloud Service


Prepare Token Upload File

Hardware tokens must be uploaded to Azure MFA service in a comma-separated values (CSV) file. Deepnet SafeID or MobileID tokens are supplied with a CSV file that includes serial number, secret key, time interval, manufacturer, and model as the example below shows.

Token Seed File
serial number,secret key,time interval,manufacturer,model
10001001,234567ABCDEFGHIJKLMNOPQRSTUVWXYZ,60,Deepnet Security,SafeID/Classic
10001002,ZYXWVUTSRQPONMLKJIHGFEDCBA765432,60,Deepnet Security,SafeID/Classic

*Please note that the above seed file is only an example. If you have not received the seed file of your tokens, please contact your reseller or Deepnet Security.

Azure MFA requires one extra information to be added into the CSV file: the user principal name (UPN) of each token. Therefore, you MUST edit the CSV file in the text editor, such as Notepad, and add a UPN to each of the tokens. Please do NOT edit the CSV file using Excel. 

Below is an example:.

Add 'upn' to the header row, so that the header reads:

upn,serial number,secret key,timeinterval,manufacturer,model

then, add users' UPNs in every row, e.g.

user001@contoso.com,1234567,234567ABCDEFGHIJKLMNOPQRSTUVWXYZ,60,Deepnet Security,SafeID/Classic

The revised content looks like below:

image2023-8-17_17-54-17.png

Save the file on completion.

Upload Tokens

Now, sign in to the Azure portal and navigate to "Entra ID > Security > Multifactor Authentication > OATH Tokens (Preview)"

The OATH tokens page in Entra ID is located at "Entra ID > Security > Multifactor Authentication > OATH Tokens (Preview)"

Sign in to Entra ID portal

Click "Microsoft Entra ID"

Click "Security"

Click "Multifactor authentication"

Click "OATH tokens (Preview)"


Click the “Upload” button.

Select the CSV file to be uploaded, then click the Open button.

Depending on the size of the CSV file, it may take a few minutes to process.

Click the Refresh button to get the current status. If there are any errors in the file, you will have the option to download a CSV file listing any errors for you to resolve.

Once the uploading process has been completed, the list of tokens will be displayed.

Activate Tokens

The administrator can activate each token by clicking Activate on the token to be activated and entering the passcode displayed on the token to verify.


Related Articles

How to use SafeID Hardware OTP Token in Office 365 MFA login

How to set OTP token as the default sign-in method for Office 365 MFA login




  • No labels