When managing Active Directory (AD) groups within CA Identity Portal, access requests may fail if the group name (Distinguished Name) exceeds 255 characters. This article provides the cause and the SQL workaround to address this limitation.
When attempting to add or remove an Active Directory group, the request fails with the following errors in the UI or logs:
com.microsoft.sqlserver.jdbc.SQLServerException: String or binary data would be truncated in table 'PORTAL.dbo.request_account', column 'entitlement_id'.org.hibernate.exception.DataException: could not execute statementThis is a known limitation of the current Identity Portal database schema, which restricts the column length for entitlement identifiers.
To resolve this issue, the column length for the request_account table must be increased in the database.
Warning: Always perform a full database backup before executing any structural changes.
For MS SQL Server: Run the following commands:
For Oracle Database: Run the following commands: