Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Few User manager getting duplicate emails for user credentials on AD account creation

asharma
Regular Contributor II
Regular Contributor II

Hi,
Few User manager getting duplicate emails for user credentials on AD account creation.

we have configure email template only in endpoint and that too only on task completion. 

Also, it's only with few user not for all. Please suggest if any config needs to be check.

Regards

15 REPLIES 15

rushikeshvartak
All-Star
All-Star
  • Validate your email job frequency 

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

asharma
Regular Contributor II
Regular Contributor II

email job frequency is for every 5 minutes

This can be issue of sending multiple emails ideal is 15-20 minutes


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

asharma
Regular Contributor II
Regular Contributor II

Also, the task for enabling the AD account is not being generated on time. It takes some time before it's created. However, in the user's update history, it shows that the user update rules which is used to enable the account were triggered.

This delay is part of the reason why duplicate emails are being triggered. The email template is only supposed to trigger after the account is enabled, but may be due to the delay, it causes duplicates.

  • Provisioning job always start with delay of job.ecm.startdelay=1000 milli seconds

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

asharma
Regular Contributor II
Regular Contributor II

I am triggerring the provisioning job manually then also it is not generating the task of enablement.

Provisioning jobs will process tasks and will not create any tasks.


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

jsatish
Regular Contributor II
Regular Contributor II

@asharma - Can you check the workflow if it has any additional completion email notification.

asharma
Regular Contributor II
Regular Contributor II

Nope. However, if there is any then also it makes no sense as we are getting same email templates with same body and only passowrd gets changed as it is generated from AD connection.

jsatish
Regular Contributor II
Regular Contributor II

Your usecase enable account duplicate emails? or it's happening for both New and Enable Account?.

You also need to check both "emailhistory_process" and "emailhistory". 

Probably this is what causing

The reason was that the requests that were present in the emailhistory_process were not getting cleared out because of which the system was sending out duplicate emails every time it was triggered

 

asharma
Regular Contributor II
Regular Contributor II

I can see 8 failure email in email history in which 1 is related to the one which I am talking about and that too is of 15 july. if it is the cause then how can we clear the email history? Please guide here.

Set status to 404 using enhanced query


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

jsatish
Regular Contributor II
Regular Contributor II

You can update it via Enhanced Query or create a ticket with Saviynt support. Team can be able to clear the emailhistory_process or emailhistory which are in failed state.

Regards,
Satish

asharma
Regular Contributor II
Regular Contributor II

kindly help with the query.

select
EMAILHISTORYKEY emailhistory__primarykey,
'404' as emailhistory__status
from emailhistory
where EMAILHISTORYKEY=11 limit 1


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.