How do I troubleshoot the "MFA device already exists" error when an IAM user tries to create a new MFA device?
2 minute read
0
I tried to create a new multi-factor authentication (MFA) device for an AWS Identity and Access Management (IAM) user. I received an error similar to the following: "MFA device already exists." The IAM user doesn't have any MFA devices.
Resolution
If you create an MFA device but you don't activate it for IAM users, then this error occurs when you create a new MFA device. This error occurs only when you use the AWS Command Line Interface (AWS CLI) to create a new MFA device. First, use the AWS CLI to delete the MFA device. Then, recreate the MFA device.
If you don't find unassigned devices with the same name, then that same device name was used for an MFA device by another user. Use a different name for your MFA device.