以管理员身份运行AAD PSide
查看订阅和使用状态ui
Get-MsolAccountSku命令行
批量授予全部用户E3许可3d
Get-MsolUser -All -UnlicensedUsersOnly | Set-MsolUserLicense -AddLicenses "qwew:ENTERPRISEPACK_NO_RMS"blog
查看某个用户已经分配的许可seo
(Get-MsolUser -UserPrincipalName lili@qwew.partner.onm51CTO提醒您,请勿滥发广告!).licenses.servicestatusip
定义新的许可变量,除了Exchange 产品,其余的产品都禁用ci
$LicenseOptions1 = New-MsolLicenseOptions -AccountSkuId qwew:ENTERPRISEPACK_NO_RMS -DisabledPlans SHAREPOINTWAC,SHAREPOINTENTERPRISE,OFFICESUBSCRIPTION,MCOSTANDARDget
执行命令,使定义新的许可变量生效(标记部分换成本身的AccountSkuId)产品
Get-MsolUser -all | where {($_.islicensed -eq $true) -and ($_.licenses.accountskuid -eq 'qwew:ENTERPRISEPACK_NO_RMS')} | Set-MsolUserLicense -LicenseOptions $licenseoptions1
查看设置是否生效,使用命令行或者图形界面
(Get-MsolUser -UserPrincipalName lili@qwew.partner.onm51CTO提醒您,请勿滥发广告!).licenses.servicestatus