Microsoft 365 Best Practices Library · Set up and run

Exchange hybrid security: protect the server that still connects to your cloud

In a hybrid setup, an Exchange server in your office and Exchange Online in Microsoft’s cloud trust each other. That trust is what lets calendars, mail and mailbox moves work across both. It also means the on-premises server matters to the security of your cloud tenant, even if it holds no mailboxes any more. Microsoft changed how this trust works in 2025. This guide covers what changed, how to check where you stand, and the settings that keep a hybrid server from being the weak point.

Prefer to have it done for you? IT Perfection provides Microsoft 365 managed services for companies in Irvine, Orange County and Los Angeles County.

Ali Hassani, CISSP and Certified CISO, IT PerfectionWritten by Ali Hassani, CISSP and C|CISO · 25+ years designing, securing and supporting business networks · Updated November 2026

Two engineers with laptops in a data center
1 · CheckWe find the server’s build, exposure and hybrid configuration.

Microsoft 365 Best Practices Library › Set up and run › Exchange hybrid security

What it isThe security of an Exchange hybrid deployment: supported and updated servers, the dedicated Exchange hybrid application in Microsoft Entra ID, Extended Protection, and limited network exposure.
Where it livesOn-premises Exchange Management Shell, the Hybrid Configuration wizard, and Microsoft Entra admin center › Applications
License neededNo extra license for the hybrid security steps themselves. Conditional Access for the hybrid application’s service principal needs Workload Identities Premium.
Time to set upHalf a day to assess; one to two days to update and reconfigure, depending on how far behind the server is.
Risk if missingHigh An out-of-date or over-exposed hybrid server is a route into both the office network and the Microsoft 365 tenant.

Why it matters

The forgotten server with a line to the cloud

After a migration, the hybrid Exchange server tends to be forgotten. Mail is in the cloud, so the server feels retired. But it is still reachable from the internet in many setups, still joined to the domain, and still holds credentials that Exchange Online accepts.

That combination is why Microsoft has tightened hybrid security step by step, and why a server left on an old build is not harmless.

UpdatesThe server needs current cumulative and security updates for as long as it runs.
IdentityHybrid features now use a dedicated application in Entra ID instead of a shared one.
ExposureEvery published service is something to defend. Publish only what is used.

What changed

The dedicated Exchange hybrid application

Until 2025, Exchange Server shared a service principal with Exchange Online for secure communication, and the Hybrid Configuration wizard uploaded the server’s certificate to it. Microsoft has replaced that design. Exchange Server now uses a dedicated application in Entra ID for hybrid scenarios, used only by your Exchange servers.

The practical effect: Microsoft states that rich coexistence features, namely Free/Busy, MailTips and profile picture sharing, no longer work through the old shared workflow. All Exchange servers must run a supported build and use the dedicated application for those features to function. If calendar availability between on-premises and cloud mailboxes stopped working for you, this is the first thing to check.

Exchange versionMinimum build that supports the dedicated app
Exchange Server Subscription Edition (SE)RTM
Exchange Server 2019CU14 or CU15 with the April 2025 hotfix update
Exchange Server 2016CU23 with the April 2025 hotfix update

Microsoft also strongly recommends one clean-up step for anyone who has, or ever had, a hybrid configuration: running its configuration script in Service Principal Clean-Up Mode, which removes certificates that were uploaded to the shared service principal and never removed. Microsoft’s documentation ties this clean-up to mitigating CVE-2025-53786.

Five areas to secure

Five things to get right

AreaWhat good looks likeHow to check
Supported, updated buildA version Microsoft still supports, with the latest cumulative and security updates.Microsoft’s Exchange Server Health Checker script.
Dedicated hybrid appCreated in Entra ID, enabled on-premises, old certificates cleaned up.The application exists in Entra ID and its sign-ins appear in the service principal sign-in logs.
Extended ProtectionEnabled. Microsoft warns that not enabling it leaves the server vulnerable to known Exchange vulnerabilities.Health Checker reports its state.
Network exposureOnly the services hybrid needs are reachable, from only the sources that need them.Your firewall rules, and an outside scan of the server’s address.
Mailboxes and roles on the serverNo mailboxes left behind; admin access limited and separate from daily accounts.The mailbox list on-premises and the membership of Exchange admin groups.

One caution on Extended Protection: Microsoft states it must not be enabled on the front-end EWS virtual directory of Exchange servers published through the Hybrid Agent (the “modern” hybrid method). Know which hybrid method you use before turning it on, and use Microsoft’s script instead of changing IIS by hand.

Before you start

What to have ready

  • The server’s exact version and build.
  • Which hybrid method was used. Classic or modern (Hybrid Agent). It changes the Extended Protection and firewall advice.
  • The roles. Organization Management on-premises; Application Administrator in Entra ID to create the application; Global Administrator for the clean-up step.
  • A tested backup of the server and of Active Directory.
  • A maintenance window. Updates restart services. Hybrid features can be unavailable for up to 60 minutes while the new application is recognized.
  • A list of what is published to the internet. From the firewall, not from memory.
  • A decision on the server’s future. If it can be retired, plan that instead of polishing it.

Step by step

Secure the hybrid configuration in seven steps

  1. Run the Health Checker

    Run Microsoft’s Exchange Server Health Checker script on each server. It reports the build, missing updates and the state of Extended Protection. Keep the report as your starting record.

  2. Update the server

    Install the latest cumulative update and security updates for your version. If the version is out of support, plan the upgrade or the retirement now: no setting makes an unsupported server safe.

  3. Create and enable the dedicated hybrid application

    Use Microsoft’s ConfigureExchangeHybridApplication.ps1 script, or the current Hybrid Configuration wizard. Note that the wizard creates the application but does not enable the feature by itself; Microsoft documents the extra command needed afterwards.

  4. Run the clean-up

    Run the script in Service Principal Clean-Up Mode to remove certificates left on the shared service principal. Microsoft strongly recommends this even if you configured the dedicated application earlier.

  5. Enable Extended Protection

    Check the prerequisites with Health Checker, then enable it with Microsoft’s ExchangeExtendedProtectionManagement.ps1 script. If you use the Hybrid Agent, follow the specific instructions for the front-end EWS directory.

  6. Reduce exposure

    Close everything the server no longer needs to offer. Restrict what remains to the sources that need it. For servers published through the Hybrid Agent, Microsoft recommends restricting inbound connections to the machine where the agent is installed, and hosting no mailboxes on those servers.

  7. Watch the application

    Microsoft Entra admin center › Monitoring › Sign-in logs › Service principal sign-ins

    Confirm the dedicated application is signing in, and review those sign-ins as part of your regular log review.

Recommended values

Settings at a glance

ItemRecommended
Exchange buildSupported version, latest cumulative and security updates
Hybrid identityDedicated Exchange hybrid application, feature enabled
Shared service principalOld certificates removed with Clean-Up Mode
Extended ProtectionEnabled, with the Hybrid Agent exception respected
Published servicesOnly those hybrid needs
Mailboxes on the hybrid serverNone
Health CheckerRun after every update and at least quarterly
The long termRetire the server when recipient management allows

Facts about the dedicated application, supported builds, the October 31, 2025 change and Extended Protection are from Microsoft Learn, Deploy dedicated Exchange hybrid app and Configure Windows Extended Protection in Exchange Server, checked November 22, 2026. Build requirements change with each update: read the current articles before you start.

Check that it works

How to confirm the result

  • Health Checker is clean. No missing security updates; Extended Protection reported as configured.
  • Free/Busy works both ways. A cloud user sees an on-premises user’s availability and the reverse, if you still have mailboxes on both sides.
  • The dedicated application signs in. Entries appear in the service principal sign-in logs.
  • The clean-up ran. The script reports no leftover certificates.
  • An outside scan shows only what you intend. Nothing else answers on the server’s public address.
  • No mailboxes remain on the hybrid server.

Mistakes and rollback

Common mistakes, and how to step back

  • Stopping updates after the migration. The server is still there, and still trusted.
  • Running the wizard and assuming the feature is on. The wizard creates the application; enabling it is a separate step.
  • Skipping the clean-up. Old certificates stay on the shared service principal.
  • Turning on Extended Protection everywhere with the Hybrid Agent. It breaks the front-end EWS directory the agent uses.
  • Leaving old firewall rules. Services nobody uses stay open.
  • Keeping the server “just in case”. If it has no job, retire it properly.

Rollback. Microsoft documents how to revert the dedicated application configuration, with a warning: because access through the shared service principal is permanently blocked, rolling back does not restore Free/Busy, MailTips or photo sharing. Use rollback only for troubleshooting or to reconfigure from scratch.

Licenses

Which plan gives you what

CapabilityRequirement
Dedicated hybrid application, clean-up, Extended ProtectionNo additional license.
Conditional Access restricting the application’s service principal to your server addressesWorkload Identities Premium licenses.
The Exchange server itselfLicensing for your Exchange version; check Microsoft’s current terms.

Have us do it

Prefer to hand this off?

IT Perfection secures Exchange hybrid deployments for companies in Irvine, Orange County and Los Angeles County: a Health Checker assessment, updates, the dedicated hybrid application and clean-up, Extended Protection, reduced exposure, and a plan to retire the server when it is no longer needed. You receive a written scope and a written quote before any work starts.

Ali Hassani, CISSP and Certified CISO, IT Perfection

Who does the work

Written by Ali Hassani, CISSP, C|CISO

Ali Hassani has 25+ years of hands-on experience in IT operations, cybersecurity, Microsoft infrastructure, network security and Azure, and works with businesses in Irvine, Orange County and Los Angeles County. Design, implementation and troubleshooting work is planned and reviewed by Ali personally.

This guide is for education and planning. It does not replace a professional audit, compliance assessment or vendor engineering review. Updated November 2026.

ISC2 CISSP badgeEC-Council Certified CISO (C|CISO) badgeCisco CCNP Routing and Switching badgeMCSE: Server Infrastructure badgeMicrosoft MCSE badgeMCSA: Security badgeCisco CCNA Cybersecurity badgeMCITP badge

FAQ

Exchange hybrid security: common questions

What is the dedicated Exchange hybrid application?

It is an application in Microsoft Entra ID used exclusively by your Exchange servers for hybrid communication with Exchange Online. It replaces the shared service principal that Exchange Server previously used.

Why did Free/Busy stop working in my hybrid setup?

Since October 31, 2025, access through the shared service principal is permanently blocked. Free/Busy, MailTips and profile picture sharing require a supported Exchange build and the dedicated Exchange hybrid application.

Which Exchange versions support the dedicated hybrid app?

According to Microsoft: Exchange Server SE, Exchange Server 2019 CU14 or CU15 with the April 2025 hotfix update, and Exchange Server 2016 CU23 with the April 2025 hotfix update.

Does the Hybrid Configuration wizard set everything up?

The current wizard can create the dedicated application, but Microsoft notes it does not enable the feature automatically and does not clean up certificates previously uploaded to the shared service principal. Both need separate steps.

Should Extended Protection be enabled on a hybrid server?

Microsoft recommends enabling it and warns that leaving it off makes the server vulnerable to known Exchange vulnerabilities. The exception is the front-end EWS virtual directory on servers published through the Hybrid Agent, where it must not be enabled.

Do I still need to patch Exchange if all mailboxes are in the cloud?

Yes. As long as the server runs, it needs current updates. It is still part of your network and still connected to your Microsoft 365 tenant.

Can I remove the hybrid server instead?

Often, yes, but it depends on directory synchronization and on what the server still does. See the decommissioning checklist before removing it.

Need this done for your business?

IT Perfection plans, installs and supports this for companies in Irvine and Orange County

The guides explain the steps. If you would rather have it done, planned and documented by an experienced engineer, these are the services that cover it. Design, implementation and troubleshooting work is planned and reviewed by Ali Hassani personally.

Microsoft 365 managed services

Exchange, Teams, SharePoint and OneDrive run and secured for you.

View service

Microsoft 365 migration and setup

Mail, calendars and files moved with a tested plan, secured from day one.

View service

SPF, DKIM and DMARC setup

Email authentication set up so your domain cannot be spoofed.

View service