Skip to content

Last logon user / Primary user - managed by Active Directory

Featured Replies

Hello.

Is there any way to populating "Managed By" in Active Directory with information from SCCM? for example, Last Logon User or Primary User?
I can retrieve the information using SCCM but I do not know how to write information to Active Directory.

Thanks in advance
 

I manually populate that field via a script I run against my HR report monthly.  The field for "managed by" requires input (whether it be via powershell, or other) to be in a specific format.  I believe that the CN or username must be used.  It is an odd field that does not populate with static data.  For example, you will get script errors if you try to add a name to that field and the account your are trying to insert does not exist in AD.  The "managed by" field must contain users who exist if you want to script.  

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.