Dear all, this post will provide you an idea to go through retirement of EWS from exchange online. All of this content from refer following two documents from Microsoft.
First up first, take a look at the prerequisites
1. Classic Full or Modern Full hybrid configuration needed
2. Exchange server version required as shown in the table

Check the Exchange version

Update if you need. If you have already CU15, Click the link below to update with the April 2025 HU
Configure whatever you want but make sure to consent with the grant administrative prevelidge.

After configuration completed, go to your enterprise application from the Entra ID to check if the application created successfully.

https://microsoft.github.io/CSS-Exchange/Hybrid/ConfigureExchangeHybridApplication/

Download Script:
https://github.com/microsoft/CSS-Exchange/releases/latest/download/ConfigureExchangeHybridApplication.ps1
.\ConfigureExchangeHybridApplication.ps1 -ResetFirstPartyServicePrincipalKeyCredentials

To enable dedicated hybrid app feature, execute this:

New-SettingOverride -Name "EnableExchangeHybrid3PAppFeature" -Component "Global" -Section "ExchangeOnpremAsThirdPartyAppId" -Parameters @("Enabled=true") -Reason "Enable dedicated Exchange hybrid app feature"

Get-ExchangeDiagnosticInfo -Process Microsoft.Exchange.Directory.TopologyService -Component VariantConfiguration -Argument Refresh | fl

From Entra ID > App registration > Certificates & Secrets, you can see the OAuth certificate which obviously from the Exchange server

Granted to use Office 365 Exchange Online which just as we configured from HCW

Create a new schedule from onboard mailbox(Cake01@cake.run.place)

Query the schedule from on-premises mailbox(Cake02@cake.run.place)

I just retrive the cake01's schedule arround 20:20.
Let's see the logs. Go 'Entra ID > Signin logs > Service Principal'

It shown as '2025-09-18T11:16:52Z' and it is '2025-09-18 20:16:52 (KST)'
Logs


So, the configuration looks good.
You need to uncheck 'Oauth, Intra Organisation Connector and Organisation Relationship' from now on.. if not, you have to do all of this procedure again from the start..

