Skip to content

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

Open
@alexandair

Description

@alexandair

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions