Hello There,
I have an Active Directory source in SailPoint ISC and I am passing static value for memberOf attribute, so that a group will be provisioned every time a new user account is created.
It is working fine for single group. I need to pass multiple group values, can someone recommend how it can be done.
Current value:
#if($employee!=‘Contract’)CN=GroupA,OU=Groups,OU=Sailpoint ISC,DC=domain,DC=com#end
Updated Value:
#if($employee!=‘Contract’)#set($groups = [“CN=GroupA,OU=Groups,OU=Sailpoint ISC,DC=domain,DC=com”, “CN=GroupB,OU=Groups,OU=Sailpoint ISC,DC=domain,DC=com”])$groups#end
memberOf attribute is marked as entitlement and multivalued. Is it feasible to pass multiple value as part of STATIC?
@PushparajBendigoBank it looks like this should be possible, as this Developer Community post as Fred Patterson mentioned in this entry:
“Fred Patterson Ambassador Sep 2023 This is an example of my code that is working:”
{
<span class="hljs-string">"name"</span>: <span class="hljs-string">"proxyAddresses"</span>,
<span class="hljs-string">"transform"</span>: {
<span class="hljs-string">"type"</span>: <span class="hljs-string">"static"</span>,
<span class="hljs-string">"attributes"</span>: {
<span class="hljs-string">"value"</span>: <span class="hljs-string">"smtp:<span class="hljs-variable">$sAMAccountName</span>@example.mail.onmicrosoft.com,SMTP:<span class="hljs-variable">$sAMAccountName</span>@example.com"</span>
}
},
<span class="hljs-string">"attributes"</span>: {
<span class="hljs-string">"cloudDelimiter"</span>: <span class="hljs-string">","</span>
},
<span class="hljs-string">"isRequired"</span>: <span class="hljs-literal">false</span>,
<span class="hljs-string">"type"</span>: <span class="hljs-string">"string"</span>,
<span class="hljs-string">"isMultiValued"</span>: <span class="hljs-literal">true</span>
},
You can also find related documentation here, which mentions multi-valued attributes in a Create Account profile:
“If a multi-valued entitlement has more than one value, then the (provisioning) plan represents it as an array:”
{
"key": {
"simple": {
"id": "john.doe"
}
},
"disabled": false,
"locked": false,
"attributes": {
"id": "john.doe",
"email": "example@sailpoint.com",
"entitlements": [
"administrator",
"sailpoint"
]
}
}
Please let us know if this helps answer your question!