"Cannot find Template User object" error when you find contacts that use a consumer domain in Exchange Server 2013

Applies to: Exchange Server 2013 EnterpriseExchange Server 2013 Standard Edition


This issue occurs when you run the get-mailcontact cmdlet to retrieve all specified contact information from a consumer domain (such as hotmail.com, live.com, and outlook.com) in a Microsoft Exchange Server 2013 environment that has Cumulative Update 6 installed. When this issue occurs, you receive the following error message:
Cannot find Template User object.
+ CategoryInfo: NotSpecified: (:) [], ADTransientException
+ FullyQualifiedErrorId: [Server=ServerName, RequestId=RequestID, TimeStamp=Date/Time] [FailureCategory=Cmdlet-ADTransientException] 3CEE4953
+ PSComputerName: computer name


This issue occurs because Exchange Server 2013 is looking for a nonexistent object in a container that is one of the special consumer domains in the on-premises environment.


To resolve this issue, install Cumulative Update 9 for Exchange Server 2013.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.