How to increase the number of allowed chars in Group name (pre Windows 2000)
When you create a new Active Directory group or edit group properties in the Web Portal you can get the error: String is too long (maximum 20 chars) in the Group name (pre-Windows 2000) field.
Cayosoft Administrator has 20 characters limitation because it is recommended by Microsoft in case of backward compatibility, the details you can get from this article: SAM-Account-Name attribute.
This is not a hard limit and you can increase the max number of allowed characters in the Group name by Attribute Policy.
How to increase the number of allowed chars in the Group name
Follow the steps below to increase the maximum number of characters in the Group name in Active Directory new group wizard and in group properties form to 64:
In the Cayosoft Administrator Console, navigate to Web Portal.
Click Attribute Policies.
Click Add Attribute Policy (also you can modify an existing policy if you have a suitable one).
Enter the policy name and select Trustees if you need to apply the policy only to specific trustees.
Click Add Scope > select Active Directory | AD Groups | Properties and New Group.
Select just created scope and find the Group name attribute.
Click Edit policy to modify Attribute Policy.
Set Max Characters to 64.
Click OK.
Select just created scope and find the Group name attribute.
Click Edit policy to modify Attribute Policy.
Set Max Characters to 64.
Check Generation value and click ....
-
In the Expression Builder: Group Name:
In the Tokens add DisplayName.
-
In the Exclude characters, select Characters prohibited for SamAccountName/UserPrincipalName.
NOTE: You can select the Custom characters setting and specify only those characters that you need to prohibit.
Set Limit Length to 64.
Click OK to close the dialog.
Save Changes.
Comments
0 comments
Please sign in to leave a comment.