Delegated Administrative Policy error to add CreateOrganisationalUnit

0

I have created a Delegation Policy and assign it to an account so that I can login as the user in that account to perform Adminstrative tasks just like root.

Unfortunately, I am not able to create OU when I login as the user assigned as the delegated administrator.

When I review the Policy for the Delegated Administrator, there is no permission for CreateOrganisationalUnit. Below is the Policy for the Delegated Administrator.

After I added "organizations:CreateOrganizationalUnit" to the policy below and clicked Save Policy, I get an error: Failed to edit delegation policy. API Response: This resource-based policy contains an unsupported action.

  1. How do I fix the error above?
  2. Is there a way I can create an administrator user to inherit permissions from root without having to assign individual permissions?
  3. Can I assign the managed permission set such as billing, AdministratorAccess etc to the Delegated administrative Policy?
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "DelegatingNecessaryDescribeListActions",
      "Effect": "Allow",
      "Principal": {
        "AWS": "arn:aws:iam::111111111117:root"
      },
      "Action": [
        "organizations:DescribeOrganization",
        "organizations:DescribeOrganizationalUnit",
        "organizations:DescribeAccount",
        "organizations:DescribePolicy",
        "organizations:DescribeEffectivePolicy",
        "organizations:ListRoots",
        "organizations:ListOrganizationalUnitsForParent",
        "organizations:ListParents",
        "organizations:ListChildren",
        "organizations:ListAccounts",
        "organizations:ListAccountsForParent",
        "organizations:ListPolicies",
        "organizations:ListPoliciesForTarget",
        "organizations:ListTargetsForPolicy",
        "organizations:ListTagsForResource"
      ],
      "Resource": "*"
    }
  ]
}
profile picture
Lottie
已提问 4 个月前207 查看次数
2 回答
0
已接受的回答

Be aware of the following:

-The CreateOrganizationalUnit permission needs to be explicitly added to the policy for the delegated administrator role. -AWS Organizations does not support resource-based policies for delegated administrators. The policy must use the supported action-based format. -As a best practice, consider creating an IAM group with the required administrator permissions, then assigning the group to the delegated user instead of individual permissions.

To create an administrator group: -Open the IAM console and create a new group called "Administrators" -Attach the managed policy "AdministratorAccess" to grant full administrative permissions -Add users to the group to inherit the permissions

profile picture
专家
已回答 3 个月前
0

https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_delegated_admin.html

By registering a member account as a delegated administrator for an AWS service you enable that account to have some administrative permissions for that service, as well as permissions for Organizations read-only actions.

The best way to avoid using root user is to create a user and assign it to the Management account, then assign permission set AdministratorAccess to the user using Identity Center.

The purpose of Delegated Administrator is mainly to manage all of the organization's accounts used in the service and reduce the use of management account.

profile picture
Lottie
已回答 3 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容