Link to home
Create AccountLog in
Avatar of mwjones75
mwjones75

asked on

Need powershell script to add a O365 License

Hello,

I am trying to write a powershell script to add a O365 License to a subset of users.  I figure if I can get it to work for one I can make it work for multiple

This is as far as I get...
Set-MsolUserLicense -UserPrincipalName Mark.jones1@xxx.com -AddLicenses XXX:ENTERPRISEPACK  

I need to be able to add "Microsoft Team" and "Microsoft Planner"  

When I run Get-MsolAccountSku  I dont get the subset of XXX:Enterprisepack

Any thoughts out there?
ASKER CERTIFIED SOLUTION
Avatar of Todd Nelson
Todd Nelson
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of mwjones75
mwjones75

ASKER

thank you looking at it now
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Like the article Todd!
I got my solution
Sufficient information provided for solution.