Permission check may fail with the error "User not found", if CPM was deployed using CloudFormation
check may fail with the error "User not found", if CPM was deployed
using CloudFormation. This could be seen in policy permissions check CSV file:
(log bundle/policy_check_AWSDEVTEST.csv example)
Error Evaluating Permissions for account (AWSDEVTEST), identified by (Undefined): An error occurred (NoSuchEntity) when calling the GetRole operation: The user with name N2WS-Backup-Restore-CPMInstanceProfile-13EQJDOU00EGG cannot be found.
Error will also occur
when editing an account:
Or if you try to check AWS permissions for this account:
If you face this issue, please use CloudFormation for the latest 2.4.X version.
Temporary workaround could be manual deployment or using edited template.
Please edit the template so as to have specific "InstanceProfileName" and "RoleName" and make them similar:
Make sure that these names is differ from other roles and profiles.
Or simply use the template attached to this page.
Reference defect number – N2WS-3578, fixed in v2.4.0