Symptom
You deleted a user in Alibaba Cloud IDaaS (EIAM) with account synchronization enabled, but the corresponding RAM user was not deleted through synchronization.
Possible causes
-
The RAM user is in a special state, such as having an MFA device bound, an AccessKey configured, or membership in a user group.
-
The synchronization scope is incorrectly configured. Check whether the organization of the deleted user is the same as the organization in the configured synchronization scope. If the organizations are different, the synchronized deletion is not triggered.
-
Incorrect parameter settings cause the synchronization request to fail.
Precautions
-
Back up important information: Before you delete a RAM user, make sure that no important resources or permission configurations are associated with it.
-
Impact assessment: After a RAM user is deleted, the user and the roles that it assumes are forcibly signed out and cannot be automatically restored.
-
Permission management: Make sure that the administrator who performs the preceding operations has sufficient permissions, such as
AliyunRAMFullAccess.
Solution
IDaaS cannot automatically synchronize the deletion of a RAM user that is in a special state. Perform the following manual operations:
Step 1: Remove the special state of the RAM user
-
Remove the user from user groups:
-
Log on to the Alibaba Cloud RAM console.
-
In the left-side navigation pane, choose .
-
Find the target RAM user and click its name to go to the details page.
-
In the user group section, remove the RAM user from all user groups.
-
-
Unbind the MFA device (if any):
-
In the RAM console, go to the details page of the target RAM user.
-
Under , in the Security Information Management section, unbind the MFA device. For details, see Unbind an MFA device for a RAM user.
-
-
Delete AccessKeys (if any):
-
On the details page of the target RAM user, go to the AccessKey management section.
-
Delete all configured AccessKeys.
-
Step 2: Manually delete the RAM user
-
Log on to the RAM console.
-
In the left-side navigation pane, choose .
-
Find the target RAM user and click Remove in the Actions column.
-
Follow the on-screen instructions to complete the deletion.