MC1413309 Microsoft Purview enforcing one capturing group limit for custom sensitive information types
Primary service: Purview
ChangePilot summary
- Microsoft Purview is enforcing the existing one-capturing-group limit for regular expressions used in custom Sensitive Information Types (SITs).
- Admins who create or update custom SITs in Purview may see creation or validation failures if a regex contains more than one capturing group.
- The enforcement applies in both the Purview portal and the related PowerShell cmdlets.
- Existing custom SITs that rely on multiple capturing groups will stop functioning unless updated to comply.
- Administrators should review and update affected regex patterns and test the revised SITs before using them in production policies.
What it means for you
What admins need to do
Inventory custom Sensitive Information Types that use regular expressions, identify any patterns with more than one capturing group, and remediate them before or as soon as the change reaches your tenant. Update the regex to use only one capturing group, then re-test the SITs in Purview and any PowerShell-based management workflows to confirm matching still works as intended. Review any DLP policies that depend on these SITs and validate them after changes.
Impact on users
If IT updates affected custom Sensitive Information Types in time, end users should not notice any change. If impacted SITs are left unchanged, some DLP or classification rules may stop matching expected content, which can affect how data is identified and protected.
If you miss it
If this is missed, admins may be unable to create or update affected custom SITs, and existing SITs using multiple capturing groups may stop working. That can lead to failed policy updates, reduced accuracy in data classification, and DLP rules not triggering as expected, creating compliance and operational risk.
- Admin controls available
- Yes
History
Recorded changes
No changes recorded since ChangePilot first saw this post.
Microsoft message
[What and Why]
Microsoft Purview is enforcing the documented limit of one capturing group per regular expression in custom Sensitive Information Type (SIT) definitions. This change improves consistency, reliability, and predictability in pattern matching for data classification and Data Loss Prevention scenarios. This enforcement applies when custom SITs are created or updated and may block those operations if the limit is exceeded.
[Rollout Schedule]
General Availability (Worldwide, GCC, GCC High, and DoD): The rollout is expected to complete by early July 2026.
[Impact on Your Organization]
Who is affected
- Admins who create or manage custom SITs in Microsoft Purview
Platforms and services
- Microsoft Purview portal
- PowerShell cmdlets (New-DlpSensitiveInformationTypeRulePackage and Set-DlpSensitiveInformationTypeRulePackage)
What will happen
- New custom SITs that include more than one capturing group in a regular expression will be blocked during creation.
- Updates to existing SITs will fail validation if the regular expression contains more than one capturing group.
- When editing or re-saving SITs that contain more than one capturing group, admins must update regular expression patterns to include only one capturing group before changes can be saved.
- This enforcement applies across both portal and PowerShell experiences.
- Existing SITs with multiple capturing groups will stop functioning.
[Action Required or Recommendations]
Action required.
- Review all custom SITs that use regular expressions to identify any with multiple capturing groups. After rollout, updates to these SITs will fail validation until corrected, which may delay policy updates.
- Update regular expression patterns to comply with the one capturing group limit.
- Test updated SITs to ensure they continue to match the intended content before applying them to production policies.
- Review service limits documentation to confirm compliance requirements.
Learn more (and for the full list of SIT limits): Sensitive information type limits | Microsoft Purview | Microsoft Learn
[Compliance Considerations]
This change enforces existing limits for SITs and may affect how Data Loss Prevention policies behave when custom SITs are modified. Review as appropriate for your organization.
More information
Details
Services
- Microsoft 365 suite
- Microsoft Purview
Category
- Plan for change
Microsoft tags
- Admin Action
- User Adoption
- Highlighted