entra-powershell icon indicating copy to clipboard operation
entra-powershell copied to clipboard

Set-EntraUserLicense does not disable plans that are specified when assigning licenses to a user.

Open msewaweru opened this issue 1 year ago • 0 comments

Thanks for reporting the bug. Please ensure you've gone through the following checklist before opening an issue:

  • Make sure you can reproduce this issue using the latest released version of Microsoft.Graph.Entra or Microsoft.Graph.Entra.Beta.
  • Please search the existing issues to see if there has been a similar issue filed.

Describe the bug

Set-EntraUserLicense does not disable plans that are specified when assigning licenses to a user.

To Reproduce Attached is the steps I followed: image

Expected behavior The user should be assigned licenses with the specified plans as disabled.

Debug Output

Run the problematic command with -Debug and paste the resulting debug stream below. ⚠ ATTENTION: Be sure to remove any sensitive information that may be in the logs.

Module Version

Please run Get-Module Microsoft.Graph.Entra* after cmdlet execution and paste the output below. If a module cannot be installed or imported, please run Get-Module -ListAvailable and paste the output.

Environment Data

Please run $PSVersionTable and paste the output below. If running the Docker container image, indicate the tag of the image used and the version of Docker engine.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

msewaweru avatar Oct 03 '24 10:10 msewaweru