Jump to content
Microsoft Windows Bulletin Board

Set-MgUserLicense broken unless -AddLicenses & -RemoveLicenses are both are non empy


Recommended Posts

Posted
in ps 7.5, Microsoft.Graph.Users.Actions 2.26.1Set-MgUserLicense -UserId $script:userEmail -AddLicenses @(@{skuId=$skuId}) -RemoveLicenses @()Fails with message:One or more parameters of the operation 'assignLicense' are missing from the request payload. The missing parameters are: removeLicenses.The same happens if -AddLicenses is @()The only thing working is if you simultaneously add and remove licenses.**** moved from german to english Community ****

View the full article

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...