Forum Discussion
Scott B
Jul 10, 2017Copper Contributor
License plan disabled options not working in MSOL Powershell
I'm working on some code based on this TechNet post: https://technet.microsoft.com/en-us/library/dn771769.aspx Whether I list the disabled plans as a comma separated string or an array it's not ...
Scott B
Jul 10, 2017Copper Contributor
Hi Vasil,
Thanks for reply. When I copied/pasted I somehow lost the quotes but my original code has them.
I have also tried the way you suggested by adding the bundle first then applying the disabled options. However that does not work either as the options selected never get disabled. Even If I try disabling just one plan nothing happens.
Jeremy Dahl
Jul 10, 2017Brass Contributor
Scott, what's your scenario? Are you trying to use this to assign new licenses to unlicensed users, or are you trying to remove license options from people that already have the license pack assigned?
- Scott BJul 10, 2017Copper Contributor
Jeremy,
Thanks for the reply. I think something was hung up on my test user. I tried creating a brand new user and running the powershell script. All looks good now!
- Jeremy DahlJul 10, 2017Brass ContributorGreat to hear!