AWS 'Not Authorized to Perform' IAM Error
Quick answer
The error text says who, which action and why: add an Allow for that action on the resource, or remove the explicit deny in the SCP, permissions boundary, session policy or resource policy it names.
Most likely fix: Read the suffix of the error
How to fix it
Try these in order — the most common fix is first.
1. Read the suffix of the error
- 'because no identity-based policy allows ...': add an Allow
- 'with an explicit deny in a ... policy': find that Deny
- Policy type can be service control, resource control, VPC endpoint, permissions boundary, session, resource-based or role trust
Did this fix it?2. Add the missing permission
- IAM > Users or Roles > Permissions > Add permissions
- Grant the exact action (for example lambda:InvokeFunction) on the resource ARN, with least privilege
Did this fix it?3. Check other policy layers
- Permissions boundary on the principal
- SCPs via AWS Organizations
- Role trust policy for sts:AssumeRole
Did this fix it?4. Rule out credentials problems
- aws sts get-caller-identity to confirm which identity you use
- Refresh expired temporary credentials
Did this fix it?5. Ask an admin
- In the console the message means you need an administrator to change your policies
Did this fix it?
Symptoms
User: arn:aws:iam::... is not authorized to perform: <service>:<Action> on resource: ...
Why it happens
- No identity-based policy allows the action (implicit deny)
- Explicit Deny somewhere
- Service control policy or resource control policy
- Permissions boundary
- Session policy on assumed role
- Resource-based policy or role trust policy missing the principal
- Expired temporary credentials
This guide also covers
- is not authorized to perform aws
- aws iam access denied
- aws explicit deny in identity-based policy
- aws sts assumerole not authorized
Still not working?
If AWS keeps failing, you're not alone. See every AWS problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usThe same problem in other apps
Other AWS errors
- AWS Unexpected Charges: Why Is My AWS Bill So High?
- AWS Charges After Free Tier: Why Am I Being Billed?
- AWS Account Suspended: How to Reactivate It
- EC2 SSH Connection Timed Out
- EC2 SSH 'Permission denied (publickey)' and Key File Errors
- S3 Access Denied (403 Forbidden) Error
- Lambda 'Task timed out after 3.00 seconds' Error
- CloudFront 403 Error: The Request Could Not Be Satisfied