
Answer-first summary for fast verification
Answer: (user.department -eq "Marketing") -and (user.country -eq "France") (Ensure correct syntax for the rule)
The correct answer is option B: (user.department -eq "Marketing") -and (user.country -eq "France"). This dynamic membership rule correctly uses the 'eq' operator to equate the user’s department to 'Marketing' and the user’s country to 'France', ensuring that only users who meet both conditions will be included in the group. Proper usage of parentheses ensures the correct application of the logical 'and' operator, thus satisfying the requirement.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
In an Azure AD tenant, how would you formulate a dynamic membership rule for a Microsoft 365 group to include only members from the marketing department located in France?
A
(user.department –eq "Marketing") –and (user.country –eq "France") (Consider operator precedence with parentheses)
B
(user.department -eq "Marketing") -and (user.country -eq "France") (Ensure correct syntax for the rule)
C
(user.department -eq "Marketing") and (user.country -eq "France") (Combine conditions for department and country)
D
The given answer is correct (Indicates validation of the provided rule)