Skip to main content
chendewu_520
New Member
September 28, 2023
Question

The 2FA code activation email was blocked

  • September 28, 2023
  • 9 replies
  • 5333 views

The 2FA code activation email was blocked

And I don’t have a way to add SMS.

Is there any other way to activate the 2FA code?8EA3CB55-3F2B-4ef8-9669-88FD496DA6A4.png

9 replies

seshuganesh
Staff
Staff
September 28, 2023

Hi,

 

2FA email blocked? Could not able to understand, can you explain in detail.

Activation email will be sent to receiver email address from there user should activate.

 

 

chendewu_520
New Member
September 28, 2023

The activation email sent was intercepted by our email server. This cannot be avoided, so I would like to ask if there are other activation methods.

alif
Staff
Staff
September 28, 2023

hi @chendewu_520 

 

Alternatively, you can use SMS based 2 FA. You can use FortiGuard as SMS server.

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Create-a-user-with-SMS-based-two-factor/ta-p/192180

mle2802
Staff
Staff
September 28, 2023

Hi @chendewu_520,

What do you mean by blocked? Is the email blocked by your email filter? You can run alert email debug while sending the code and you can get the activation code in the email body:

diag debug reset
diag debug enable
diag debug console timestamp enable
diag debug application alertmail -1

Regards,
Minh

hbac
Staff
Staff
September 28, 2023

Hi @chendewu_520,

 

Why not whitelist it on your email server? Let's try this trick. 

 

1. Disable and re-enable Two-factor Authentication again to send a new activation code email because the previous one might be expired. 

2. Go to Log & Report > System Events > General System Events > Filter for "Log Description = Token activation code sent". 

3. In the Log Details, you will see the activation code. systemevent.PNG

4. Enter that code manually in FortiToken app on your phone to activate it. https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-activate-FortiToken-manually-for-admin/ta-p/190967

 

Regards,

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!