Skip to main content

The Identity at the Core

The Definitive Chronicle of Identity & Access Management

Are You a Victim of the Entra Connect Health API Vulnerability? Lets Dive in..

A four-month vulnerability in Microsoft’s Entra Connect Health API exposed administrator emails and tenant metadata to unauthorized actors. Here is how to verify whether you received Microsoft’s notification, pull your exposure report with the official GitHub script, and defend against the coming wave of spear phishing and social engineering.

By Paulo Barrilli
3 min read41 views0 comments

Microsoft quietly patched a four-month-old cloud API flaw that handed attackers a curated directory of enterprise administrators and tenant metadata. There is nothing for you to patch, which means the real headache is just beginning.

If your inbox recently lit up with an email titled "Important Security Notification Regarding Microsoft Entra Connect Health," do not immediately dismiss it as another routine cloud alert. Better yet, do not click a single link inside that email either.

Between July 23 and November 19, 2026, a vulnerability inside Microsoft’s own Entra Connect Health API allowed an unauthorized party to achieve read-only access to tenant configuration metadata across affected organizations. Microsoft detected the flaw on November 9, deployed a service-side fix on November 19, and wrapped up its investigation on November 20. Because the bug lived in Microsoft’s cloud infrastructure rather than on customer hardware, Microsoft did not assign a CVE and stated that no customer software updates are required.

That sounds comforting until you look at what actually walked out the door.

The Notification Letter Sent to Affected Tenants

Microsoft began notifying compromised organizations through Azure Service Health security advisories and direct emails to technical contacts. In the notice, Microsoft confirmed that while its investigators found no evidence of unauthorized configuration changes, an outside party successfully pulled sensitive tenant metadata from the API.

Microsoft was quick to reassure customers about what was not taken: no user passwords, no password hashes, no authentication tokens, no valid cryptographic keys, and no Azure subscription details. However, the company has refused to disclose how many tenants were hit or who was behind the four-month harvesting spree. Worse still, because the unauthorized API reads happened entirely inside Microsoft’s backend, they do not show up in your own sign-in or audit logs.

The GitHub Script That Reveals Your Exposure

To help security teams understand their blast radius, Microsoft published a read-only PowerShell script inside the Connect Health folder of its Entra ID Governance GitHub repository.

Running this script queries your environment and generates a report of the exact metadata fields that the Connect Health API returns for your tenant. Keep in mind that the script shows your current configuration values rather than a forensic log of the attacker's requests, but it gives your team a clear mirror of the intelligence an adversary now holds. You should access the repository link strictly through the official Azure Service Health portal notice and review the script code before executing it.

The Goldmine That Can Be Used Against Your Company

On paper, "tenant metadata" sounds boring. In the hands of a competent threat actor, it is the ultimate starter pack for a breach. According to Microsoft’s notification, the exposed API responses included:

  • Administrator and Technical Contact Emails: A verified list of the exact people who hold the keys to your cloud kingdom.

  • Core Tenant Identifiers: Your Tenant ID, tenant display name, initial domain name, country code, and regional scope.

  • Operational and Licensing Intelligence: Your Microsoft Entra license tier, Connect Health onboarding status, and directory synchronization status (including whether sync is enabled and the exact last sync timestamp).

  • A Legacy Expired Certificate: An old certificate previously used to register Connect Health agents with an internal service retired in late 2024 that Microsoft never bothered to clean out of API responses.

Brace Yourself: Spear Phishing, Social Engineering, and Your Entra Connect Server

Because attackers cannot log in directly with this data, they are going to use it to trick your people into letting them in. Security teams should prepare immediately for three major follow-up threats:

  • Hyper Realistic Spear Phishing: Normally, attackers have to guess who your Global Administrators are. Now they have the exact email addresses, your real Tenant ID, and your exact sync status. A phishing email saying "Your Entra Connect sync failed at 02:14 for Tenant ID [Your Real ID], click here to review" or a forged copy of Microsoft’s own security notification will sail right past standard human skepticism.

  • Help Desk Social Engineering: Armed with your tenant display name, licensing tier, and technical contact names, attackers can easily impersonate IT staff or Microsoft support over the phone to bully help desk agents into resetting passwords or MFA tokens. For Managed Service Providers (MSPs), the danger multiplies, as attackers can map out which MSP admin emails control dozens of downstream client tenants.

  • Targeting Your Entra Connect Infrastructure: While Microsoft stated that internal Active Directory topology details were not returned by the API, the leaked metadata confirms to attackers that your organization runs hybrid directory synchronization. Any organization running Entra Connect has a Tier 0 crown jewel server sitting on premises. If an attacker leverages a phished admin account or probes your perimeter looking for a disclosed or unpatched Entra Connect server, compromising that single machine hands them control over both your local Active Directory and your cloud tenant.

What Is Critical to Do Next

Microsoft fixed the API, so your job now is pure damage control and hardening. Execute these steps in order:

  1. Verify in the Portal, Never the Email: Type the Azure portal address directly into your browser, navigate to Service Health, and check Security advisories. Treat the portal as your only source of truth, because forged versions of Microsoft's warning email are already the most obvious phishing lure on the planet.

  2. Pull Your Exposure Report: Grab Microsoft’s PowerShell script from the official Entra ID Governance repository linked in the portal advisory and run it to document every email address and configuration detail exposed.

  3. Brief Your Admins and Help Desk Today: Put every Global Administrator, technical contact, and Connect Health notification recipient on high alert. Lock down help desk reset procedures so that privileged account password or MFA resets require strict out-of-band verification.

Enforce Phishing-Resistant MFA: Move every privileged account to FIDO2 security keys, passkeys, or Windows Hello for Business using Conditional Access policies. Standard SMS or push notification MFA will not survive a convincing spear phishing campaign.

Block Device Code Flow and Isolate Admin Accounts: Disable device code authentication via Conditional Access for administrators, and separate privileged accounts from daily email mailboxes. An admin account that cannot receive email cannot be phished by email.

Audit Your Entra Connect Server and Logs: Verify that your on-premises Entra Connect server is fully patched, tightly isolated from general network traffic, and monitored. At the same time, hunt through your Entra sign-in logs back to July 2026 for any unexpected MFA method registrations, suspicious Conditional Access edits, or anomalous admin logins.

#microsoft-entra#entra-connect-health#api-vulnerability#spear-phishing#social-engineering#identity-security#azure-service-health#cloud-security#cybersecurity#incident-response
Share:XLinkedInFacebook

Get the Intelligence Brief

Breaches, CVEs and IAM news in one email, as often as you choose.

By subscribing you agree to receive email from Paulo Barrilli, publisher of Identity at the Core. You can withdraw consent at any time with the unsubscribe link in every email, or by writing to contact@identityatcore.org.

Be the first to comment

Members only: sign up if you have something worth saying.

Want to weigh in? Sign in or create a free account.

No comments yet.