How do I troubleshoot the "entity 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 entity at the same path and name already exists." The IAM user doesn't have any MFA devices.
Resolution
If an MFA device is created but isn't activated for use with IAM users, then this error occurs. First, deactivate the MFA device. Use the AWS Command Line Interface (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.