Forum Discussion
Update a license assigned to a user to add more enabled plans
- Aug 18, 2022
Reflecting on Harm_Veenstra's first post, if you have more than a handful of users, you're better off:
- Adopting a group-based licencing model; then
- Confirm the users are receiving the group-assigned licencing; then
- Remove the directly-assigned licencing (starting with individuals before moving to an automated, batch-processing approach.)
Continuing with the current direct assignment model only ensures this problem will come up again in the future.
- Broad planning article: Add users with direct licenses to group licensing - Azure AD - Microsoft Entra | Microsoft Docs
- Nitty-gritty details: PowerShell and Graph examples for group licensing - Azure AD - Microsoft Entra | Microsoft Docs
Cheers,
Lain
Hello Harm_Veenstra
Thank you for your reply.
The thing is that the users already have a licence assigned directly to them.
Is there a way to assign the license again with all apps included for all users wirth powershell? I want to make sure all users have all apps and it seems that some doesn't.
The licenses are Office 365 E3 and Office 365 E5.
Thank you.
- Aug 17, 2022For the licensed groups, that doesn't matter but.. You don't have P1 for the users, so that's not an option...
- CatarinagmAug 17, 2022Copper ContributorThe licenses were assigned by a 3rd party app (Quest on Demand) and it only applied exo and left all others apps to assign. I manually enabled all other apps but it seems i missed some users. I want to apply them all over again to make sure all apps are selected.
- LainRobertsonAug 18, 2022Silver Contributor
Reflecting on Harm_Veenstra's first post, if you have more than a handful of users, you're better off:
- Adopting a group-based licencing model; then
- Confirm the users are receiving the group-assigned licencing; then
- Remove the directly-assigned licencing (starting with individuals before moving to an automated, batch-processing approach.)
Continuing with the current direct assignment model only ensures this problem will come up again in the future.
- Broad planning article: Add users with direct licenses to group licensing - Azure AD - Microsoft Entra | Microsoft Docs
- Nitty-gritty details: PowerShell and Graph examples for group licensing - Azure AD - Microsoft Entra | Microsoft Docs
Cheers,
Lain
- Aug 17, 2022
What you could do, is copy licenses from one user to the other:
$mgUser = Get-MgUser -UserId "exampleuser mail address"
Set-MgUserLicense -UserId "target user mail address" -AddLicenses $mgUser.AssignedLicenses -RemoveLicenses @()
https://docs.microsoft.com/en-us/microsoft-365/enterprise/assign-licenses-to-user-accounts-with-microsoft-365-powershell?view=o365-worldwide#assign-licenses-to-a-user-by-copying-the-license-assignment-from-another-useror use this to remove the plan completely from the user and re-add it again which should enable all features (You have to change the SKU name for the correct one and use the same SKU in the add and remove part
https://docs.microsoft.com/en-us/microsoft-365/enterprise/assign-licenses-to-user-accounts-with-microsoft-365-powershell?view=o365-worldwide#move-a-user-to-a-different-subscription-license-plan