nerdexam
MicrosoftMicrosoft

SC-300 · Question #382

SC-300 Question #382: Real Exam Question with Answer & Explanation

The correct answer is A: the Set-MgUserLicense Cmdlet. Explanation Using the Set-MgUserLicense cmdlet (Microsoft Graph PowerShell) allows you to efficiently remove the E3 licenses from all 2,500 users in a single scriptable operation, making it the least-effort approach when dealing with individually assigned licenses at scale - you

Submitted by joshua94· Mar 6, 2026Implement and manage user identities

Question

You have 2,500 users who are assigned Microsoft Office 365 Enterprise E3 licenses. The licenses are assigned to individual users. From the Groups blade in the Microsoft Entra admin center, you assign Microsoft Office 365 Enterprise E5 licenses to a group that includes all users. You need to remove the Office 365 Enterprise E3 licenses from the users by using the least amount of administrative effort. What should you use?

Options

  • Athe Set-MgUserLicense Cmdlet
  • Bthe Identity Governance blade in the Microsoft Entra admin center
  • Cthe Set-WindowsProductKey Cmdlet
  • Dthe Administrative units blade in the Microsoft Entra admin center

Explanation

Explanation

Using the Set-MgUserLicense cmdlet (Microsoft Graph PowerShell) allows you to efficiently remove the E3 licenses from all 2,500 users in a single scriptable operation, making it the least-effort approach when dealing with individually assigned licenses at scale - you can target all users in bulk rather than removing licenses one by one through a portal.

Why the distractors are wrong:

  • Option B (Identity Governance) manages access reviews, entitlements, and lifecycle workflows - it does not handle direct license assignment removal.
  • Option C (Set-WindowsProductKey) is a completely unrelated cmdlet used for managing Windows OS product keys, not Microsoft 365 licenses.
  • Option D (Administrative units) is used to delegate administrative scope over subsets of users/groups, not for managing license assignments.

Memory tip: Think of it this way - when licenses are individually assigned (not via group), you need a tool that can touch individual user objects in bulk. PowerShell cmdlets like Set-MgUserLicense are purpose-built for bulk license operations on user objects, making them the go-to for "least administrative effort" scenarios involving large user counts.

Topics

#License Management#PowerShell#Microsoft Entra ID#Bulk Operations

Community Discussion

No community discussion yet for this question.

Full SC-300 PracticeBrowse All SC-300 Questions