We couldn't find a user's successful login using multi-factor authentication. Make sure you successfully log in at least once and that you are prompted for a second form of authentication
2 answers
Hi,
Once you login with two factor authentication, logout and login again then you can pass this scenario.
Please refer similar discussions:
https://developer.salesforce.com/forums/?id=906F0000000DEIJIA4
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A8HW3SAN
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A8s50SAB