Bulk setting secondary owners on user objects

Hi,

Unfortunately the documentation on PowerShell syntaxes is very minimal. Because secondary owners on an object is an ARS attribute and not a native AD one, how would one go ahead and set them in bulk from a CSV? I have tried searching through previous forum posts and weren't able to identify any.

Many Thanks

Parents Reply
  • Not having much luck with this I'm afraid, I've tried using the sAMAccountName and ARS GUID for $NewSecondaryOwner with no success. The attribute doesn't get populated. I have the appropriate ARS and AD permissions.

    Set-QADUser -Identity "ABC123" -ObjectAttributes @{edsvasecondaryownersGUIDs="XYZ123"}

Children