# Transform Issue

**URL:** <https://developer.sailpoint.com/discuss/t/transform-issue/105048>\
**Category:** SHF Discussion and Questions\
**Tags:** connectors, transforms, provisioning, identity-security-cloud\
**Created:** [March 21, 2025, 10:19am UTC](https://developer.sailpoint.com/discuss/t/transform-issue/105048 "2025-03-21T10:19:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![LearningStar](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@LearningStar](https://developer.sailpoint.com/discuss/u/LearningStar)\
**Post date:** [March 21, 2025, 10:19am UTC](https://developer.sailpoint.com/discuss/t/transform-issue/105048/1 "2025-03-21T10:19:27Z")

</div>

Team, Here I tried to create one transform for one of the attribute for Entra-ID but it is throwing error, request got failed when I tried to provision for one of test-account when I checked the account activity, I saw value where my custom transform being used in the value is not being passed into account attribute where my custom transform is being used, Same transform I used in ID profile it worked fine, Now I am wondering what wrong is In this transform for provisioning.

I am trying to get [firstname.lastname@domainnam.com](mailto:firstname.lastname@domainnam.com)

‘All into lower’

“transform”: {  
“type”: “lower”,  
“attributes”: {  
“type”: “concat”,  
“attributes”: {  
“values”: [  
{  
“attributes”: {  
“name”: “firstname”  
},  
“type”: “identityAttribute”  
},  
“.”,  
{  
“attributes”: {  
“name”: “lastname”  
},  
“type”: “identityAttribute”  
},  
“@DemoExample.com”  
]  
}  
}  
}

if you find any issue here, Please post your comnment

---

<div class="post-metadata">

**Author:** ![Tulasi](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/tulasi/32/34596_2.png) [@Tulasi](https://developer.sailpoint.com/discuss/u/Tulasi)\
**Post date:** [March 21, 2025, 10:31am UTC](https://developer.sailpoint.com/discuss/t/transform-issue/105048/2 "2025-03-21T10:31:16Z")

</div>

> [@LearningStar](#):
>
> I saw value where my custom transform being used in the value is not being

Hi Gagan, It seems like U are using the custom transform for the UserPrincipalname filed, instead of that why don’t u use the generator Create Unique Account ID with pattern $(firstname).$(lastname)$(uniqueCounter)@yourdomain.onmicrosoft.com

---

<div class="post-metadata">

**Author:** ![KRM7](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/krm7/32/2685_2.png) [@KRM7](https://developer.sailpoint.com/discuss/u/KRM7)\
**Post date:** [March 21, 2025, 10:32am UTC](https://developer.sailpoint.com/discuss/t/transform-issue/105048/3 "2025-03-21T10:32:56Z")

</div>

```auto
{
    "type": "lower",
    "attributes": {
        "input": {
            "type": "concat",
            "attributes": {
                "values": [
                   {
                       "type": "accountAttribute",
                       "attributes": {
                           "sourceName": "HR Source",
                           "attributeName": "firstname"
                       }
                   },
                   ".",
                   {
                       "type": "accountAttribute",
                       "attributes": {
                           "sourceName": "HR Source",
                           "attributeName": "lastname"
                       }
                   },
                   "@DemoExample.com"
                ]
            }
        }
    }
}

```

Do not use Identity attribute type Transform

---

<div class="post-metadata">

**Author:** ![LearningStar](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@LearningStar](https://developer.sailpoint.com/discuss/u/LearningStar)\
**Post date:** [March 21, 2025, 10:33am UTC](https://developer.sailpoint.com/discuss/t/transform-issue/105048/4 "2025-03-21T10:33:20Z")

</div>

Thanks for your suggestion but here I have to use lower case for user principal name consist of firstname and lastname everything in lower case

---

<div class="post-metadata">

**Author:** ![sharvari](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@sharvari](https://developer.sailpoint.com/discuss/u/sharvari)\
**Post date:** [March 21, 2025, 10:33am UTC](https://developer.sailpoint.com/discuss/t/transform-issue/105048/5 "2025-03-21T10:33:42Z")

</div>

```auto
{
    "type": "lower",
    "attributes": {
        "input": {            
            "type": "concat",
            "attributes": {
                "values": [
                    {
                        "type": "identityAttribute",
                        "attributes": {
                            "name": "firstname"
                        }
                    },
                    ".",
                    {
                        "type": "identityAttribute",
                        "attributes": {
                            "name": "lastname"
                        }
                    },
                    "@demoexample.com"
                ]            
            }
        }
    },
    "name": "ID Generator Transform"
}

```

Try the transform above.

Ideally you shoud be using the "[Username Generator | SailPoint Developer Community](https://developer.sailpoint.com/docs/extensibility/transforms/operations/username-generator) transform along with uniqueCounter for this.

---

<div class="post-metadata">

**Author:** ![LearningStar](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@LearningStar](https://developer.sailpoint.com/discuss/u/LearningStar)\
**Post date:** [March 21, 2025, 11:58am UTC](https://developer.sailpoint.com/discuss/t/transform-issue/105048/6 "2025-03-21T11:58:04Z")

</div>

Thanks Krishna, but here I am using this transform for provisioning, as per documentation what I understood that it can only access Identity attributes, Anyways when I tried the exact transform it worked.  
Thanks Krishna 🙂

---

<div class="post-metadata">

**Author:** ![LearningStar](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@LearningStar](https://developer.sailpoint.com/discuss/u/LearningStar)\
**Post date:** [March 21, 2025, 12:01pm UTC](https://developer.sailpoint.com/discuss/t/transform-issue/105048/7 "2025-03-21T12:01:01Z")

</div>

Thanks @sharvari it worked!, now provisioning got successful, what I missed in my transform input { , I am not sure why do we need to add input here if we are directly taking values from identity attribute not specifically mentioning anything in inputs. May be I need to do more readings on understanding Implicit and Explicit inputs, Thanks a lot Sharvari 🙂

---

<div class="post-metadata">

**Author:** ![KRM7](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/krm7/32/2685_2.png) [@KRM7](https://developer.sailpoint.com/discuss/u/KRM7)\
**Post date:** [March 21, 2025, 12:03pm UTC](https://developer.sailpoint.com/discuss/t/transform-issue/105048/8 "2025-03-21T12:03:16Z")

</div>

Yes, I missed it, indeed it is at Provisioning side.

At Identity Profile side, you should not use Identity attribute transform, at provisioning side, you can.

You should use Generator for uniqueness.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [May 20, 2025, 12:04pm UTC](https://developer.sailpoint.com/discuss/t/transform-issue/105048/9 "2025-05-20T12:04:05Z")

</div>

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