access denied for DescribeOrganizationConfiguration API action

0

Hi Team, I am getting access denied for DescribeOrganizationConfiguration API action. event source: inspector2.amazonaws.com. note: I have administrator access and why i get this error.

asked 7 months ago259 views
1 Answer
0

Hi,

Please check if the account is listed as the delegated admin account through:

  • aws inspector2 list-delegated-admin-accounts

If your aws account is not returned in the above command, the delegated admin account needs to be enabled with the following command:

  • aws inspector2 enable-delegated-admin-account --delegated-admin-account-id YOUR_ACCOUNT_ID

After that, the command "aws inspector2 describe-organization-configuration" should work.

profile pictureAWS
Feng_C
answered 7 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.

Guidelines for Answering Questions