# We have a requirement for attribute synchronization for previous data the attribute sync should not happen it should happen only for new users . when i am enabling attribute sync it is synching to previous data also that we dont want

**URL:** <https://developer.sailpoint.com/discuss/t/we-have-a-requirement-for-attribute-synchronization-for-previous-data-the-attribute-sync-should-not-happen-it-should-happen-only-for-new-users-when-i-am-enabling-attribute-sync-it-is-synching-to-previous-data-also-that-we-dont-want/103908>\
**Category:** SHF Discussion and Questions\
**Tags:** sailpoint-identity-security\
**Created:** [March 12, 2025, 3:39pm UTC](https://developer.sailpoint.com/discuss/t/we-have-a-requirement-for-attribute-synchronization-for-previous-data-the-attribute-sync-should-not-happen-it-should-happen-only-for-new-users-when-i-am-enabling-attribute-sync-it-is-synching-to-previous-data-also-that-we-dont-want/103908 "2025-03-12T15:39:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaithu979](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@chaithu979](https://developer.sailpoint.com/discuss/u/chaithu979)\
**Post date:** [March 12, 2025, 3:39pm UTC](https://developer.sailpoint.com/discuss/t/we-have-a-requirement-for-attribute-synchronization-for-previous-data-the-attribute-sync-should-not-happen-it-should-happen-only-for-new-users-when-i-am-enabling-attribute-sync-it-is-synching-to-previous-data-also-that-we-dont-want/103908/1 "2025-03-12T15:39:47Z")

</div>

we have a requirement for attribute synchronization for previous data the attribute sync should not happen it should happen only for new users . when i am enabling attribute sync it is synching to previous data also that we dont want

---

<div class="post-metadata">

**Author:** ![margocbain](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/margocbain/32/17314_2.png) [@margocbain](https://developer.sailpoint.com/discuss/u/margocbain)\
**Post date:** [March 12, 2025, 3:56pm UTC](https://developer.sailpoint.com/discuss/t/we-have-a-requirement-for-attribute-synchronization-for-previous-data-the-attribute-sync-should-not-happen-it-should-happen-only-for-new-users-when-i-am-enabling-attribute-sync-it-is-synching-to-previous-data-also-that-we-dont-want/103908/2 "2025-03-12T15:56:14Z")

</div>

Hi Chaithanya,

You can consider updating your identity profiles with a firstValid transform to first take the value from the existing account, and then if not present generating it from identity attributes. Otherwise, it will sync by default.

> **[Synchronizing Attributes - SailPoint Identity Services](https://documentation.sailpoint.com/saas/help/provisioning/attr_sync.html)**
>
> SailPoint Identity Services Documentation

Thanks,  
Margo

---

<div class="post-metadata">

**Author:** ![chaithu979](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@chaithu979](https://developer.sailpoint.com/discuss/u/chaithu979)\
**Post date:** [March 12, 2025, 4:28pm UTC](https://developer.sailpoint.com/discuss/t/we-have-a-requirement-for-attribute-synchronization-for-previous-data-the-attribute-sync-should-not-happen-it-should-happen-only-for-new-users-when-i-am-enabling-attribute-sync-it-is-synching-to-previous-data-also-that-we-dont-want/103908/3 "2025-03-12T16:28:54Z")

</div>

the issue is in ad we have previous data

that should not sync only new user need sync

---

<div class="post-metadata">

**Author:** ![chaithu979](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@chaithu979](https://developer.sailpoint.com/discuss/u/chaithu979)\
**Post date:** [March 12, 2025, 4:48pm UTC](https://developer.sailpoint.com/discuss/t/we-have-a-requirement-for-attribute-synchronization-for-previous-data-the-attribute-sync-should-not-happen-it-should-happen-only-for-new-users-when-i-am-enabling-attribute-sync-it-is-synching-to-previous-data-also-that-we-dont-want/103908/4 "2025-03-12T16:48:21Z")

</div>

@sharvari , @jesvin90 , @mcheek , @kjakubiak , @enistriminsait , @KRM7  
@iamnithesh can you reply

---

<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 12, 2025, 5:01pm UTC](https://developer.sailpoint.com/discuss/t/we-have-a-requirement-for-attribute-synchronization-for-previous-data-the-attribute-sync-should-not-happen-it-should-happen-only-for-new-users-when-i-am-enabling-attribute-sync-it-is-synching-to-previous-data-also-that-we-dont-want/103908/5 "2025-03-12T17:01:26Z")

</div>

> [@chaithu979](#):
>
> when i am enabling attribute sync it is synching to previous data

This is the standard attribute sync behavior.

To update a subset of users you can try to use an Update Account Profile on the source configuration and for each attribute being set, check the conditions before setting a new value. This isn’t a best approach performance wise but a workaround.

Another option could be using sync along with a Before Provisioning Rule. In the rule for modify operation check if the user is old or new and based on that make changes to your provisioning plan.

---

<div class="post-metadata">

**Author:** ![chaithu979](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@chaithu979](https://developer.sailpoint.com/discuss/u/chaithu979)\
**Post date:** [March 12, 2025, 5:04pm UTC](https://developer.sailpoint.com/discuss/t/we-have-a-requirement-for-attribute-synchronization-for-previous-data-the-attribute-sync-should-not-happen-it-should-happen-only-for-new-users-when-i-am-enabling-attribute-sync-it-is-synching-to-previous-data-also-that-we-dont-want/103908/6 "2025-03-12T17:04:46Z")

</div>

i just modified the transforms

---

<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 12, 2025, 6:27pm UTC](https://developer.sailpoint.com/discuss/t/we-have-a-requirement-for-attribute-synchronization-for-previous-data-the-attribute-sync-should-not-happen-it-should-happen-only-for-new-users-when-i-am-enabling-attribute-sync-it-is-synching-to-previous-data-also-that-we-dont-want/103908/7 "2025-03-12T18:27:07Z")

</div>

You can do this using Transform as well.

1. Get Link (AD Account) created date
2. Create separate Identity attributes for AD account
3. If AD account created before a specific date then its old account, if it is old account AD Identity attribute will have data from existing AD account, if it is new account then AD Identity attribute will have data from HR account
4. If the AD Identity attribute and account attribute is different then only attribute sync will trigger

---

<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 11, 2025, 6:27pm UTC](https://developer.sailpoint.com/discuss/t/we-have-a-requirement-for-attribute-synchronization-for-previous-data-the-attribute-sync-should-not-happen-it-should-happen-only-for-new-users-when-i-am-enabling-attribute-sync-it-is-synching-to-previous-data-also-that-we-dont-want/103908/8 "2025-05-11T18:27:09Z")

</div>

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