Account creation policy loosing attributes when updates are made in the UI

I have a ticket open with support, but thought I would post here as well.

We are utilizing a custom rule to generate a unique UPN on account creation. We have some additional attributes on the userPrinicipalName for the rule to consume so that we can use the same rule across multiple customers, tenants, etc.

What we are finding is that when someone makes an update to the Account creation policy within the UI, the attributes are dropped from the creation profile.

Example:

{
            "name": "userPrincipalName",
            "transform": {
                "type": "rule",
                "attributes": {
                    "name": "UniqueUpnGenerator",
                    "domain1": "@example.org",
                    "domain2": "@example1.com",
                    "deptId": "31170,31171,31172,31173,31174,31175",
                    "sourceIds": "922aa6bf1f1d47d1b80a5d05a05a7449,4880bc0a48ca4a0e997ee558ae6fcd69,e7c95c2516de4f0590ce8441f1202e5d"
                }
            },
            "attributes": {
                "template": "$(primaryId)$(uniqueCounter)@example.org"
            },
            "isRequired": false,
            "type": "string",
            "isMultiValued": false
        },

Are others seeing this?

3 Likes

Yes, i have seen this happening in our case it was custom transforms that were attached to profile were getting removed.
Figured, that doing a API call was much more reliable than UI updation.

1 Like

I have heard back from support that this should now be fixed.

However, if the custom / transform attribute is what is being modified in the UI, you should make sure you have a backup of your attributes and prepare to update that given custom transform attribute.

I have not confirmed this fix personally as of writing this, but hope to soon.