When I use test data it is working fine but when I enable workflow and try to create user and auto provision Ad account email is sent using New Account Provisioned email template instead of customized Send Email Action template of workflow and recipient details as [email protected].
When I did observe I see below snippet added to AD source
This is how it works we don’t need to enable workflow and use above snippet for provisioning emails where we require? (after disabling workflow still I see this snippet in source)
If I have to do for modify account similar way it works? Is this known ?
Yes we want to send it only for few in scope users not all users which got Active Directory Provisioned. I assume purpose of this trigger is to filter out users.
This code is reflected in your source configuration as you may have set it using API. When this is enabled, it will send the New Account Provisioned email as per configuration above.
You can disable it and use your custom workflow in case you have specific requirements/scenarios around sending this email.
Thank you. I did disable this in source code and try workflow. It didn’t work in my case, no email generated for Provisioning completed trigger. Please let me know if it works.