Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

Update AD manager field using UserUpdate Rule

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on February 24 2020 at 20:06 UTC

I want to update the manager field in Active Directory using a userupdate rule whenever the manager of a user changes in my HR system.

When I created a UserUpdate rule, the rule fails because the manager field in AD stores the manager info as a distinguishedname whereas Saviynt is passing the same data as a string.

e.g. CN=Roal, Brantin,OU=Users,OU=Home,DC=AFRC,DC=COMPANY,DC=LOCAL


Is there a way to update the AD manager field from Saviynt?


This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.
7 REPLIES 7

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on February 25 2020 at 04:36 UTC

Hi Anand,


Greetings!!

Could you please share the version details of SSM and update Account JSON for AD.


This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on February 25 2020 at 20:30 UTC

SSM version : 5.4.0

image



UPDATEACCOUNTJSON:

{

"department":"${user.departmentname}",

"departmentNumber":"${user.departmentNumber}",

"description":"${user.departmentname}",

"manager":"${user.customproperty9}"

}


CustomProperty9 has this value :

CN=Roal, Brantin,OU=Users,OU=Home,DC=AFRC,DC=COMPANY,DC=LOCAL

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on February 25 2020 at 20:31 UTC

SSM version : 5.4.0


image



UPDATEACCOUNTJSON

{

"department":"${user.departmentname}",

"departmentNumber":"${user.departmentNumber}",

"description":"${user.departmentname}",

"manager":"${user.customproperty9}"

}


Value in customProperty9:

CN=Roal, Brantin,OU=Users,OU=Home,DC=AFRC,DC=COMPANY,DC=LOCAL

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on February 27 2020 at 10:50 UTC

with the above configuration, it should work.

If it doesn't work yet. Please feel free to contact your saviynt implementation partner and raise a ticket for it.

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on February 27 2020 at 16:27 UTC

From 5.4.0 try:


"manager":"${managerAccount.accountID}"

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on August 27 2020 at 11:21 UTC

Hello Everyone,


I have tried above mentioned solutions to update manager name using user update rule,

But still facing same issue.

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on November 25 2020 at 10:39 UTC

Hi All,


Were you able to resolve this issue? If Yes, Please help us with the configurations.


We are also trying to update manager from Authoritative source to AD, Manager is getting updated in Saviynt, However no task is created for update in AD.


We have used "manager":"${managerAccount.accountID}" under UPDATEACCOUNTJSON


Regards,

Arjun Gadgul

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.