"Object does not match target type" error when you use the Exchange 2010 Management Console to view Exchange Online mailbox properties

PROBLEM
When you try to use the Exchange Management Console in an on-premises Exchange Server 2010 installation to view the properties of an Exchange Online mailbox, you receive an error message that resembles the following: 
Object does not match target type.
Additional information:

at System.Reflection.RuntimeMethodInfo.CheckConsistency(Object target)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
at Microsoft.Exchange.Management.SystemManager.WinForms.DataObjectStore.GetValue(String name, String propertyName)
at Microsoft.Exchange.Management.SystemManager.WinForms.AutomatedDataHandlerBase.UpdateTable(DataRow row, String targetConfigObject, Boolean isOnReading)
at Microsoft.Exchange.Management.SystemManager.WinForms.AutomatedDataHandler.OnReadData(CommandInteractionHandler interactionHandler, String pageName)
at Microsoft.Exchange.Management.SystemManager.WinForms.DataHandler.Read(CommandInteractionHandler interactionHandler, String pageName)
at Microsoft.Exchange.Management.SystemManager.WinForms.DataContext.ReadData(CommandInteractionHandler interactionHandler, String pageName)
at Microsoft.Exchange.Management.SystemManager.WinForms.ExchangePage.<OnSetActive>b__0(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)


This is a known issue in Exchange Server 2010. Mainstream support for Exchange Server 2010 ended on January 13, 2015. For more information, see Microsoft Support Lifecycle
WORKAROUND
To view the recipient properties for mailboxes in an environment that has directory synchronization enabled, use the Exchange admin center in Exchange Online, or use Exchange Online PowerShell.

Note You can still use the on-premises Exchange Management Console to create and manage mailboxes in Exchange Online.
MORE INFORMATION
Still need help? Go to the Office 365 Community website or the Exchange TechNet Forums.
Properties

Article ID: 3142004 - Last Review: 02/23/2016 01:24:00 - Revision: 2.0

Microsoft Exchange Online, Microsoft Exchange Server 2010 Enterprise, Microsoft Exchange Server 2010 Standard

  • o365e o365m o365022013 o365 o365a KB3142004
Feedback