SC-300 · Question #57
You need to create the LWGroup1 group to meet the management requirements. How should you complete the dynamic membership rule? To answer, select the appropriate options in the answer area. NOTE…
The correct answer is user.objectId -ne: Guest; user.userType - eq: Member. LWGroup1 Dynamic Membership Rule Explanation Requirement: Include all Litware Azure AD user accounts, exclude all guest accounts (e.g., Fabrikam users with guest accounts in litware.com). The correct complete rule is: `` user.userType -eq "Member" ` --- Dropdown 1 - Attribute +…
Question
Answer Area
- user.objectId -neGuestGuestMemberNull
- user.userType - eqMemberGuestMemberNull
Explanation
LWGroup1 Dynamic Membership Rule Explanation
Requirement: Include all Litware Azure AD user accounts, exclude all guest accounts (e.g., Fabrikam users with guest accounts in litware.com).
The correct complete rule is:
user.userType -eq "Member"
Dropdown 1 - Attribute + Operator
Correct: user.userType -eq
userTypeis the Azure AD attribute that distinguishes internal users from external guests. It holds exactly two meaningful values:"Member"(internal users) and"Guest"(B2B external users).-eq(equals) is correct because you want to match a specific type, not exclude one.
Why the alternatives are wrong:
user.objectId -ne-objectIdis a GUID unique identifier; it has no relationship to user type and cannot filter members vs. guests. Using-ne(not equal) against it makes no semantic sense for this purpose.
Dropdown 2 - Value
Correct: "Member"
- Setting the value to
"Member"means only accounts withuserType = Memberjoin the group - these are your internal Litware employees. - Fabrikam guest accounts have
userType = "Guest", so they are automatically excluded.
Why the alternatives are wrong:
"Guest"- This would do the opposite: include only guest accounts and exclude all Litware employees.Null-userTypeis not null for synced or cloud users; filtering on null would match no users or produce unpredictable results.
Key Technical Concept
Azure AD dynamic groups use dynamic membership rules evaluated against user attributes. The userType attribute is the standard, supported property for distinguishing between internal members (Member) and B2B collaborators (Guest). This is explicitly documented as the correct approach for excluding guest accounts from groups.
Topics
Community Discussion
No community discussion yet for this question.