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

Using Dynamic Attribute values in AccountNameRule

Pavan16
New Contributor III
New Contributor III

I have created a Dynamic attribute which will get OU details, which I intend to use in AccountnameRule for provisioning Account in AD, but the selected OU from dynamic attribute is not fetched in connection.

Please check and assist on this.

Dynamic Attribute:

Pavan16_0-1726841896752.png

Dynamic attribute values in form:

Pavan16_3-1726842199604.png

 

AccountNameRule I am using in Connection:

Pavan16_2-1726842063424.png

Error in TASK:

Pavan16_0-1726842369651.png

 

 
Please check and help me correct.
 

 

2 REPLIES 2

NM
Honored Contributor II
Honored Contributor II

Hi @Pavan16 don't use dynamic attribute .get .. just directly give the da name eg

${DAname} should work

rushikeshvartak
All-Star
All-Star

use just ${OU}

 

Sample below  https://forums.saviynt.com/t5/identity-governance/how-to-use-dynamic-attribute-in-accountnamerule/m-...

${if (ServiceAccountOwnerMap.ServiceAccountType.equals('Service Account')) {'CN='+task.accountName+',OU='+ApplicationName+',OU=Applications,DC=talanos,DC=local'} else {'CN='+user.username+',OU='+user.departmentNumber+',OU='+user.departmentname+',OU=Accounts,DC=talanos,DC=local'}}


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