How can I set an arbitrary (non default) attribute for an AD user or AD Contact?

Posted by makerofthings7 on Server Fault See other posts from Server Fault or by makerofthings7
Published on 2014-06-05T15:17:51Z Indexed on 2014/06/05 15:26 UTC
Read the original article Hit count: 166

I have AD Users, or contacts that are not Exchange Mailbox users, or contacts.

I also have a SSO system (Ping Identity... technology similar to Microsoft ADFS), where it leverages the AD Schema attribute: CustomAttribute1 to store information needed for SSO. This CustomAttribute1 was created by the Exchange Schema.

I would like to use CustomAttribute1 for both AD Users and AD Contacts, as well as the Exchange equivalent user and contacts.

Question

Since the Exchange tools will only allow me to modify "Exchange" users, what is the way to modify the AD counterpart? e.g. if the following command sets a mailbox...

set-mailbox -Identity [email protected]  -CustomAttribute1  [email protected]  -WarningAction silentlyContinue

What command will allow me to update an AD user (non-mailbox) under the same schema attribute?

© Server Fault or respective owner

Related posts about active-directory

Related posts about exchange