Public mode

No access to your tenant or devices. Every item links to its source. What this means

Some sources, documents or advisories need attention: 272/272 feeds/APIs · 469/469 docs · 8/9 advisories · checked 09:15 UTC Customize Public modeDiscuss ChangeIntel on Discord

Create simpler, more efficient dynamic membership rules

This page's changes and edits · All guidance changes

Microsoft's edit ·

edit pass: microsoft-entra-dynamic-groups

Microsoft's commit message in MicrosoftDocs/entra-docs · commit 8018efd · +3 −3 lines · also on GitHub

⋯ 15 unchanged lines
1616
1717 # Create simpler, more efficient rules for dynamic membership groups in Microsoft Entra ID
1818
19 −This article also discusses the most common methods that you can use to simplify your rules for dynamic membership groups. Rules that are simpler and more efficient result in better processing times for dynamic groups.
19 +This article discusses the most common methods that you can use to simplify your rules for dynamic membership groups. Rules that are simpler and more efficient result in better processing times for dynamic groups.
2020
2121 When you're writing membership rules for dynamic membership groups, follow the tips in this article to ensure that you create these rules as efficiently as possible.
2222
⋯ 1 unchanged line
2424
2525 Minimize your use of the `-match` operator in rules as much as possible. Instead, explore if it's possible to use the `-startswith` or `-eq` operator. Consider using other properties that allow you to write rules to select the users for a group without using the `-match` operator.
2626
27 −For example, if you want a rule for the group that contains all users whose city is Lagos, don't use a rule like this one:
27 +For example, if you want a rule for the group that contains all users whose city is Lagos, don't use a rule like these:
2828
2929 - `user.city -match "ago"`
3030 - `user.city -match ".*?ago.*"`
⋯ 40 unchanged lines
7171
7272 ## Avoid redundant criteria
7373
74 −Ensure that you aren't using redundant criteria in your rule. For example, instead of using a rule like this one:
74 +Ensure that you aren't using redundant criteria in your rule. For example, don't use a rule like this one:
7575
7676 - `user.city -eq "Lagos" or user.city -startswith "Lag"`
7777
⋯ 7 unchanged lines

Microsoft's Markdown source from MicrosoftDocs/entra-docs, © Microsoft Corporation, under MIT. Changed lines with up to 3 unchanged lines around each; ChangeIntel kept this copy today 06:37 UTC. The commit date is when the source changed, which can be hours or days before Learn published it.

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 26 Oct 09:15 UTC · 272 of 272 readable · 270 fully read · documentation 469/469 current