Skip to content

AWS Backup error: Failed to save policy. You don't have permissions to access this resource.

0

Hi all

I created a backup account in my organization. I made the backup account as the delegated admin account for backup. I'm using AWS Identity Center, the user has the AdmistrativeAccess for the Backup account.

But when I tried to create a backup policy in the backup account, I encountered the following error:

Failed to save policy.
You don't have permissions to access this resource.

What could be wrong?

Thanks.

asked 10 months ago279 views
2 Answers
0

Hello.

If you check the CloudTrail event history, you may be able to find a more detailed error message.
https://docs.aws.amazon.com/awscloudtrail/latest/userguide/tutorial-event-history.html

Please check not only the IAM Identity Center user policy but also whether the action is being denied by SCPs, etc.
https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html

EXPERT
answered 10 months ago
0

This error suggests you're facing a permissions issue when trying to create a backup policy in your AWS Backup delegated admin account. Even though you have AdministrativeAccess for the Backup account through AWS Identity Center, there might be specific permissions missing.

When you back up and restore resources with AWS Backup, you need both permission to use AWS Backup itself and permission to access the resources you want to protect. The easiest way to ensure proper permissions is to choose the "Default role" when assigning resources to a backup plan.

For your specific issue, there are a few potential causes:

  1. The IAM role you're using might not have sufficient permissions to create backup policies. Even with AdministrativeAccess, there could be specific AWS Backup policy-related permissions missing.

  2. If you're trying to create an organization-level backup policy, you might need additional permissions in AWS Organizations.

  3. There might be a resource-based policy restricting access to the backup vault or other AWS Backup resources.

To troubleshoot this issue:

  1. Verify that your IAM role has the necessary permissions for AWS Backup operations, particularly for creating backup policies.

  2. Check if there are any explicit deny statements in any policies attached to your role or user.

  3. If you're working with AWS Organizations, ensure you have the proper permissions to manage organization policies.

  4. You can use AWS CloudTrail to view detailed error messages or logs that might provide more specific information about the permission issue.

If the issue persists, you might need to attach specific AWS Backup service role policies to your IAM role, such as those that grant permissions for backup and restore operations for the specific resource types you're working with.
Sources
Troubleshooting AWS Backup - AWS Backup
An error when attempting a backup | AWS re:Post
Access control - AWS Backup

answered 10 months ago
EXPERT
reviewed 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.