Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Creating Account Passwords

JohnDoe
Regular Contributor
Regular Contributor

Hello, guys.

As the title says, I want to create a password for my account in Saviynt.

The assumption is as follows.
① A user gets a Zoom account on Saviynt.
② A password for the Zoom account is generated at the same time as ①.
③ An email notifying the user of the account password is sent.
④ The user logs into Zoom using the password provided in the email.

Looking at the EIC, there's a Password Policy to set in the Security System, a PasswdPolicyJSON to enter in Connection, and more, so it's hard to know how to simply set the password for the account.

What are the steps and what should I do to solve the above problem?

If possible, I would appreciate it if you could give me samples of JSON and email templates.

9 REPLIES 9

rushikeshvartak
All-Star
All-Star

${randomPassword} variable can be used. and in email template ${account_password} variable can be used.


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Is ${randomPassword} entered in CreateAccountJSON?

Yes

Zoom https://docs.saviyntcloud.com/bundle/Zoom-v2022x/page/Content/Understanding-the-Integration-Between-...


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

I tried putting ${randompassword} in the Create Account JSON, but I get the following error when provisioning the Create Account task:

{"call1":{"message":"Unrecognized token '$': was expecting ('true', 'false' or 'null')\n at [Source: {\"action\":\"create\",\"user_info\":{\"email\":\"${user.email}\",\"type\": ${requestAccessAttributes?.UserType==null?'1':requestAccessAttributes.UserType},\"first_name\":\"${user.firstname}\",\"last_name\":\"${user.lastname}\",\"password\":\"${randomPassword}\"}}; line: 1, column: 66]","status":"Failed"}}

JohnDoe_2-1689211048352.png

JohnDoe_3-1689211064742.png

 

 

 

 

 

Hi @JohnDoe can you share the createaccountjson you are using?

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

JohnDoe
Regular Contributor
Regular Contributor

Here is the CreateAccountJSON from ZoomConnection that I use:

 

{
"accountIdPath": "call1.message.id",
"dateFormat": "yyyy-MM-dd'T'HH:mm:ssXXX",
"responseColsToPropsMap": {
"displayName": "call1.message.first_name~#~char",
"name": "call1.message.email~#~char",
"customproperty1": "call1.message.first_name~#~char",
"customproperty2": "call1.message.last_name~#~char",
"customproperty3": "call1.message.type~#~char",
"status": "#CONST#Inactive~#~char"
},
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://api.zoom.us/v2/users",
"httpMethod": "POST",
"httpParams": "{\"action\":\"create\",\"user_info\":{\"email\":\"${user.email}\",\"type\": ${requestAccessAttributes?.UserType==null?'1':requestAccessAttributes.UserType},\"first_name\":\"${user.firstname}\",\"last_name\":\"${user.lastname}\",\"password\":\"${randomPassword}\"}}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
201
]
}
}
]
}

Does hardcoded password works ?


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

No,The result is the same for fixed values.

{
"accountIdPath": "call1.message.id",
"dateFormat": "yyyy-MM-dd'T'HH:mm:ssXXX",
"responseColsToPropsMap": {
"displayName": "call1.message.first_name~#~char",
"name": "call1.message.email~#~char",
"customproperty1": "call1.message.first_name~#~char",
"customproperty2": "call1.message.last_name~#~char",
"customproperty3": "call1.message.type~#~char",
"status": "#CONST#Inactive~#~char"
},
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://api.zoom.us/v2/users",
"httpMethod": "POST",
"httpParams": "{\"action\":\"create\",\"user_info\":{\"email\":\"${user.email}\",\"type\": \"${requestAccessAttributes?.UserType==null?'1':requestAccessAttributes.UserType}\",\"first_name\":\"${user.firstname}\",\"last_name\":\"${user.lastname}\",\"password\":\"${randomPassword}\"}}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
201
]
}
}
]
}


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.