Forum Discussion
Apr 09, 2017
Unable to assign this license
When for example trying to remove the Skype for Business plan, i always get this error: Same with for example exchange, but for some reason there is no error when doing the same with Yammer. ...
- Apr 10, 2017
I think your problem is with the other SfB related services:
[11:47:13][O365]# (Get-MsolAccountSku | ? {$_.AccountSkuId -eq "MOD789510:ENTERPRISEPREMIUM"}).ServiceStatus | ? {$_.ServicePlan.ServiceName -like "MCO*"}
ServicePlan ProvisioningStatus
----------- ------------------
MCOEV Success
MCOMEETADV Success
MCOSTANDARD SuccessSo if you only disable MCOSTANDARD, you get the error. To disable it properly, you need to disable them all:
[11:48:10][O365]# Set-MsolUserLicense -UserPrincipalName LidiaH@MOD789510.onmicrosoft.com -LicenseOptions $newplan
[11:48:14][O365]# (Get-MsolUser -UserPrincipalName LidiaH@MOD789510.onmicrosoft.com).licenses.servicestatusServicePlan ProvisioningStatus
----------- ------------------
Deskless Success
LOCKBOX_ENTERPRISE Success
EXCHANGE_ANALYTICS Success
MCOEV Disabled
MCOMEETADV Disabled
MCOSTANDARD Disabled
EXCHANGE_S_ENTERPRISE Success
SHAREPOINTENTERPRISE PendingInput
SHAREPOINTWAC PendingInput
VasilMichev
Apr 09, 2017MVP
Looks OK to me, but havent run the actual code. I suspect the LicenseOptions variable is somehow broken. What happens if you flip the SfB service for that user by just running the relevant cmdlets outside of the script?
Apr 09, 2017
What sound strange to me is what you say about having to disable the lockbox service first in order to remove a EXO license for an existing user
- Apr 09, 2017
Dvelve also had to be disabled to disable Exchange in the webportal.
"To assign a lisens that contains Customer Lockboxm you must also assign one of the following services: Exchange Online"
This was the message i got when trying to disable Exchange on a user.
Starting to think this could be a bug?
- VasilMichevApr 10, 2017MVP
I think your problem is with the other SfB related services:
[11:47:13][O365]# (Get-MsolAccountSku | ? {$_.AccountSkuId -eq "MOD789510:ENTERPRISEPREMIUM"}).ServiceStatus | ? {$_.ServicePlan.ServiceName -like "MCO*"}
ServicePlan ProvisioningStatus
----------- ------------------
MCOEV Success
MCOMEETADV Success
MCOSTANDARD SuccessSo if you only disable MCOSTANDARD, you get the error. To disable it properly, you need to disable them all:
[11:48:10][O365]# Set-MsolUserLicense -UserPrincipalName LidiaH@MOD789510.onmicrosoft.com -LicenseOptions $newplan
[11:48:14][O365]# (Get-MsolUser -UserPrincipalName LidiaH@MOD789510.onmicrosoft.com).licenses.servicestatusServicePlan ProvisioningStatus
----------- ------------------
Deskless Success
LOCKBOX_ENTERPRISE Success
EXCHANGE_ANALYTICS Success
MCOEV Disabled
MCOMEETADV Disabled
MCOSTANDARD Disabled
EXCHANGE_S_ENTERPRISE Success
SHAREPOINTENTERPRISE PendingInput
SHAREPOINTWAC PendingInput- Apr 10, 2017
Thanks, that did the trick.
Found that these was needed to disable Exchange:
"EXCHANGE_ANALYTICS","EXCHANGE_S_ENTERPRISE","LOCKBOX_ENTERPRISE"
Found that these was needed to disable SharePoint:
"SHAREPOINTENTERPRISE","SHAREPOINTWAC"