Microsoft Azure Administrator Associate AZ-104 Practice Question
An IT administrator needs to assign Microsoft 365 licenses to all users in the Sales department. The administrator wants to ensure that as users join or leave the department, the license assignments are updated automatically without manual effort. What is the BEST way to achieve this?
Manually assign licenses to each user in the Sales department.
Create a dynamic group based on the department attribute and assign licenses to that group.
Use Privileged Identity Management (PIM) to assign licenses to users.
Assign licenses to a static security group containing the Sales department users.