Defender 2FA Not Working

I activated 2FA and saved the settings. It’s still saying – Two-factor authentication is currently inactive. Configure and save your settings to complete setup.

Can you please check?