Getting Error Message after entering MFA code on GovCloud admin account

0

After I enter the username and password for GovCloud signin, I am prompted for the MFA code. When I entered the code, I received the message: "Your authentication information is incorrect. Please try again." There's not an option for resyncing device. I signed into this account a couple of days ago without any issue. Also tried login from different machine.

Can someone from AWS contact me about a reset? I am able to log into the main account with the root user but unable to manage the govcloud user with that login. Thank you!

asked 3 years ago638 views
1 Answer
1

Problem solved. Luckily, I have an access key(and found it) for the account and was able to use AWS CLI to deactivate the mfa device.

  1. Installed AWS CLI
    https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html
  2. Executed the following from the command line to list the mfa device for current account
    aws iam list-virtual-mfa-devices
  3. Executed the next command to deactivate the mfa device substituting my user-name and serial-number for this example
    aws iam deactivate-mfa-device --user-name Bob --serial-number arn:aws:iam::210987654321:mfa/BobsMFADevice
  4. Logged-in and assigned a new MFA device.
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions