
Answer-first summary for fast verification
Answer: Create a PowerShell script that uses the AzureAD module to assign licenses to users based on their department attribute.
Option B is the correct answer. Creating a PowerShell script using the AzureAD module allows for automation and scalability when assigning licenses to users based on their attributes, such as department. This approach is more efficient and accurate than manually assigning licenses. While the Microsoft Graph API can also be used, it may require additional development effort and may not provide the same level of simplicity and ease of use as a PowerShell script. Configuring Azure AD Connect can be used for directory synchronization, but it does not automate the process of assigning licenses based on attributes.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your organization has recently migrated to Microsoft 365 and needs to manage licenses for its users. You have been assigned the task of assigning licenses to users based on their roles and departments. What approach should you take to achieve this efficiently and accurately?
A
Manually assign licenses to each user through the Azure portal.
B
Create a PowerShell script that uses the AzureAD module to assign licenses to users based on their department attribute.
C
Use the Microsoft Graph API to assign licenses to users based on their roles.
D
Configure Azure AD Connect to synchronize on-premises Active Directory attributes with Azure AD and use those attributes to assign licenses.
No comments yet.