Learning center

Trace an AWS denial to a service control policy

When AWS reports a service control policy restriction, trace the principal's member account through its organizational units to the root. A service control policy (SCP) sets limits on principals in member accounts and supplies no grant by itself.

In an illustrative inventory rollout, a role in account 111122223333 has ec2:DescribeInstances, but the account moved from a development OU to a restricted OU. The new OU's SCP explicitly denies that action in the requested Region. Ask an Organizations reader to reconstruct the account's ancestry and inspect the applicable SCP statements. Compare their conditions with the Region and principal in the failed request. The move gives you a change to investigate. The matched policy statement provides the causal evidence. SCP evaluation across the organization ยท AWS access-denied examples

Take a legitimate regional exception to the organization policy owner with the account, action, Region and request receipt. A role grant leaves a matching SCP deny in effect.

Trace another denied request.

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading