Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/12/2024 05:35 AM
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
Solved! Go to Solution.
08/12/2024 05:36 AM
08/12/2024 06:26 AM
email job frequency is for every 5 minutes
08/12/2024 06:30 AM
This can be issue of sending multiple emails ideal is 15-20 minutes
08/12/2024 06:55 AM
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.
08/12/2024 06:58 AM
08/12/2024 07:17 AM
I am triggerring the provisioning job manually then also it is not generating the task of enablement.
08/12/2024 09:13 AM
Provisioning jobs will process tasks and will not create any tasks.
08/12/2024 08:06 AM
@asharma - Can you check the workflow if it has any additional completion email notification.
08/12/2024 08:26 AM
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.
08/12/2024 09:39 AM
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
08/13/2024 01:13 AM
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.
08/13/2024 01:14 AM
Set status to 404 using enhanced query
08/13/2024 01:28 AM - edited 08/13/2024 02:47 AM
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
08/13/2024 03:27 AM
kindly help with the query.
08/13/2024 06:00 AM
select
EMAILHISTORYKEY emailhistory__primarykey,
'404' as emailhistory__status
from emailhistory
where EMAILHISTORYKEY=11 limit 1