# Microsoft Entra Connect Health API Flaw Exploited to Read Tenant-Level Metadata (No CVE Assigned)

> A flaw in the Microsoft Entra Connect Health API, introduced on 23 July 2026 and detected by Microsoft on 9 November 2026, allowed unauthorized callers read-only access to tenant-level contact and configuration metadata. Microsoft deployed a server-side fix on 19 November 2026 and notified affected tenants via Azure Service Health; no customer patching is required.

- **Published:** 2026-11-21T18:34:07Z
- **Last reviewed:** 2026-11-23T13:50:08.228Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-6647
- **ID:** TL-2026-6647
- **Severity:** MEDIUM
- **Category:** CLOUD
- **Status:** PATCHED
- **Detections:** 9 (1 shown free below) · **IOCs:** 13 (3 shown free below)

## Description

Microsoft notified customers on 20 November 2026 that a vulnerability in the Microsoft Entra Connect Health API, introduced on 23 July 2026 and detected on 9 November 2026, had been exploited. Microsoft's notification states that unauthorized read-only access to tenant-level metadata associated with the recipient organization had occurred, and that the investigation concluded on 20 November 2026 with no unauthorized configuration changes identified. Secondary reporting says the flaw could potentially have allowed modification of Connect Health monitoring configurations, but forensic review found only read activity. The flaw has been fixed server-side (deployed 19 November 2026). No CVE or CVSS score has been published.

Data returned by the API to unauthorized callers, per Microsoft's notification as reported by BleepingComputer: email addresses of tenant technical contacts and administrator accounts; tenant IDs, display names, initial domain names, country codes and regional information; Microsoft Entra license tiers; directory synchronization status (whether sync is enabled and the last sync timestamp); Connect Health onboarding status; and an expired certificate that was formerly used to register Connect Health agents with a Microsoft internal service decommissioned in late 2024. Microsoft says the certificate was no longer in use but had remained in Connect Health storage and was still returned by the API. Secondary sources (securityonline.info, thecybersecguru.com) identify the field as pksCertificate and describe the affected call as GetTenant, with the API returning too many fields to unauthorized callers; this field-level mechanism is the reporters' account, not a Microsoft-published root cause. How the unauthorized callers obtained access to the endpoint has not been disclosed.

Microsoft states that no user passwords, password hashes, authentication tokens, valid cryptographic keys, on-premises server or Active Directory topology details, or Azure subscription information were exposed. Microsoft has not disclosed the number of affected tenants, the identity of the actor(s), or when exploitation began. More than a dozen administrators posted receipt of the notification on Reddit, and some managed service providers reported receiving notices for multiple customer tenants arriving hours apart. The 109-day interval between introduction (23 July) and detection (9 November) is noted by thecybersecguru.com as a detection gap; that framing is the author's opinion.

The primary defensive risk is follow-on targeting: exposed administrator and technical-contact emails combined with tenant IDs, domains, license tier and sync state make targeted phishing and social engineering of privileged accounts cheaper. Microsoft advises alerting security teams to this risk, using phishing-resistant MFA on privileged accounts, reviewing Connect Health configurations, and examining Entra audit and sign-in logs. Microsoft published a PowerShell script (https://aka.ms/ConnectHealth/scripts) that shows the types of tenant metadata that could have been exposed; it displays current configuration values, not the data actually accessed. Defenders should verify the Azure Service Health advisory in the Azure portal rather than via email links, since fake notices are a plausible phishing lure.

## MITRE ATT&CK

- T1190 Exploit Public-Facing Application
- T1589.002 Email Addresses
- T1590 Gather Victim Network Information
- T1591 Gather Victim Org Information
- T1526 Cloud Service Discovery
- T1087.004 Cloud Account
- T1566 Phishing
- T1598 Phishing for Information

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**Entra Connect Health GetTenant / pksCertificate Request From Non-Agent Client (TL-2026-6647)** (`TL-2026-6647-SPL-001`)

Flags web-proxy requests to the Microsoft Entra Connect Health service endpoint (adhybridhealth.azure.com) that reference the GetTenant call or the pksCertificate field and do not originate from the Connect Health agent user-agent. Secondary reporting attributes the TL-2026-6647 tenant-metadata exposure to GetTenant returning excess fields (including pksCertificate) to unauthorized callers. Limitation: the unauthorized callers' source and access path were not disclosed and the flaw was fixed server-side on 2026-11-19, so this only observes callers egressing through your own proxy (insiders, compromised hosts, researchers' scripts); it cannot see external callers.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1190, T1590, T1591, T1526
- **Data sources:** proxy:zscalernss-web, DeviceNetworkEvents, proxy
- **Severity:** medium
- **Confidence:** medium

### Splunk SPL

```spl
index=proxy sourcetype="zscalernss-web" earliest=-7d hostname="*adhybridhealth.azure.com" (url="*GetTenant*" OR url="*pksCertificate*") NOT useragent IN ("*HealthService*", "*AzureADConnectHealth*", "*Microsoft.Identity.Health*") | stats count AS requests dc(url) AS distinct_urls values(url) AS urls values(useragent) AS user_agents min(_time) AS first_seen max(_time) AS last_seen BY cip, user | convert ctime(first_seen) ctime(last_seen) | sort - requests
```

### Microsoft KQL

```kql
DeviceNetworkEvents | where Timestamp > ago(24h) | where RemoteUrl has "adhybridhealth.azure.com" | where RemoteUrl has_any ("GetTenant", "pksCertificate") or InitiatingProcessCommandLine has_any ("GetTenant", "pksCertificate") | where not(InitiatingProcessFileName startswith "Microsoft.Identity.Health" or InitiatingProcessFileName =~ "HealthService.exe") | project Timestamp, DeviceName, InitiatingProcessAccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, RemoteUrl, RemoteIP
```

### Sigma

```yaml
title: Entra Connect Health GetTenant or pksCertificate Request From Non-Agent Client
id: 3c1f7a52-8e4b-4d0a-9b61-5a2f0c7d9e11
status: experimental
description: Detects proxy-logged requests to the Microsoft Entra Connect Health service (adhybridhealth.azure.com) that reference GetTenant or pksCertificate from a client that is not the Connect Health agent. Associated with the TL-2026-6647 tenant metadata exposure (no CVE assigned).
references:
  - https://www.bleepingcomputer.com/news/security/microsoft-entra-connect-health-flaw-exploited-to-steal-tenant-data/
  - https://securityonline.info/microsoft-entra-connect-health-exposure/
author: Threadlinqs Team
date: 2026-11-21
tags:
  - attack.initial-access
  - attack.t1190
  - attack.reconnaissance
  - attack.t1590
  - attack.t1591
  - attack.discovery
  - attack.t1526
logsource:
  category: proxy
detection:
  selection_host:
    cs-host|endswith: 'adhybridhealth.azure.com'
  selection_call:
    c-uri|contains:
      - 'GetTenant'
      - 'pksCertificate'
  filter_agent:
    cs-user-agent|contains:
      - 'HealthService'
      - 'AzureADConnectHealth'
      - 'Microsoft.Identity.Health'
  condition: selection_host and selection_call and not filter_agent
falsepositives:
  - Administrators running Microsoft's Connect Health inspection scripts from a workstation
  - Security researchers or red teams validating exposure
level: medium
```

**Known false positives:**

- Administrators running Microsoft's GetTenant / GetTenantPksCertificateDetails inspection scripts from an internal workstation
- Legitimate Connect Health agent traffic using a user-agent not covered by the exclusion list
- Security researchers or red teams validating exposure

**Tuning notes:** Replace the proxy index/sourcetype and field names (hostname, url, useragent, cip) with your proxy's CIM fields. Extend the user-agent exclusions with the agent strings observed in your environment, allow-list admin jump hosts, and widen earliest to cover 2026-07-23 onward for retrospective hunting.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- Connect Health Inspection Script or Direct API Call From Scripting Tool (TL-2026-6647) (locked: unlock with TL Creds)
- Tenant Contact or Directory Sync Configuration Change in Entra Audit Logs (TL-2026-6647) (locked: unlock with TL Creds)
- Risky Sign-In Followed by OAuth Consent or Role Assignment Within 4 Hours (TL-2026-6647 Follow-On) (locked: unlock with TL Creds)
- Web Access to Microsoft-Branded Lookalike Domain on .sbs / .cfd / .online (TL-2026-6647 Phishing Follow-On) (locked: unlock with TL Creds)
- Fake Microsoft Teams Installer Execution (Teams_Installer.exe) (TL-2026-6647 Phishing Follow-On) (locked: unlock with TL Creds)
- Successful Entra Sign-In Using Device Code Flow (TL-2026-6647 Phishing Follow-On) (locked: unlock with TL Creds)
- Entra Admin and Tenant Directory Enumeration Burst via Microsoft Graph (TL-2026-6647 Follow-On) (locked: unlock with TL Creds)
- Entra / Connect Health Themed Security-Notice Lure From Non-Microsoft Sender (TL-2026-6647) (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (3 of 13)

Defanged, TLP:CLEAR.

- URL: `hxxps://aka[.]ms/ConnectHealth/scripts`
- URL: `hxxps://github[.]com/AzureAD/EntraIDGovernance/tree/main/ConnectHealth`
- URL: `hxxps://www[.]reddit[.]com/r/sysadmin/comments/1y1of2u/important_security_notification_regarding/`

Full set of 13 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [Microsoft Entra Connect Health flaw exploited to steal tenant data (BleepingComputer)](https://www.bleepingcomputer.com/news/security/microsoft-entra-connect-health-flaw-exploited-to-steal-tenant-data/)
- [Microsoft Entra Connect Health Exposure Leaked Tenant Metadata (Daily CyberSecurity)](https://securityonline.info/microsoft-entra-connect-health-exposure/)
- [Microsoft Entra Connect Health flaw exploited to access tenant data (Tech Bytes)](https://techbytes.app/posts/microsoft-entra-connect-health-flaw-exploited-to-access-tenant-data/)
- [Microsoft Entra Connect Health Vulnerability: 109 Days Undetected (The CyberSec Guru)](https://thecybersecguru.com/news/microsoft-entra-connect-health-vulnerability-109-days/)
- [Microsoft Entra Connect Health tenant metadata inspection scripts](https://aka.ms/ConnectHealth/scripts)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-6647
