Update User IdentityProvider in PowerShell

How can I update user's Identify provider column using PowerShell?

Parents Reply
  • A couple of pointers:

    - You don't have to specify the identity parameter.  If you don't Set-PWUserIdentity should set the identity to the user's email, if it exists.  If not, the cmdlet does nothing.  The cmdlet doesn't inform you that there is no email address, so you may want to output that the email doesn't exist in your script.

    - If the cmdlet fails, you should receive a warning message telling you it failed.

    Hope this helps,

    Mark Weisman | Bentley Systems

No Data