AD proxyAddresses population

In trying to set the proxyAddresses on AD account creation it isn’t populating all values.

In ISC we are populating a signle valued attribute that is comma delimited and then on the account creation policy we are using a cloudDelimiter of a comma.

I don’t know if it is a timing issue with the transform creating the IDN attribute in time, or if it is a poor formatting issue to populate the multiple attribute values in AD.

Velocity logic is:

#set($mailParts =$mail.split('@'))#if($mailParts[1].contains('x.com'))SMTP:$mail,smtp:$mailParts[0]@y.org#elseif($mailParts[1].contains('y.org'))SMTP:$mail,smtp:$mailParts[0]@x.com#{else}#end"

The account creation profile contains:

{
            "name": "proxyAddresses",
            "transform": {
                "type": "identityAttribute",
                "attributes": {
                    "name": "proxyAddresses"
                }
            },
            "attributes": {
                "cloudDelimiter": ","
            },
            "isRequired": false,
            "type": "string",
            "isMultiValued": true
        },

We are only setting it on creation and are not synchronizing the value.

We do not see any errors in the events on the Identity.

thanks,
Fred

Hi,
For debugging purpose, you can map this transform to an identity attribute and you can preview the value for any user. From there you can check if your transform is working correctly or not.
"In ISC we are populating a single valued attribute that is comma delimited "- I am assuming you are getting the whole string of proxy address there for e.g
SMTP:test@abc.biz;smtp:xafr245@abc.biz;sip:xafrc245@abc.biz. If that so you then you can just refer the attribute with the cloud delimiter thing. You don’t need to write the velocity as you mentioned.

Hey!

here a example value you can use that works :

#if($tipo == 'EXT' && $create== 'YES')#set($String=$mail)#set($index=$String.indexOf('@'))#set($val1=$String.substring(0,

$index))SMTP:$mail,

smtp:$sAMAccountName@company.mail.onmicrosoft.com,

smtp:$val1@company.com.br#end#if($tipo == 'FTE')SMTP:$mail,

smtp:$sAMAccountName@company.mail.onmicrosoft.com#end#if($tipo == 'EXT' && $criarEmail != 'SIM')smtp:$sAMAccountName@company.mail.onmicrosoft.com#end"
1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.