salam1
(Shajedul Alam)
August 29, 2024, 6:32pm
1
Hello,
I am looking to enable new account provisioning email template for salesforce source in my environment.
I have read through this document here -New Account Provisioned Email Template - SailPoint Identity Services
In postman, I set up the following
https://{{tenant}}.api.identitynow.com/beta/sources/sourceid
body:
{
"op": "replace",
"path": "/connectorAttributes/accountCreateNotification",
"value": {
"notifyList": [
"[email protected] "
],
"notifyAccountOwner": false,
"enabled": true,
"notifyAccountOwnerAltEmail": false
}
}```
headers:
content-type: application/json-patch+json
accept: application/json
I am getting the following error:
{
“detailCode”: “400.1 Bad request content”,
“trackingId”: “18b94d4317844bd189733fa310d27c16”,
“messages”: [
{
“locale”: “und”,
“localeOrigin”: “REQUEST”,
“text”: “The request was syntactically correct but its content is semantically invalid.”
},
{
“locale”: “en-US”,
“localeOrigin”: “DEFAULT”,
“text”: “The request was syntactically correct but its content is semantically invalid.”
}
],
“causes”:
}
I am not sure what is causing it to fail here?`Preformatted text`
ipobeidi
(Ivan Obeidi)
August 29, 2024, 6:47pm
2
try to update it using Vscode.
Best!
1 Like
Karthikeyan_U
(Karthikeyan Udhayasurian)
August 29, 2024, 6:55pm
3
Hi Shajedul,
The payload seems to be incorrect, try using the below payload
[
{
"op": "replace",
"path": "/connectorAttributes/accountCreateNotification",
"value": {
"notifyList": [
"[email protected] "
],
"notifyAccountOwner": false,
"enabled": true,
"notifyAccountOwnerAltEmail": false
}
}
]
The second option to update the notification using the Microsoft Visual Studio Code, if you have the ISC setup then it’s easy to update.
Regards,
Karthi
salam1
(Shajedul Alam)
August 29, 2024, 7:11pm
4
I replaced it with your payload but it still giving me the same error.
Do you have a link for me to look up on the isc setup in VS code?
Karthikeyan_U
(Karthikeyan Udhayasurian)
August 29, 2024, 7:22pm
5
Hi Shajedul,
Can you try changing the op value to “add”, because the source might not be having that attribute by default.
VS Code ISC Configuration:
Download and install VSCode
Navigate to “Extensions” tab of the left top corner and search for SailPoint
Install the SailPoint ISC plugin
Click on add tenant and follow the instructions.
Regards,
Karthi
salam1
(Shajedul Alam)
August 29, 2024, 7:50pm
6
Thank you so much, Karti.
I was able to get the ISC setup. I havent used it before. Which field would we be updating here? and how would we push the update into sailpoint using ISC?
Karthikeyan_U
(Karthikeyan Udhayasurian)
August 29, 2024, 8:12pm
7
Hi Shajedul,
Look for “connectorAttributes” and next to that give a enter and paste the below value,
Regards,
Karthi
1 Like
salam1
(Shajedul Alam)
August 29, 2024, 8:47pm
8
I added it. Does it get pushed when I save? or is there anything I have to do to push or enable this?
you do not have to do anything just save it Ctrl+s.
1 Like
Karthikeyan_U
(Karthikeyan Udhayasurian)
August 30, 2024, 4:12am
10
Hi Shajedul,
Just saving the changes will push the code to the tenant, nothing else required.
Thanks,
Karthi
1 Like
vikramsah
(Vikram Sah)
September 3, 2024, 3:34pm
11
@Karthikeyan_U @salam1
Where exactly do we create the email template itself and how do we attach it against a specific source. Looks like the documentation doesnt cover it.
salam1
(Shajedul Alam)
September 3, 2024, 4:51pm
12
We use Sailpoint Identity Now. If you go to admin → global → email templates. Then search new account provisioned email template. It is already built by sailpoint. We just add/remove attribute you want to include in the email template. For example: Identity.department and more
1 Like
salam1
(Shajedul Alam)
September 11, 2024, 3:45pm
13
@Karthikeyan_U Do you know if the DL need to exist in sailpoint in order for the email to be sent successfully? I set up a DL in the notifylist but that DL does not exist in sailpoint. I can see from the sailpoint logs that the email was sent upon account create but the DL system did not get any email from sailpoint.
salam1
(Shajedul Alam)
September 11, 2024, 11:41pm
14
It was found out that zendesk blocks no-reply emails.
1 Like
Yathish
(yathish Ponnana)
September 12, 2024, 3:52am
15
In this case you can change the noreply email to some other email in the system settings - Product Branding.
1 Like
system
(system)
Closed
November 11, 2024, 3:53am
16
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.