I would try this format:
Set-MsolUserLicense -UserPrincipalName "<Account>" -AddLicenses "<AccountSkuId>"
Run the Get command on a licensed user to get the SkuId
Mark as answered if this reply is helpful
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I am trying to assign a M365 Business Premium licence via PS using "Set-MsolUserLicense -UserPrincipalName \
I would try this format:
Set-MsolUserLicense -UserPrincipalName "<Account>" -AddLicenses "<AccountSkuId>"
Run the Get command on a licensed user to get the SkuId
Mark as answered if this reply is helpful