AZ-104 Question 6
Single answerYou are an Azure Administrator at an organization acquiring 50 new employees from a recently acquired company. You want to create their user accounts in Azure Active Directory and automatically add them all to a new group that has existing RBAC assignments for multiple resources in your subscription. Which is the most efficient method to accomplish these tasks in the Azure portal with minimal administrative overhead?
- A
Create each user individually using the New user option in the Azure portal and then manually add each user to the new group
- B
Use the Bulk create feature in Azure AD, providing a CSV file with both user information and group membership details
- C
Execute a PowerShell script to create user accounts and group assignments separately for each user
- D
Rely on the Azure CLI to interactively prompt for each user’s details and then manually assign the new group
Show answer and explanation
Correct answer: B
Explanation
Utilizing the Bulk create feature in the Azure AD portal streamlines the process by allowing you to upload a CSV file containing both user attributes and group membership. This eliminates the need for repetitive manual steps or additional scripting when onboarding multiple new employees at the same time.
- A. Incorrect.
Manually creating each user and then adding them to the group one at a time is very time-consuming, especially for 50 users, and is not the most efficient approach in the portal.
- B. Correct.
Using the Bulk create feature for user creation in Azure AD with a properly formatted CSV file allows you to specify user details and group membership in one process, making this approach the most efficient for large imports.
- C. Incorrect.
While PowerShell can automate user creation, it still requires you to write and execute scripts, and it involves separate steps for group assignments. This is less straightforward than using the built-in Bulk create option in the portal.
- D. Incorrect.
Manually responding to prompts for each user’s details via the Azure CLI defeats the purpose of automation and bulk user creation, especially when handling many users.