From the notebook

Microsoft Entra Security Group Sensitivity Labels Guide

Microsoft Entra security group sensitivity labels help admins block guest access and govern nested groups. Pilot the immutable preview control safely.

MUA
MU.A
Microsoft 365 / Entra Engineer
Published
13 min read

Microsoft Entra security group sensitivity labels let you apply a Microsoft Purview label to an assigned-membership cloud security group and enforce the label's group policy when members are added. In the current public preview, the practical control is guest-access governance: a label that blocks guests can reject an incompatible label assignment and block later guest additions, including through nested groups.

Here is the catch worth knowing before you click anything: the label is immutable once applied during preview. You cannot change or remove it. Some highly privileged administrators and applications can also bypass label enforcement. Start with a disposable, low-impact group; prove direct-member, nested-group, privileged, and automation paths; and treat replacement-group migration as the rollback plan.

Grab a coffee before calling this a data-classification project. A security group is an authorization principal, not a document container. The label governs supported membership operations; it does not encrypt content, inspect the resource behind the group, or prove that every privileged path respects the restriction.

Microsoft lists the feature as public preview in the current Entra release notes. The security-group sensitivity-label guide is the current source of truth for prerequisites, enforcement behavior, unsupported group types, privileged bypass, and recovery limits. Microsoft has not published a general-availability date, mandatory rollout, or default-on schedule. Enabling it is an administrator action.

Microsoft Entra security group sensitivity labels: the control plane

Four objects participate in one decision:

  1. The Purview sensitivity label supplies the name, priority, and Groups & Sites policy. For this preview, the material security-group setting is whether external users are allowed.
  2. The label publishing policy decides which users can see and apply that label.
  3. The Group.Security directory setting turns on label support for cloud security groups. This is separate from the Group.Unified setting used for Microsoft 365 groups.
  4. The group's assignedLabels property binds one label ID to the cloud security group.

When a label that forbids guest access is first assigned, Microsoft Entra evaluates the group's effective membership. That includes direct guest members and guests inherited through nested security groups. If the current membership conflicts, the label assignment fails. After a compatible label is applied, later guest additions are blocked on supported enforcement paths.

That is preventive membership validation, not continuous remediation. Microsoft's preview documentation says a later Purview policy change applies to new checks but does not remove members already present. If a label changes from allowing guests to blocking them, existing guests remain until an owner or administrator removes them.

If the group scopes Conditional Access, pair this guide with the Conditional Access evaluation pipeline. If the group is copied between tenants, first understand the cross-tenant group synchronization model; a label on one group should not be assumed to transfer a governance promise to another object.

Know what the preview does—and what it does not do

The supported pilot target is narrow:

  • a Microsoft Entra cloud security group;
  • assigned membership rather than dynamic membership;
  • not synchronized from on-premises Active Directory;
  • not managed by Exchange;
  • not mail-enabled; and
  • not a distribution list.

The preview can validate guest restrictions when you first label an existing group, reject incompatible new direct members, and enforce label ordering for supported nested groups. A child group must be labeled at least as restrictively as its labeled parent. An unlabeled child or a child with a less restrictive label cannot be added to that parent.

The preview does not provide these guarantees:

  • No relabeling: once assigned to a cloud security group, the label cannot be changed or removed.
  • No dynamic-group enforcement: dynamic membership groups are unsupported; Microsoft notes edge cases where a label can appear but its policy is not enforced.
  • No automatic cleanup: tightening a Purview label policy does not eject existing guests.
  • No universal admin boundary: Microsoft documents several built-in roles that can bypass enforcement during preview.
  • No app-only label management: the Microsoft Graph v1.0 group update reference says application-only scenarios are not supported for updating assignedLabels.
  • No Microsoft 365 admin center or My Groups path: use the Entra admin center, Azure portal, PowerShell, or Microsoft Graph.

The high-privilege bypass list currently includes Global Administrator, User Administrator, Groups Administrator, Directory Writers, Exchange Administrator, SharePoint Administrator, SharePoint Advanced Management Administrator, Teams Administrator, Yammer Administrator, Helpdesk Administrator, and Service Support Administrator. Applications with Group.ReadWrite.All, Directory.ReadWrite.All, Directory.ReadWriteAdvanced.All, or GroupMember.ReadWrite.All can also bypass label enforcement during preview.

Treat that list as a reason to test every write plane you actually use. Do not describe a labeled group as “guest-proof” when helpdesk automation or a broadly consented app can still add a member.

Meet the licensing, role, and label prerequisites

Microsoft's preview guide requires at least one active Microsoft Entra ID P1 or P2 license—or Microsoft 365 E3/E5—in the organization. Confirm the entitlement against your agreement rather than extrapolating a tenant-wide licensing model from that preview prerequisite.

Before enabling anything, verify:

  • a Purview sensitivity label exists with the Groups & Sites scope;
  • the label policy includes the pilot operator;
  • labels have been synchronized to Microsoft Entra with Execute-AzureADLabelSync from Security & Compliance PowerShell;
  • the operator is the group owner or at least a Groups Administrator;
  • the operator is in scope for the label publishing policy;
  • the target is an assigned-membership cloud security group;
  • direct and transitive membership has been inventoried;
  • all privileged applications and operational runbooks that update the group are known; and
  • a replacement-group and downstream-assignment migration plan exists.

Microsoft says synchronized labels can take up to 24 hours to appear. The Purview container-label guidance recommends publishing a new label to a small test population first and allowing replication time before broad use. Do not troubleshoot a missing dropdown by repeatedly recreating the label.

Enable the separate Group.Security setting safely

Enabling sensitivity labels for Microsoft 365 groups does not enable them for cloud security groups. The two group types use different directory-setting templates.

The Microsoft-published template ID for Group.Security is d209f6fa-3839-4d70-b83f-60b1c64d0e8f. The setting must contain EnableMIPLabels=True. Before creating or updating it, export the current directory setting and preserve the existing AllowToAddGuests value. The Microsoft Graph groupSetting update reference explicitly calls out preserving that pre-existing value.

A safe operator sequence is:

  1. connect to Microsoft Graph with the permission documented in the current preview procedure;
  2. find the existing Group.Security setting by display name;
  3. record its ID and every current name/value pair;
  4. create the setting only if it does not exist;
  5. otherwise update only the intended value while retaining the other setting values; and
  6. read the setting back and confirm EnableMIPLabels is True.

The current Learn procedure uses Microsoft Graph PowerShell beta cmdlets for the directory-setting step. That does not make the feature generally available. Record the module versions and exact response in the change ticket, and recheck the Microsoft page before reusing the procedure in a later window.

Build a reversible pilot before labeling a production group

Ring 0: design a label whose promise is testable

Use an existing Purview label or create a pilot-only label with Groups & Sites scope. Give it a name that describes the protection, such as Internal members only, rather than a vague data classification that operators could misread.

Publish it only to the pilot operator. Synchronize labels, wait for propagation, and confirm the label appears for a new cloud security group. Keep the first group disconnected from production applications, Conditional Access policies, Azure roles, licenses, and automated provisioning jobs.

Ring 1: prove direct guest enforcement

Create an assigned-membership cloud security group with the label. Add a normal member and confirm success. Then attempt to add a guest through the same supported path and confirm the operation is blocked.

Capture the group object ID, label ID, actor, operation, time, response, and resulting membership. A friendly label name and a portal toast are not enough evidence for a control that might later be automated.

Ring 2: prove existing-membership validation

Create a second disposable group that already contains a guest. Attempt to apply the no-guests label. The assignment should fail until the conflicting guest is removed.

Do not “fix” a production group by removing real guests just to make a preview label save. First identify what each guest can reach through the group and obtain application-owner approval for the access change.

Ring 3: prove nested-group ordering

Microsoft requires you to remove child groups before labeling a parent. Label each child, then add children back only when their labels are equal to or more restrictive than the parent's label.

Test these outcomes deliberately:

  • labeled parent plus equally restrictive child: allowed;
  • labeled parent plus more restrictive child: allowed;
  • labeled parent plus less restrictive child: blocked;
  • labeled parent plus unlabeled child: blocked; and
  • child whose transitive membership includes a guest under a no-guests design: rejected by the supported validation path.

Keep the graph small. Untangling a deep nested hierarchy while labels are immutable is not a useful first pilot.

Ring 4: test privileged and automation bypass

Repeat the prohibited guest addition using each real administrative or application path that can modify the group. That includes helpdesk tooling, identity-governance integrations, custom Graph applications, and elevated administrator roles.

An allowed write from a documented bypass path is not proof that the label is broken; it is proof that the enforcement boundary is narrower than the policy statement. Remove unnecessary permissions, route justified exceptions through approval, and monitor the remaining bypass identities.

Ring 5: attach a low-impact resource

Only after membership enforcement behaves as designed should the pilot group receive one reversible, low-impact entitlement. Verify the resource's effective access separately. The sensitivity label does not confirm that the target resource assignment is appropriate.

Expand one group class and one automation path at a time. Do not label a group simply because its display name contains Privileged, Confidential, or Internal.

Use Microsoft Graph without widening the permission story

The assignedLabels property is documented in the Microsoft Graph v1.0 group update API. For cloud security groups, Group.ManageProtection.All is the least-privileged delegated permission to update that property, and app-only updates are not supported.

The request shape is small, but its effect is not reversible during preview:

PATCH https://graph.microsoft.com/v1.0/groups/{group-id}
Content-Type: application/json

{
  "assignedLabels": [
    { "labelId": "{label-id}" }
  ]
}

Retrieve tenant label IDs from the Microsoft Graph sensitivity-label list API. Never select a label by display name alone when duplicate or similarly named labels might exist. Retain both the immutable group object ID and label ID in the approval record.

Member updates are a separate permission and API surface. The Graph add-members reference documents supported member object types and least-privileged roles. A token that can set assignedLabels is not automatically the correct token for every membership operation.

Monitor labels, group writes, and downstream access separately

Use three evidence streams:

  1. Configuration evidence: the Group.Security directory setting, published label and policy, group assignedLabels, group type, and membership type.
  2. Change evidence: Microsoft Entra audit records for group updates, member additions and removals, label assignment, and directory-setting changes.
  3. Access evidence: the application, Azure, Conditional Access, or other resource logs that show what the group actually granted.

The Microsoft 365 audit activity reference lists group creation, update, member-add, and member-remove events. Preserve the actor, target group ID, status, modified properties, correlation ID, and client or application identity where available.

Alert or review for:

  • a change to EnableMIPLabels or AllowToAddGuests in Group.Security;
  • a label-policy or guest-setting change after labeled groups exist;
  • successful guest additions to a no-guests labeled group;
  • membership writes by a bypass role or broadly consented application;
  • new nested groups beneath a labeled parent;
  • a labeled group receiving a new high-impact resource assignment; and
  • creation of a replacement group during incident recovery.

Do not treat the absence of a failed write as proof of compliance. A bypass identity can create a successful write, and a downstream resource can keep cached or separately assigned access.

Troubleshoot in dependency order

The sensitivity label dropdown does not appear

Confirm the object is a cloud security group with assigned membership. Then check the active P1-or-better prerequisite, EnableMIPLabels=True in Group.Security, Groups & Sites scope, label publication to the signed-in operator, label synchronization, and propagation time. Finally, confirm the operator is the group owner or at least a Groups Administrator.

Do not use the Microsoft 365 admin center or My Groups portal for this preview. Those surfaces are not supported for security-group label assignment.

Label assignment fails on an existing group

Inspect direct guests, transitive guests, and nested groups. A no-guests label conflicts with existing guest membership. Any nested group must first be removed; the parent and children can then be labeled in a compatible order before the children are re-added.

A guest was added even though the label blocks guests

Identify the initiating user or service principal before changing policy. Compare it with Microsoft's current high-privilege bypass lists. Confirm the target was the labeled group object—not a different group with the same display name—and inspect nested membership plus the downstream resource's access logs.

A Purview policy change did not remove existing guests

That is expected. Policy changes affect new checks but do not rewrite existing membership. Inventory and remove incompatible members through an approved access-removal process. Then test both direct and nested addition paths again.

The label is wrong and cannot be changed

That is also expected during preview. Create a replacement cloud security group with the correct label, validate its membership, migrate downstream assignments in a controlled order, test effective access, and only then retire the old group.

Roll back by replacing the group, not erasing evidence

There is no in-place label rollback during preview. Use a controlled replacement:

  1. stop nonessential automation that writes to the old group;
  2. preserve the old group ID, label ID, direct and transitive membership, owners, audit records, and downstream assignments;
  3. create a new assigned-membership cloud security group with the correct label;
  4. add only approved members and compatible labeled child groups;
  5. move one downstream assignment at a time and verify access;
  6. monitor for denied and unexpectedly allowed access;
  7. keep an emergency reversal window for the resource assignment; and
  8. remove or delete the old group only after every dependency is accounted for.

Replacing a group changes its object ID. Applications and resources that reference the old ID do not automatically follow the display name. The Microsoft Entra backup and recovery strategy is useful for the broader distinction between preserving configuration evidence and restoring business access, but backup is not a shortcut for relabeling this preview object.

Administrator checklist

  • Confirm the feature is still public preview and opt-in
  • Define the primary guest-access policy the label should enforce
  • Verify the active Microsoft Entra license prerequisite
  • Publish the Groups & Sites label to a small operator ring
  • Synchronize labels and allow documented propagation time
  • Export the existing Group.Security setting before enabling labels
  • Preserve the current AllowToAddGuests value
  • Use a disposable assigned-membership cloud security group first
  • Test existing guests, new guests, and transitive guests
  • Test equal, stricter, weaker, and unlabeled child groups
  • Test every privileged administrator and application write path
  • Record immutable group and label IDs
  • Monitor Entra group audit events and downstream access separately
  • Document replacement-group migration as the rollback
  • Recheck Microsoft documentation before each wider ring

Microsoft Entra security group sensitivity labels can turn a Purview classification into a useful membership guardrail, but the preview's sharp edges are part of the design you must operate: labels cannot be changed, old members are not remediated, and privileged paths can bypass enforcement. Keep the first ring small, prove every writer, and make the policy promise no broader than the evidence.

Microsoft sources

About the author

MUA

MU.AMicrosoft 365 / Entra Engineer

MU.A is the editorial byline for Sentinel Identity, covering Microsoft Entra, Microsoft 365, and identity administration. Send corrections or questions through the contact page.

Feedback

Was this article helpful?

Anonymous — no account or comment required.

Send detailed feedback

Related reading