You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The email address field value is getting deleted from the user profile when using Set-User.
Note that in the code below, the -Email property is not set in Set-User, which is not a required property .
'foo' does exist as a custom property on the profile.
Hello -
The email address field value is getting deleted from the user profile when using Set-User.
Note that in the code below, the -Email property is not set in Set-User, which is not a required property .
'foo' does exist as a custom property on the profile.
`$users = Get-User -Filter $userFilter
foreach ( $user in $users )
{
$profile = $user.Profile
$identity = $profile.Username
Set-User -Identity $identity -CustomProperties @{ "foo" = "bar" }
}`
This occurs in SPE 5.1.
Thanks (again) for this awesome module for Sitecore.
The text was updated successfully, but these errors were encountered: