nerdexam
Microsoft

SC-300 · Question #297

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…

The correct answer is C. the Set-MgUserLicense cmdlet. To remove the Office 365 Enterprise E3 licenses from the users who are now part of a group with Office 365 Enterprise E5 licenses assigned, you should use the Set-MgUserLicense cmdlet. This cmdlet allows you to modify the licenses assigned to a user. By using this cmdlet, you…

Submitted by alyssa_d· 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-WindowsProductKey cmdlet
  • Bthe Update-MgGroup cmdlet
  • Cthe Set-MgUserLicense cmdlet
  • Dthe Update-MgUser cmdlet

How the community answered

(14 responses)
  • A
    7% (1)
  • B
    7% (1)
  • C
    71% (10)
  • D
    14% (2)

Explanation

To remove the Office 365 Enterprise E3 licenses from the users who are now part of a group with Office 365 Enterprise E5 licenses assigned, you should use the Set-MgUserLicense cmdlet. This cmdlet allows you to modify the licenses assigned to a user. By using this cmdlet, you can remove the Office 365 Enterprise E3 licenses from all users who are part of the group where you assigned the Office 365 Enterprise E5 licenses.

Topics

#license management#Microsoft Graph PowerShell#Set-MgUserLicense#bulk operations

Community Discussion

No community discussion yet for this question.

Full SC-300 Practice