entra-powershell
entra-powershell copied to clipboard
Not possible to set user's properties to the null value using Set-EntraUser
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.
@alexandair Thanks for raising the bug we are looking into it.
This issue is present in the SDK as show
@SteveMutungi254 please advise.
This issue is present in the SDK as show
@SteveMutungi254 please advise.
We should use the Graph API and perform customization as needed.
@SteveMutungi254 please advise.