Unable to add accounts to the Access Request Policy Scope
说明
When trying to add accounts to the Entitlement > access request policy > Scope tab
The following error appears:
HTTP failure response for https://{Safeguard_Hostname}/service/core/v4/PolicyAccounts?count=true&filter=not%20Id%20in%20{xxxx}..... 400 OK
where {xxxx} is the ID of the existing accounts that are explicitly defined in the Scope which the API call is trying to filter out.
原因
When a large number of accounts are added in the Scope explicitly, The HTTP API call failed with the error below: HTTP Error 400. The size of the request headers is too long
解决办法
Use Account Groups instead of adding accounts individually in to the Scope tab.