# Change Account Name attribute in source

**URL:** <https://developer.sailpoint.com/discuss/t/change-account-name-attribute-in-source/2658>\
**Category:** SHF Discussion and Questions\
**Created:** [January 17, 2022, 4:49pm UTC](https://developer.sailpoint.com/discuss/t/change-account-name-attribute-in-source/2658 "2022-01-17T16:49:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![seemarani](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@seemarani](https://developer.sailpoint.com/discuss/u/seemarani)\
**Post date:** [January 17, 2022, 4:49pm UTC](https://developer.sailpoint.com/discuss/t/change-account-name-attribute-in-source/2658/1 "2022-01-17T16:49:47Z")

</div>

Hi Team,

We’ve SAP SF source configured as auth source. The source attribute FormalName as AccountName. This is auth source and if we have same formal name all are getting linked to same identity. FormalName are not unique. In order to avoid this, we would like to change the AccountName to some unique attribute. How we can we achieve this, what are the implications if we change this

---

<div class="post-metadata">

**Author:** ![Ramiro](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@Ramiro](https://developer.sailpoint.com/discuss/u/Ramiro)\
**Post date:** [January 17, 2022, 11:41pm UTC](https://developer.sailpoint.com/discuss/t/change-account-name-attribute-in-source/2658/2 "2022-01-17T23:41:24Z")

</div>

You don’t need to change the account name attribute, you just need to update the correlation logic. It’s the correlation logic which determines how accounts are linked to identities.

Having said that, there’s no impact of changing the account name attribute, it only impacts the display in IdentityNow.

---

<div class="post-metadata">

**Author:** ![seemarani](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@seemarani](https://developer.sailpoint.com/discuss/u/seemarani)\
**Post date:** [January 18, 2022, 4:17am UTC](https://developer.sailpoint.com/discuss/t/change-account-name-attribute-in-source/2658/3 "2022-01-18T04:17:21Z")

</div>

@Ramiro We don’t have any correlation defined, since this is auth source. Changing accountName attribute will be done via API?

---

<div class="post-metadata">

**Author:** ![Ramiro](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@Ramiro](https://developer.sailpoint.com/discuss/u/Ramiro)\
**Post date:** [January 18, 2022, 4:50am UTC](https://developer.sailpoint.com/discuss/t/change-account-name-attribute-in-source/2658/4 "2022-01-18T04:50:49Z")

</div>

I had to set correlation logic in my authoritative source as well, to prevent the issue you just described.

However, that was three years ago, it’s possible something has changed since then.

Changing the account name used to be possible via the UI, however I can’t seem to see a way to do it in the new source UI. It can be done via API:

POST https://{{orgname}}.api.identitynow.com/cc/api/source/updateSchemaAttributes/{{sourceid}}

body:  
objectType=account&fieldName=displayAttribute&fieldValue=true&names={{attributename}}

---

<div class="post-metadata">

**Author:** ![seemarani](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@seemarani](https://developer.sailpoint.com/discuss/u/seemarani)\
**Post date:** [January 18, 2022, 10:02am UTC](https://developer.sailpoint.com/discuss/t/change-account-name-attribute-in-source/2658/5 "2022-01-18T10:02:54Z")

</div>

@Ramiro Thanks for this. We’ve option to set in UI also, made it and updated. Its working fine now.

---

<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:** [July 19, 2023, 2:22pm UTC](https://developer.sailpoint.com/discuss/t/change-account-name-attribute-in-source/2658/6 "2023-07-19T14:22:30Z")

</div>


