Why the app exists
Before 2025, HCW uploaded the Exchange Auth Certificate to the shared first-party Exchange Online service principal. Because EWS is retiring in Exchange Online, Microsoft blocked that route. Since October 31, 2025, EWS through the shared service principal is permanently blocked. Free/busy, MailTips and photos in hybrid now need a supported build plus a dedicated Exchange hybrid app in Entra ID. Rolling back to the shared service principal does not restore them, and rerunning HCW to upload the certificate again does not either.
Before you start, hybrid must be Classic Full or Modern Full, configured with HCW.
Creating and enabling it
This is script and PowerShell work; there is no EAC page for it. The tool is ConfigureExchangeHybridApplication.ps1:
- All-in-one mode (-FullyConfigureExchangeHybridApplication) is recommended, but is not compatible with Server Core.
- Split execution mode is for servers with no internet access or separated roles.
- -UseGraphApiOnly creates the app without EWS permissions.
HCW can create the app with EWS permissions, but HCW does not enable it. You turn it on with:
New-SettingOverride -Name "EnableExchangeHybrid3PAppFeature" -Component "Global" -Section "ExchangeOnpremAsThirdPartyAppId" -Parameters @("Enabled=true")
Cleaning up
HCW also does not remove old certificates. Clean-up mode (-ResetFirstPartyServicePrincipalKeyCredentials) removes them from the shared service principal and mitigates CVE-2025-53786. Clean-up needs a Global Administrator. Trap: clean-up removes certificates; it does not enable anything, and the SettingOverride enables the app; it removes nothing.
One app per tenant
HCW has supported 1:N hybrid (one organization, several tenants) since September 2020. The script must run once per tenant: three tenants, three runs. The count follows tenants, not servers.