How to add ISC Identity ID into account Provisioning Plan

Does anyone know how do I add the ISC Identity ID # to a provisioning plan (Create Account) on a source? I see it in an identity details and I can add it to a column on a search but it isn’t available in the Identity attribute selection. We can also obtain it via API just not for provisioning/attribute sync. This is needed for some integration we are developing.

Thanks

Add an attribute to your creation policy which uses a transform for the value. The transform should look like this:

{
    "name": "getIdentityId",
    "type": "static",
    "attributes": {
        "value": "$identity.getId()"
    },
    "internal": false
}

You also could define an identity attribute which uses this same transform and then just use a direct identity attribute value in your create policy.

1 Like

Thank Patrick,
That worked great!

In the UI, I added new attribute in ‘Create Account’
Choose ‘static’ and enter

$identity.getId()

via API, /beta/sources/<source ID>/provisioning-policies it looks like:

            {
                "name": "iscIdentityId",
                "transform": {
                    "type": "static",
                    "attributes": {
                        "value": "$identity.getId()"
                    }
                },
                "attributes": {},
                "isRequired": false,
                "type": "string",
                "isMultiValued": false
            }

1 Like

Why not just use $identity.id as a static value?
Also, this only works on account create and doesn’t allow it to be synced. To sync, I need to create an identity attribute and then add it to provisioning plan as such. It’s a shame since it is already there but it can’t be accessed otherwise.

1 Like

is there a difference between $identity.getId() and $identity.id ?

Not really. He is suggesting using the property directly instead of the getter method which references the same property. Either works :blush:

1 Like