microsoftgraph / microsoftgraph/entra-powershell
Set-EntraUserLicense does not disable plans that are specified when assigning licenses to a user.
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 213
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
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.EntraorMicrosoft.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:
Expected behavior
The user should be assigned licenses with the specified plans as disabled.
Debug Output
Run the problematic command with
-Debugand 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 runGet-Module -ListAvailableand paste the output.
Environment Data
Please run
$PSVersionTableand 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the Set-EntraUserLicense cmdlet, using the attached steps and a license assignment that specifies disabled plans. Trace the cmdlet's implementation and its Microsoft Graph request, then verify that the resulting user license has the specified plans disabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- api, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100