Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not possible to set user's properties to the null value using Set-EntraUser #439

Open
alexandair opened this issue Feb 23, 2024 · 3 comments

Comments

@alexandair
Copy link
Collaborator

For example, Set-EntraUser -ObjectId $diegoId -AgeGroup $null fails.

$null is converted to:

{
  "ageGroup": ""
}

instead of:

{
  "ageGroup": null
}

I assume we will have the same problem with other Entra commands.

@snehalkotwal
Copy link
Collaborator

@alexandair Thanks for raising the bug we are looking into it.

@rtintor
Copy link
Collaborator

rtintor commented Mar 19, 2024

This issue is present in the SDK as show
image
@SteveMutungi254 please advise.

@SteveMutungi254
Copy link
Contributor

This issue is present in the SDK as show image @SteveMutungi254 please advise.

We should use the Graph API and perform customization as needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants