Skill 4.1.3

Troubleshooting authentication issues (for example, CloudTrail, Amazon Cognito, IAM Identity Center permission sets, AWS Directory Service)

Key Concepts

CloudTrail records ConsoleLogin (with failure reasons), AssumeRole* calls and errors such as AccessDenied or InvalidIdentityToken. Common causes: the trust policy does not allow the principal or is missing the external ID/condition, the SAML assertion's role or audience attribute is wrong, certificates expired, or clock skew.

IAM Identity Center: the user or group is not assigned to the account with the permission set, SCIM did not provision the user, or the permission set was not re-provisioned after changes. Cognito: app client settings, callback URLs, token expiry or user pool triggers. Directory Service: AD Connector needs network connectivity and DNS to on-premises domain controllers and a service account with the right rights.