Using ADLDS as Policy Store, there is a limitation on the length of the object attributes that could not be more than 64 chars. This can be verified when you create agent with a name of 66 characters.
Note: It works fine with other LDAP or ODBC as Policy Store.
There is a limitation with ADLDS from Microsoft
Common names are limited to 64 characters. For more information, see Common-Name Attribute (http://go.microsoft.com/fwlink/?LinkId=153706).
You may want to Increase the rangeUpper attribute of the object Common-Name fix the problem.
Note: If you decide to do this you would need to test your complete solution as there could be some consequences of doing such as some tools or functionalities may not work as expected. Please check the following URL: