Defender for Cloud — Policy Exemptions Not Reflecting in SOC 2 Compliance Report

Jim Evans 0 Reputation points
2026-05-27T15:05:27.7766667+00:00

Subject: Defender for Cloud — Policy Exemptions Not Reflecting in SOC 2 Compliance Report

Subject: Defender for Cloud — Policy Exemptions Not Reflecting in SOC 2 Compliance Report

Subscription: Healthbot Cloud Service

Subscription ID: PII

Resource Group: HBRESOURCEGROUP

Affected Resource: HealthbotServer (Virtual Machine)

Region: Central US


ISSUE SUMMARY

We have created multiple policy exemptions for the recommendation "All network ports should be restricted on network security groups associated to your virtual machine" on HealthbotServer, but the exemptions are not being reflected in the Defender for Cloud SOC 2 Type 2 compliance report or in the Recommendations dashboard. This issue has persisted for several weeks.


DETAILED DESCRIPTION

  1. EXEMPTIONS CREATED

The following policy exemptions have been created via Azure CLI and are confirmed present:

  • NSG-OpenPorts-HealthbotServer Scope: /subscriptions/9191c258-1479-48d0-b54f-320881e302c8/resourceGroups/HBRESOURCEGROUP/providers/Microsoft.Compute/virtualMachines/HealthbotServer Policy Assignment: SOC 2 Type 2 (Management Group level) — f054a6d5-aed5-47b2-9c40 Category: Waiver Expires: 2027-09-01
  • NSG-OpenPorts-HealthbotServer-RG Scope: Same resource Policy Assignment: SOC 2 Type 2 (Resource Group level) — 2773cd4a40d44a809a614b44 Category: Waiver Expires: 2027-09-01
  • NSG-OpenPorts-HealthbotServer-HIPAA Scope: Same resource Policy Assignment: HITRUST/HIPAA — 74ecbfa715494f9e85ba4999 Category: Waiver Expires: 2027-09-01

All exemptions verified present via: az policy exemption show --name <name> --scope <resource scope>

  1. ASSESSMENT STATUS

Despite the exemptions, the underlying security assessment continues to return Unhealthy:

Assessment ID: 3b20e985-f71f-483b-b078-f30d73936d43

Assessment Name: All network ports should be restricted on network security groups associated to your virtual machine

Current status: Unhealthy

Cause: NetworkPortsAreOpenToAllSources

We attempted to set the assessment status to NotApplicable via az rest PUT to the assessment endpoint but received the error: "Assessment type must be CustomerManaged or VerifiedPartner for creation or update by user. The assessment you tried to modify is BuiltIn"

  1. PORTAL EXEMPTION BUTTON

The Exemption button in the Defender for Cloud portal (Regulatory Compliance > SOC 2 > CC6.1 > recommendation detail) consistently has the Create button greyed out and non-functional, despite the user having Owner role on the subscription and Resource Policy Contributor role at the Management Group level.

  1. POLICY SCAN

We have triggered multiple policy compliance scans via: az policy state trigger-scan --subscription 9191c258-1479-48d0-b54f-320881e302c8

The SOC 2 compliance report continues to show this finding as Failed under controls CC6.1, CC6.6, and CC6.7 despite the exemptions being in place for several weeks.

  1. BUSINESS CONTEXT

The open ports are an operational requirement — port 443 is required for public kiosk connectivity (thousands of field devices) and FTPS ports 990/60000 are required for client PHI file transfers. The system has passed third-party penetration testing with this configuration. We are not able to close these ports without disrupting production services.


QUESTIONS FOR MICROSOFT SUPPORT

  1. Why are valid policy exemptions not being reflected in the Defender for Cloud compliance report and recommendation status?
  2. Why is the Exemption Create button in the portal consistently greyed out despite the user having Owner and Resource Policy Contributor roles?
  3. Is there a known issue with BuiltIn assessments and policy exemption propagation?
  4. What is the correct mechanism to suppress a BuiltIn assessment finding for a specific resource when the ports are an intentional operational requirement?

CONTACT

PII

Microsoft Security | Microsoft Defender | Microsoft Defender for Cloud

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.