New Account Provisioned Email Template - Customization

Hi Folks,

I have created identity attribute called oneTimePassword and populating it with random string generated transform.

I am struggling to use this attribute in “New Account Provisioned Email Template” for email communications.

Can someone please help how to reference identity attributes in email. I tried following but nothing is working.

${identity.oneTimePassword} or $identity.oneTimePassword or $user.oneTimePassword or ${user.oneTimePassword}

${identity.oneTimePassword} should work, ${user} is not available for this template. Can I ask what source type have you tested it against?

it’s Active Directory

Hi @maheshtare, can you check the searchable name for the attribute which should be as same as oneTimePassword? Sometimes searchable and actual attribute names will differ as below.

image

You could try going to search and type attributes. oneTimePassword:* see if you get any results.

According to documentation, ${identity.oneTimePassword} should work to fetch identity attribute. New Account Provisioned Email Template - SailPoint Identity Services.

If somehow that is not working for you, you can use workflow to send email as well. Use “Source Account Created” trigger and trigger the workflow when active directory accouont is created for a user. Get the identity in workflow and create an email template accordingly to your need. That should work.

Thanks.

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