You plan to configure a new dynamic user group in Microsoft Entra ID. The group must automatically include all users who are members of an existing security group named Marketing-All (which has an Object ID of 11111111-2222-3333-4444-555555555555) and also have their department attribute set to Marketing. You write the following dynamic membership rule for the group:
`user.memberof -any (group.objectId -in ['11111111-2222-3333-4444-555555555555']) -and user.department -eq 'Marketing'`
Will Microsoft Entra ID successfully validate and save this dynamic membership rule?
Answer: Answer
Answer
False
Microsoft Entra ID does not support combining the `memberOf` property with other user attributes (such as `user.department`) in a single dynamic group membership rule expression. A dynamic group rule using `memberOf` can only reference other groups and cannot include additional user-specific filters.
Step-by-Step Solution
Key Concept
Microsoft Entra ID dynamic group membership rules cannot combine the 'memberOf' attribute with other user or device properties in a single rule.