Why is Two-Factor Authentication (2FA) mandated as a critical security control for Salesforce administration?
Answer
Basics: Passwords get phished, reused and leaked. MFA adds a second proof, something you have (an authenticator app, security key or built-in biometric) so attackers with the password still cannot sign in. Admin accounts hold powerful permissions (Modify All Data, Manage Users, API access), making them the highest-value targets.
How it works:
- Setup > Identity Verification: enable "Require multi-factor authentication (MFA) for all direct UI logins to your Salesforce org".
- Alternatively grant the "Multi-Factor Authentication for User Interface Logins" user permission via profile or permission set.
- Users register a verification method: Salesforce Authenticator, a third-party TOTP app, a security key (WebAuthn/U2F), or built-in authenticators (Touch ID, Windows Hello).
- At login, after the password, the user approves or enters the code.
- For SSO users, the identity provider performs MFA.
- API integrations are handled separately (OAuth, JWT, IP controls); a separate permission exists for API logins with verification codes.
Advanced / deep dive: Salesforce has required MFA for access to its products since February 1, 2022 (SSO with IdP MFA satisfies the requirement). Email and SMS codes are not considered strong factors and are not accepted to meet the requirement. Use High Assurance session levels to demand stronger authentication for sensitive actions (for example, session security level on profiles/permission sets or Apex Auth.SessionManagement). Combine with login IP ranges, login hours, connected-app policies and Transaction Security. Provide break-glass procedures and recovery for lost devices; waiving MFA for exempt integration users is done with a specific permission and should be tightly limited and documented. Device activation (email code on new IP) is a different control from MFA.