[{"id":"microsoftaz104-101","courseId":"microsoft-az-104","domain":"identities-governance","topic":"Bulk user creation","prompt":"Your company hires 60 interns who start on Monday. You must create their Microsoft Entra member accounts with initial passwords in one operation, using the Microsoft Entra admin center. Which role is the minimum needed for the person performing the task, and what must they prepare?","hint":"Think about the downloadable template and the lowest-privilege Entra role that manages users.","explain":"Entra directory roles and Azure RBAC roles are separate systems. A bulk upload reads each row as one account, and each column heading tells the portal which attribute that row fills.","source":"https://learn.microsoft.com/en-us/entra/identity/users/users-bulk-add","interaction":{"type":"single"},"options":[{"id":"a","text":"Global Reader, and a CSV file of user principal names","whyNot":"Global Reader can only read directory data, so it cannot create users; the person needs at least User Administrator and the downloaded template."},{"id":"b","text":"User Administrator, and a CSV file based on the downloaded bulk create template","why":"Bulk create needs at least the User Administrator role, and the CSV must keep the template's column headings; Name, User name and Initial password are the required columns."},{"id":"c","text":"Contributor on the subscription, and an ARM template listing the users","whyNot":"Contributor is an Azure RBAC role for resources in a subscription and gives no right to create Microsoft Entra users; bulk create also takes a CSV, not an ARM template."},{"id":"d","text":"Groups Administrator, and a Microsoft 365 group containing the interns","whyNot":"Groups Administrator manages groups rather than creating user accounts, and the interns do not exist yet, so there is nothing to put in a group."}],"answer":"b","explanation":"Bulk create in Microsoft Entra ID needs at least the User Administrator role and an uploaded CSV that follows the downloaded template.","concept":"Bulk create in Microsoft Entra ID needs at least the User Administrator role and an uploaded CSV that follows the downloaded template.","rev":1,"kind":"scenario","takeaways":["User Administrator plus a filled-in template CSV is how you bulk create users."]},{"id":"microsoftaz104-102","courseId":"microsoft-az-104","domain":"identities-governance","topic":"External users","prompt":"You must add 40 employees of a partner company as guests so they can access an internal application, and each of them must receive an invitation email. Which approach should you use?","hint":"The plain bulk create operation creates internal members without sending any mail.","explain":"Directory accounts are internal members of your organization or external identities from another organization. Consider how an outsider gets access, and what notice, if any, reaches them.","source":"https://learn.microsoft.com/en-us/entra/identity/users/users-bulk-add","interaction":{"type":"single"},"options":[{"id":"a","text":"Bulk invite B2B guest users","why":"Bulk invite creates guest accounts for external people and sends each one an invitation email with a redemption link, which matches the requirement."},{"id":"b","text":"Bulk create users with the CSV template","whyNot":"Bulk create makes internal member accounts with passwords you specify and sends no invitation emails, so partner staff would not be invited as guests."},{"id":"c","text":"Create a dynamic group that matches the partner domain","whyNot":"A dynamic group only fills itself from users who already exist in the directory; it cannot create or invite anyone, so the partner staff would still be missing."},{"id":"d","text":"Create a user-assigned managed identity for each partner employee","whyNot":"Managed identities are Azure resource identities that let workloads authenticate to services; they are not accounts for people and cannot be invited."}],"answer":"a","explanation":"B2B collaboration represents partner users as guest objects in your directory; bulk invite creates them and sends invitations, whereas bulk create does not.","concept":"B2B collaboration represents partner users as guest objects in your directory; bulk invite creates them and sends invitations, whereas bulk create does not.","rev":1,"kind":"scenario","takeaways":["Partners are guests: invite them in bulk, do not bulk create."]},{"id":"microsoftaz104-103","courseId":"microsoft-az-104","domain":"identities-governance","topic":"Dynamic groups","prompt":"You need a Microsoft Entra security group that automatically contains all member users (not guests) whose department attribute is Sales. Which membership rule should you use?","hint":"The rule needs two conditions joined by a logical operator, one of them on the user type.","explain":"Each expression compares one user attribute to a value, and a rule can combine several. The operator joining them decides whether all conditions or just one must hold, which changes who qualifies.","source":"https://learn.microsoft.com/en-us/entra/identity/users/groups-dynamic-membership","interaction":{"type":"single"},"options":[{"id":"a","text":"(user.department -eq \"Sales\") -or (user.userType -eq \"Member\")","whyNot":"The -or operator makes the rule true when either condition holds, so every member in the tenant and every Sales guest would be included."},{"id":"b","text":"(user.department -eq \"Sales\") -and (user.userType -eq \"Member\")","why":"Both conditions must be true, so only users whose department is Sales and whose userType is Member join; guests are left out."},{"id":"c","text":"(user.department -eq \"Sales\") -and (user.accountEnabled -eq true)","whyNot":"This rule never looks at userType, so enabled guest accounts whose department is Sales would also join the group, breaking the members-only requirement."},{"id":"d","text":"(user.department -eq \"Sales\") -and (user.userType -eq \"Guest\")","whyNot":"This pairs the right department with userType Guest, which selects the guests and excludes the members the scenario asks for."}],"answer":"b","explanation":"Dynamic membership rules combine property-operator-value expressions with -and, -or and -not; userType separates members from guests.","concept":"Dynamic membership rules combine property-operator-value expressions with -and, -or and -not; userType separates members from guests.","rev":1,"kind":"scenario","code":"Properties: user.department,\n  user.userType (member, guest),\n  user.accountEnabled\nLogical operators: -and, -or, -not","takeaways":["Combine conditions with -and, and filter on userType to exclude guests."]},{"id":"microsoftaz104-104","courseId":"microsoft-az-104","domain":"identities-governance","topic":"Dynamic groups","prompt":"You plan to use dynamic membership groups in Microsoft Entra ID. Which TWO statements are true?","hint":"Consider who maintains membership and what the licensing model counts.","explain":"Some groups accept manual adds and removes, while others fill automatically, which decides who maintains the list. Costs for automatic groups scale with how many people the criteria reach.","source":"https://learn.microsoft.com/en-us/entra/identity/users/groups-dynamic-membership","interaction":{"type":"multiple","tellCount":true},"options":[{"id":"a","text":"You cannot manually add or remove members of a dynamic membership group.","why":"Membership is computed from the rule, so you cannot manually add or remove members of a dynamic membership group; you would change the rule or user attributes instead."},{"id":"b","text":"Each unique user who is a member of a dynamic group requires a Microsoft Entra ID P1 license (or Intune for Education license) in the tenant.","why":"Dynamic membership requires a Microsoft Entra ID P1 (or Intune for Education) license for each unique member user, so the tenant must own enough licenses to cover them."},{"id":"c","text":"A single dynamic group can contain both users and devices if the rule uses OR.","whyNot":"A dynamic group can hold users or devices, but a single rule cannot contain both, so adding an OR clause does not create a mixed group."},{"id":"d","text":"The rule builder in the portal supports rules with an unlimited number of expressions.","whyNot":"The rule builder supports at most five expressions; longer rules, or ones using -contains, must be written in the rule text box instead."}],"answer":"ab","explanation":"Dynamic membership is rule-driven, requires P1 licensing for user members, and is limited to either users or devices per group.","concept":"Dynamic membership is rule-driven, requires P1 licensing for user members, and is limited to either users or devices per group.","rev":1,"kind":"scenario","takeaways":["Dynamic groups cannot be edited by hand, need Entra ID P1 licenses for members, and hold users or devices, not both."]},{"id":"microsoftaz104-105","courseId":"microsoft-az-104","domain":"identities-governance","topic":"Group-based licensing","prompt":"You assigned a Microsoft 365 license to the group Finance-All. Members of the nested group Finance-Contractors, which is a child of Finance-All, did not receive licenses. What should you do to license those users with the least effort?","hint":"Group-based licensing only looks at one level of membership.","explain":"Group-based licensing reads a group's membership when it assigns licenses. Consider how deep into a group's membership that reading goes, and what changes when one group sits inside another.","source":"https://learn.microsoft.com/en-us/microsoft-365/admin/manage/manage-group-licenses?view=o365-worldwide","interaction":{"type":"single"},"options":[{"id":"a","text":"Add the contractors as direct members of Finance-All, or assign the license to Finance-Contractors as well","why":"Licenses flow only to first-level members of a licensed group, so the contractors must be direct members of Finance-All or their own group needs the license."},{"id":"b","text":"Wait 24 hours for nested membership to be processed","whyNot":"Group-based licensing does not support nested groups, so waiting will not make the child group members pick up the license."},{"id":"c","text":"Select Reprocess on the Finance-All license assignment","whyNot":"Reprocess retries failed license assignments, but nested groups are never licensed through a parent group, so reprocessing changes nothing here."},{"id":"d","text":"Change Finance-Contractors into a Microsoft 365 group","whyNot":"Group type does not change the limitation; licensing flows only to first-level members of the licensed group, whatever kind the child group is."}],"answer":"a","explanation":"Group-based licensing does not support nested groups; only users in the first-level group receive the license.","concept":"Group-based licensing does not support nested groups; only users in the first-level group receive the license.","rev":1,"kind":"scenario","takeaways":["Group-based licensing ignores nested groups: only direct members of the licensed group get the license."]}]