Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Handle multiple manager AD account during Create Account

singh
New Contributor III
New Contributor III

There is standard and admin manager AD accounts under single endpoint. During the create account JSON, how we can select the standard manager AD account in the JSON, currently we are using 
"manager": "${managerAccount.accountID?.replace('\\', '\\\\')?.replace('/', '\\/')}", but the provisioning fails if the user's manager have multiple AD accounts. Please suggest how to handle this

6 REPLIES 6

rushikeshvartak
All-Star
All-Star

"manager": "${managerAccount[0].accountID?.replace('\\', '\\\\')?.replace('/', '\\/')}",


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

NM
Esteemed Contributor
Esteemed Contributor

Hi @singh try this 

 "${managerAccount.get(0).accountID?.replace('\\', '\\\\')?.replace('/', '\\/')}",

 

 

 


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'

singh
New Contributor III
New Contributor III

@NM @rushikeshvartak I tried both but none of them are working

NM
Esteemed Contributor
Esteemed Contributor

Can you share logs @singh 


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'

stalluri
Valued Contributor II
Valued Contributor II

@singh Try marking the account as primary. Under Account Type.
 At endpoint level use the flag as primary
Screenshot 2024-08-08 at 9.41.08 AM.png
use the same
"manager": "${managerAccount.accountID?.replace('\\', '\\\\')?.replace('/', '\\/')}",


Best Regards,
Sam Talluri
If you find this a helpful response, kindly consider selecting Accept As Solution and clicking on the kudos button.

He have  2 accounts so it will always take 1 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.