I can't sign in to Synology NAS (DSM) using 2-factor authentication (2FA). What can I do?

I can't sign in to Synology NAS (DSM) using 2-factor authentication (2FA). What can I do?

Details

You lost or changed your mobile phone and need to disable 2-factor authentication (2FA) for your Synology NAS (DSM).

This article guides you through how to reset the 2-factor authentication1 if it is configured.

Notes:

  1. Multi-factor authentication is named differently on different DSM versions.
    • For DSM 7.0 and above: 2-factor authentication.
    • For DSM 6.2 and earlier: 2-step verification.

Resolution

If your Synology NAS has multiple administrators

If you are the only administrator on your Synology NAS

Notes:

  1. To ensure 2-factor authentication will function normally in the future, make sure your Synology NAS is syncing with an NTP server and that the system time is correct. To do so, log in with an account belonging to the administrators group and go to DSM > Control Panel > Regional Options > Time > Time Setting.
Details
Resolution
Further reading