Q: 5
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 Azure Active Directory admin center, you assign Microsoft 365
Enterprise E5 licenses to the 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
Discussion
C . Set-HgUserLicense is built for handling user license assignments, which lines up with what official study guides and exam practice sets mention. PowerShell modules and Microsoft docs usually point to this for bulk removals like the scenario here. If you're brushing up, definitely review the cmdlet usage in lab guides.
Makes sense to pick C here. Set-HgUserLicense cmdlet is built for handling license changes at scale, so it's definitely the fastest for bulk removal like this. The other options either don't deal with user licenses directly or aren't as efficient in a bulk scenario. Pretty sure that's what Microsoft expects-correct me if you see it differently.
Option C here. Update-MgUser (D) is a common trap, it's more general but Set-HgUserLicense is built for license changes. Pretty sure C is what gets you fastest results for user-level assignments. Disagree?
D tbh. Update-MgUser can change user properties and I thought it was used for license stuff too, not just Set-HgUserLicense. Pretty sure that's a common trap, though.
D imo. Had something like this in a mock, Update-MgUser seemed to handle user properties pretty efficiently. Not 100% sure but sounds closest after C. Agree or did I miss something?
Only thing I'd flag is if E3 was assigned via group, D could work, but since it's direct user assignment, C is made for this. Pretty sure that's why C fits best. Happy to hear otherwise if someone's got a weird edge case.
A is wrong, D. From what I've seen in the official docs and some practice exams, Update-MgUser should let you manage user licenses along with other user properties. I think D is correct here but open to other thoughts if someone has run it in labs.
Pretty sure it's C for this one. Set-HgUserLicense is all about license assignments, not just changing user info like D.
Its C. Set-HgUserLicense is purpose-built for user license actions, way more direct than the general user update approach in D. Easy to pick D by mistake since it handles lots of user properties, but doesn't specialize in licenses.
C here. Set-HgUserLicense is made for direct license updates, not just general user changes like D.
Be respectful. No spam.