# Looking for Movers LCS when ever a users manager is changed, then it should update manager in Active directory

**URL:** <https://developer.sailpoint.com/discuss/t/looking-for-movers-lcs-when-ever-a-users-manager-is-changed-then-it-should-update-manager-in-active-directory/38815>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows, sailpoint-identity-security\
**Created:** [April 2, 2024, 6:31pm UTC](https://developer.sailpoint.com/discuss/t/looking-for-movers-lcs-when-ever-a-users-manager-is-changed-then-it-should-update-manager-in-active-directory/38815 "2024-04-02T18:31:09Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![vguleria](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/vguleria/32/7884_2.png) [@vguleria](https://developer.sailpoint.com/discuss/u/vguleria)\
**Post date:** [April 3, 2024, 4:07pm UTC](https://developer.sailpoint.com/discuss/t/looking-for-movers-lcs-when-ever-a-users-manager-is-changed-then-it-should-update-manager-in-active-directory/38815/7 "2024-04-03T16:07:06Z")

</div>

Hi @osmanmohammed

As mentioned by other fellow ambassadors, the best practice is to use two identity attribute identity AD DN and manager AD DN, and then configure the manager AD DN attribute in the attribute sync list.

But the attribute sync is not an option for you, then you may try the below approach where you can call the powershell script via workflow and pass the manager information along with user’s information. And when ever the manager is updated on identity, then you can try to call the powershell script to update the managers in AD directory.

> [@Invoke Powershell script](https://developer.sailpoint.com/discuss/t/invoke-powershell-script/14582):
>
> Hi, Is there an option available to invoke powershell script whenever the campaign activated is triggered? or atleast to use the powershell script in my workflow?

Please note that i have not personnally tried this option, but you can try it and let us know if it works for you.

I hope this works for you.

Thank You.  
Regards  
Vikas.

---

_[View the full topic](https://developer.sailpoint.com/discuss/t/looking-for-movers-lcs-when-ever-a-users-manager-is-changed-then-it-should-update-manager-in-active-directory/38815)._
