This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

add secondary owner to an account through Powershell

Hi, Is there any way to update secondary owner on an user account through PowerShell? I have tried with below command but it didn't worked.

set-qaduser kalyan -ObjectAttributes @{secondaryowner = kponugoti@testdomain.com} -Proxy

 

Thanks,

Kalyan

Parents
  • Hello Kalyan,

    If you look at the Advanced Properties of a User Object, you will find all attributes and their syntax.

    In this case, you should be updating "edsvaSecondaryOwners", not "secondaryowner".

    Also, this attribte requires a DN, not a UPN.
Reply
  • Hello Kalyan,

    If you look at the Advanced Properties of a User Object, you will find all attributes and their syntax.

    In this case, you should be updating "edsvaSecondaryOwners", not "secondaryowner".

    Also, this attribte requires a DN, not a UPN.
Children
No Data