Fix: Hybrid Configuration Wizard unable to connect to Office 365

HCW_365-connection-failure

If you’ve got a Microsoft 365 tenant created after late March 2023 (or you’re otherwise reading this in June 2023), you may find that you are faced with the below error when running the Hybrid Configuration Wizard (HCW): This is because Microsoft has began disabling Remote PowerShell in Exchange Online, starting with new tenants. In … Read more

Fix: “Not valid SMTP address” while adding migrated mailbox permissions

A customer recently came to me with an issue leaving them unable to add permissions for a migrated user to an on-prem calendar. Upon attempting to do this, they received the below error: A very confusing issue as the mailbox Exchange is looking for most certainly does exist. A quick check using the below command … Read more

Fix: Cryptographic exception error when assigning certificates on Exchange

During a certificate renewal on Exchange 2016, I received the below error while attempting to assign services to the new certificate: You’ll also see a similar message when generating new self-signed certificates via PowerShell: In my case, this was caused by McAfee Endpoint Security. Disabling Threat Prevention and Adaptive Threat Protection allowed me to complete … Read more

Fix: Modern Hybrid Agent exit code 1603 on Exchange 2016

Setup terminated with an Exit Code 1603.

Updated 25/05/23 to include .reg file Today I was faced with a new issue while running through the Hybrid Configuration Wizard on a new Exchange 2016 machine running Windows Server 2016. This error can also be seen in the HCW log file which can be found in %AppData%\Roaming\Microsoft\Exchange Hybrid Configuration on the machine running HCW. … Read more

Fix: ScriptingAgent error on Exchange 2016

I recently worked with a client to install a new Exchange 2016 server into an existing Exchange 2010 environment. The install was smooth and all tests were successful, however I faced a recurring warning whenever using the New-Mailbox cmdlet. This error was present in both EAC and EMS (full error can be found at the … Read more

How to: Remove domain-specific Public Folder SMTP proxy addresses

In preparation for migrating legacy Public Folders to Exchange 2016, I needed to remove a large number of SMTP proxy addresses that that used the “@local” domain, created by an old email address policy. Many scripts exist for this purpose, should you only need to update mailboxes, however I was unable to find anything that … Read more