Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/25/2024 07:57 PM - edited 06/25/2024 07:58 PM
Hi,
I have a usecase to make manager field of an AD account on termination as null. I tried the below but no luck. If anyone has worked on it, please help
DISABLE ACCOUNT JSON
{
"moveUsertoOU": "OU=Disabled Users,DC=prim,DC=com",
"userAccountControl": "514",
"manager": ""
}
{
"moveUsertoOU": "OU=Disabled Users,DC=prim,DC=com",
"userAccountControl": "514",
"AFTERMOVEACTIONS": {
"manager": ""
}
}
06/25/2024 08:17 PM
@PratithShetty try below
"manager": "${if(user?.manager!=null ) {''} else {''}}"
06/26/2024 06:06 AM
@Raghu No Luck. gives me Attribute conversion exception
06/25/2024 08:29 PM
{
"moveUsertoOU": "OU=Disabled Users,DC=prim,DC=com",
"userAccountControl": "514",
"manager": ""
}
{
"moveUsertoOU": "OU=Disabled Users,DC=prim,DC=com",
"userAccountControl": "514",
"AFTERMOVEACTIONS": {
"manager": null
}
}
06/26/2024 03:17 PM
No Luck. Nothing works. Maybe it is just the Manager attribute as it expects a DN always.
For a workaround i am clearing it using Powershell script.