This is happening because the CP6 attribute can only hold 256 characters. AAD has a default mapping also defined in code and the data imported from AAD is more than 256 for 1 of the Entitlements attributes. This issue is fixed in the latest release and you can check with the Support team/CSM to get the fix.
Alternatively you can try to map CP6 with any other field which does not have large data.
we are using 23.0 latest version, still we have this same issue. for an alternative option do I need to change the CP6 value to some other CP for all the entitlement types which are in entitlement_attribute json?
You will need to update CP6 for all entitlements type to another unless you are aware which type has a value larger than 256 character.
CP1 to 5 are of longtext type for now and you can check for your environment specific from Data Analyzer as well.
- Navigate to Admin>Admin Function>Data Analyzer.
- Expand entitlement_values and hover to the i icon corresponding to the column you want to check