jmartelgit
jmartelgit
Invoke-MgGraphRequest POST "v1.0/users/$userUPN/assignLicense" -Body @{ addLicenses = @() removeLicenses = @($skuID) } That is the ONLY thing that worked for me today! I do have already remove ALL Ms-Graph and...
@salbeck-sit , the set command is not working anymore.. that is the purpose of this long thread ;)
@PSNobbi , yes! i did wrote exactly the same above! # removeLicenses $EmsSku = Get-MgBetaSubscribedSku | Where SkuPartNumber -eq 'EMSPREMIUM' $userId = (Get-MgBetaUser -UserId [email protected]).Id $body = @{ "addLicenses" =...