Microsoft Azure Administrator Associate AZ-104

Microsoft Azure Administrator Associate AZ-104

Get started today

Ultimate access to all questions.


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?




Explanation:

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.