Help us improve the AWS re:Post Knowledge Center by sharing your feedback in a brief survey. Your input can influence how we create and update our content to better support your AWS journey.
Why is there an unknown principal format in my IAM resource-based policy?
2 minute read
0
I tried to edit my AWS Identity and Access Management (IAM) resource-based policy, but it has an unknown principal with random characters.
Example format after the resource-based policy is saved:
"AIDAJQABLZS4A3QDU576Q"
"AROAKSCDLFT9R5DQP782U"
The unique principal ID in a resource-based policy indicates that the IAM user or role was deleted. The principal ID appears because AWS can't map it back to a valid ARN.
To resolve this issue, you must either remove the principal ID or replace it with a valid Principal ARN. The ARN changes to the user or roles new unique ID after you save the policy.