MS-102 Deploy and manage a Microsoft 365 tenant Practice Question
A company purchases Microsoft 365 E5 licenses for 500 users. The administrator wants to automatically assign licenses to new users based on their group membership. Which method should the administrator use?
⚠ Common exam trap
Many candidates confuse group-based licensing with manual or scripted methods, assuming that PowerShell or the admin center are the only ways to assign licenses, but Microsoft Entra ID's group-based licensing is the correct automated solution for this scenario.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Configure group-based licensing in Microsoft Entra ID
Group-based licensing in Microsoft Entra ID (formerly Azure AD) allows automatic assignment and removal of licenses based on group membership. When a user is added to a licensed group, the license is automatically assigned; when removed, the license is revoked. This eliminates manual effort and ensures consistent licensing for all 500 users.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Run a PowerShell script to assign licenses individually
Why it's wrong here
Using a PowerShell script to assign licenses individually (e.g., via Set-MgUserLicense) can handle batch operations, but it is a point-in-time process that must be re-run manually or scheduled for every new user. It doesn't watch group memberships, so any joiners, movers, or leavers require custom logic and error handling. In contrast, group-based licensing provides continuous, automatic assignment and is the supported governance approach for M365 E5 at scale.
- ✓
Configure group-based licensing in Microsoft Entra ID
Why this is correct
Group-based licensing in Microsoft Entra ID assigns M365 E5 licenses automatically to all users in a group, including new members added later. When a user leaves the group, the license is automatically removed, and the system logs any assignment errors (e.g., insufficient quota or conflicting service plans) in the user's object. This is the recommended and native method for managing per-user subscriptions like M365 E5 because it runs in the background and requires no manual effort once the group is configured.
- ✗
Manually assign licenses in the Microsoft 365 admin center for each user
Why it's wrong here
Manually assigning licenses in the Microsoft 365 admin center for each of 500 users is conceptually straightforward but operationally impossible to maintain. Each new employee or license change requires an admin to locate the user, select an M365 E5 SKU, and save the assignment, which invites human error and consumes significant admin time. It also provides no self-healing or escalation path: license quantities, plan conflicts, or new-hire onboarding all depend on an admin remembering to act.
- ✗
Use a volume licensing product key to activate licenses
Why it's wrong here
A volume licensing product key is used to activate on-premises software (e.g., Windows, Office) through VLSC, not to assign per-user Microsoft 365 service licenses. Microsoft 365 E5 subscriptions are identity-based and are provisioned to user accounts via Entra ID or the admin center; they do not consume product keys. Using a key would neither grant nor track per-user entitlements, so this is categorically the wrong mechanism for licensing 500 users.
Go deeper
Related to this question
Learn chapter
Microsoft 365 Tenant Setup
Key term
Microsoft 365
Microsoft 365 is a subscription-based cloud service from Microsoft that combines productivity tools like Office apps with security, device management, and online storage.
Key term
Microsoft Entra ID
Microsoft Entra ID is a cloud-based identity and access management service that lets employees sign in and access resources both inside and outside of your organization.
About these practice questions
This MS-102 question is part of Courseiva's 241-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This MS-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MS-102 exam.