We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

Email address is not getting updated based on the AccountName

CR
Regular Contributor III
Regular Contributor III
Hi Team,
 
The Account name is not getting updated if we update the users first or last name. Based on the update on names, Account name should be updated and email address should be generated based on account name.
 
Steps to replicate:
Navigate to Update User Page
Select a User
Update the First or Last name 
Based on the update, Account Name will be update 
Email address has to get updated from old value to new value
 
Expected Results:
Account Name will be created based on the first and Last name
Email address will be updated as per the AccountName update
 
Under Identity Repository - Global Configuration - Identity Lifecycle System Username and Email Generation rules are present for Creation of account. We do not have a separate rule for Update scenario
 
Raghu_0-1700133252771.png

Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.
8 REPLIES 8

SumathiSomala
All-Star
All-Star

@CR can you please confirm 

are you updating the username/accountname?

 based on first name and last name

SumathiSomala_0-1700133499187.png

 

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

CR
Regular Contributor III
Regular Contributor III

Thanks for response Sumathi.

We are updating via user update form first and lastname / account name rule configured based on first and lastname.

Thanks,

Raghu


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

Rajesh-R
Saviynt Employee
Saviynt Employee

@CR - 

1. Account name once generated will not be regenerated.

2. Even if the first and the last name changes - the account name rule once triggered doesn't get re-triggered again.

3. This can be achieved in a different way:

    a. On firstname and lastname change, trigger a user update Rule. create an update Account Task and provision email / samAccountName / account name in the target directly.

    b. On Imports, we can import the accountname from the target with a reconciliation field as accountid. 

    c. This way you can regenerate the accountname in the target and write them back in to accountname after imports.

 


Thanks
Rajesh Ramalingam
Saviynt India

CR
Regular Contributor III
Regular Contributor III

Hi Rajesh,

Thanks for response:

We can go with first and last name rule update , how can achieve account name generate through rule ?

Thanks,

Raghu 


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

Rajesh-R
Saviynt Employee
Saviynt Employee

@CR  -

1. If firstname or last name changed - create an update account task

2. Define a Update Account JSON is such a way that samAccountName / accountname is updated as per your logic on firstname and last name,

3. Provision the task and the value is updated in the target.

4. Now run a full import for the endpoint with recon field as accountid - so that the change in the accountname is written back into saviynt.


Thanks
Rajesh Ramalingam
Saviynt India

CR
Regular Contributor III
Regular Contributor III

@Rajesh-R ,

1.cleared

2.firstname and last name after update also sameaccount name not generating (for Create user it will generate above screenshot) through connection updateaccount json logic we don't have logic, if have example will try come back.

Thanks,

Raghu


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

Rajesh-R
Saviynt Employee
Saviynt Employee
  1. Systemusername generation - will trigger only once at the time of user creation when the systemusername value is null.
  2. Register User Rule - will trigger only once at the time of user creation when the username value is null.
  3. Account Name generation - will trigger only once at the time of account creation.

If all these have assigned a name to systemusername / username / accountname - the OOTB rules will not trigger again.

For Email Generation - you can use Generate Email Action under the User Update Rule condition to regenerate the email based on firstname and lastname update.


Thanks
Rajesh Ramalingam
Saviynt India

CR
Regular Contributor III
Regular Contributor III

Thanks for more info Rajesh.

Yes, I tried first and lastname update and rule mapped in user update with generate mail.

rule was not triggering and email also not updated.

Raghu_0-1700218326614.png

 


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.