You try to use the Hybrid Configuration Wizard or the Set-HybridConfiguration Exchange Management Shell cmdlet to set up a hybrid deployment between your on-premises Microsoft Exchange Server 2013 or Microsoft Exchange 2010 environment and Microsoft Exchange Online in Office 365. However, you receive an error message that states that the value of the TlsCertificateName parameter exceeds the maximum limit of 256 characters. The error message resembles the following:
The length of the property is too long. The maximum length is 256 and the length of the value provided is <Number>.
This issue occurs if the value of the rangeUpper attribute for the TlsCertificateName parameter contains more than 256 characters. Certificate names can't have more than 256 characters.
To fix this problem, use one of the following methods.
If you're running Exchange 2013 and you specify an Edge Transport server in the Hybrid Configuration wizard
Warning This procedure requires Active Directory Service Interface Edit (ADSI Edit). Using ADSI Edit incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems that result from the incorrect use of ADSI Edit can be resolved. Use ADSI Edit at your own risk.