Error When Creating SCA Access Policy with Too Many AWS Accounts
Symptom
I receive an error when creating an SCA access policy after selecting many AWS accounts. Why does this happen, and how can I resolve it?
Environment
Secure Cloud Access (SCA) SCA UI
Cause
This issue occurs when the access policy exceeds the maximum number of supported entities (assignments) for that policy type.
In the UI, this may appear as the following error:
“We’re having trouble applying your changes. Please try again in a few minutes. If that does not work, contact your administrator.”
In such cases, the policy creation fails because the maximum entity limit per policy has been exceeded. For certain AWS SCA policy types, this limit can be reached when selecting a large number of AWS accounts or assignments (for example, more than ~200 assignments, depending on the policy configuration).
Resolution
Workaround
Split the configuration across multiple SCA policies, ensuring that each policy stays within the supported assignment limits.
Additional Information
- Official documentation (policy limits and behavior):
https://docs.cyberark.com/admin-space/latest/en/content/uap/policies-cloud-access.htm#Createacloudconsolepolicy - Community reference / enhancement request:
https://community.cyberark.com/s/article/SCA-UAP-policy-support-for-more-than-200-assignmen-6858-855