Forum Discussion
Harry Dubois
May 30, 2017Brass Contributor
Powershell to disable Teams for all users
I want to run a powershell script to disable the Teamoption in all users licenses. $license = "contoso: ENTERPRISEPACK_FACULTY" $LicenseOptions = New-MsolLicenseOptions -AccountSkuId $license ...
- Jun 01, 2017It seems the license that you already applied to the user and the one we are trying to apply now are different, due to this error is thrown. You can also use the below tool from Microsoft TechNet Gallery.
https://gallery.technet.microsoft.com/Office365-License-cfd9489c
Once you open the tool,
select all user -->right click-->manage License-->remove license or plan -->expand your license and select teams1 --> click update
Harry Dubois
Jun 01, 2017Brass Contributor
Also same result:
Set-MsolUserLicense : Unable to assign this license because the license options
are invalid.
At line:1 char:92
Set-MsolUserLicense : Unable to assign this license because the license options
are invalid.
At line:1 char:92
Jun 01, 2017
It seems the license that you already applied to the user and the one we are trying to apply now are different, due to this error is thrown. You can also use the below tool from Microsoft TechNet Gallery.
https://gallery.technet.microsoft.com/Office365-License-cfd9489c
Once you open the tool,
select all user -->right click-->manage License-->remove license or plan -->expand your license and select teams1 --> click update
https://gallery.technet.microsoft.com/Office365-License-cfd9489c
Once you open the tool,
select all user -->right click-->manage License-->remove license or plan -->expand your license and select teams1 --> click update
- Robert WoodsJun 21, 2017Iron Contributor
This tool is amazing. Microsoft should take note. Lana OBrien
- Harry DuboisJun 02, 2017Brass Contributor
Thanx, this tool is great and solved my problem.