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
Honored Contributor II
Honored Contributor II

Hi @singh try this 

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

 

 

 

singh
New Contributor III
New Contributor III

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

NM
Honored Contributor II
Honored Contributor II

Can you share logs @singh 

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'.