Forum Discussion
cbuser935
Jan 27, 2020Copper Contributor
Unable to -RemoveLicenses
It appears I am only able to remove licenses via Powershell that are not Assigned to Users/Groups or Inherited? Set-MsolUserLicense -UserPrincipalName "user@contoso.com" -RemoveLicenses "conto...
alextt
Jan 29, 2020Copper Contributor
Yes, it's by design. If you assign license dynamically using Groups in AAD, you can not remove them with set-msoluser but you need to remove the user from the groups.
I hope it helps.