Exchange Online – Hybrid Configuration Wizard Could not convert string to DateTimeOffset error

As you are now aware, the Exchange Hybrid Configuration Wizard (HCW) has been recently updated (see to reach a new major version(

Well, after updating the HCW to the latest version, you may face the following issue when you try to run it to configure or update your Exchange Hybrid Configuration when connecting to your Exchange Online tenant (initial steps)

Could not convert string to DateTimeOffset: 0001-01-01T00:00:00. Path ‘[0].LastDirSyncTime’, line 1, position 155.


While an update version is coming through, the workaround is to set the time zone of the device running the HCW to UTC (or less)


Or using the command prompt (run as administrator)

tzutil /s “UTC”

Benoit Hamet
Benoit Hamet
Benoit is working on Microsoft collaborative technologies He has been awarded as MVP for more than 12 years Currently MVP on Office 365 after being awarded on SharePoint (2011-2012) and Windows client & server (2002-2007) Speaker at various Microsoft events (TechDays, TechNet seminars) and Quest Software He works on on-premises (Active Directory, RADIUS/NPS, Exchange, Skype for Business, SharePoint, SQL, Terminal Server, Windows client and Windows Server) or online (Azure, Intune, Office 365, Exchange Online, SharePoint Online, Skype for Business Online, Teams) technologies