Microsoft Azure Administrator Associate AZ-104 Practice Question
You are an Azure administrator at Contoso Ltd. The company has purchased Microsoft 365 E5 licenses and needs to assign them to users based on their department memberships. Users may belong to multiple departments due to cross-functional roles. What is the most efficient method to assign licenses to users while preventing duplicate license assignments and staying within the license quota?
Assign licenses directly to each user individually.
Use a PowerShell script to assign licenses based on department.
Create a custom role to manage license assignments per department.
Assign licenses to users using group-based license assignment.