Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/24/2024 06:36 AM
We have a requirement to automatically change a user's password to a randomly generated one upon onboarding. This new password should also update their Active Directory password and be sent to the user via email.
Solved! Go to Solution.
10/24/2024 06:42 AM
You can call change password action from rule
10/24/2024 07:45 AM
You mean User update rule? will it generate a random password ? and how do we send email to the users
10/24/2024 08:09 AM
@Anshu_07 in endpoint email template set change password attach email template which will send to respective user.
10/24/2024 09:09 AM
Hi , In endpoint there is no option to attach email. Could you please provide any screenshot where specially I can attach the template
10/24/2024 09:11 AM
10/24/2024 09:15 AM
Ok in that case how end users will receive the password via email?
10/24/2024 09:17 AM
10/24/2024 09:51 AM
10/24/2024 09:55 AM
10/24/2024 08:28 AM
You can generate random from connection
10/25/2024 04:24 AM
Hi,
Even after the change password task is getting completed the password is not updated in AD , I checked in the accounts tabled lastpasswordchange attribute is also not changed.
10/25/2024 06:26 AM
10/25/2024 07:31 AM
Yes, I have checked the logs. Now I could see Accounts.lastpasswordchange is getting updated but the password is still not getting updated in AD. Could you provide what should be in the connect Jason
At present I am using this "pwdLastSet": "account.LASTPASSWORDCHANGE" in Create account Jason.
10/25/2024 07:56 AM
Please share the logs & JSON in text file for easier debugging. Additionally, provide the task ID, error details, or specific line numbers where the issues occur to help us review the relevant sections efficiently.
⚠️ Important: Do not upload attachments containing sensitive information, such as IP addresses, URLs, company/employee names, or email addresses. For more information, refer to the Saviynt PII Policy.
10/25/2024 08:00 AM - last edited on 10/26/2024 07:53 AM by Sunil
{
"givenName": "${user.firstname}",
"sn": "${user.lastname}",
"manager": "${user.manager!=null ? managerAccount.accountID : ''}",
"displayName": "${user.displayname}",
"middleName": "${user.middlename}",
"employeeNumber": "${user.employeeid}",
"accountExpires": "${user.enddate!=null ? 10000*(user.enddate.getTime() + 11644473600000) : '0'}",
"employeeType": "${user.employeeType}",
"title": "${user.jobDescription}",
"objectClass": [
"top",
"person",
"organizationalPerson",
"user"
],
"userAccountControl": "${user.statuskey==1?'512':'514'}",
"company": "${user.companyname}",
"departmentNumber": "${user.departmentNumber}",
"department": "${user.departmentname}",
"businessCategory": "${user.orgunitid}",
"otherMailbox": "${user.secondaryEmail}",
"l": "${user.location}",
"userPrincipalName": "${user.customproperty6}",
"employeeID": "${user.username}",
"sAMAccountName": "${user.systemUserName}",
"mail": "${user.email}",
"st": "${user.state}",
"co": "${user.country}",
"msDS-cloudExtensionAttribute1": "${user.customproperty2}",
"msDS-cloudExtensionAttribute2": "${user.customproperty3}",
"msDS-cloudExtensionAttribute3": "${user.customproperty4}",
"msDS-cloudExtensionAttribute4": "${user.customproperty5}",
"msDS-cloudExtensionAttribute5": "${user.locationnumber}",
"msDS-cloudExtensionAttribute6": "${user.customproperty1}",
"msDS-cloudExtensionAttribute7": "${user.startdate!=null?new java.text.SimpleDateFormat('yyyyMMddHHmmss').format(user.startdate).concat('.0Z'):''}",
"msDS-cloudExtensionAttribute8": "${user.employeeclass}",
"msDS-cloudExtensionAttribute9": "${user.leaveStatus}",
"msDS-cloudExtensionAttribute10": "${user.customproperty52}",
"msDS-cloudExtensionAttribute11": "${user.customproperty45}",
"businessCategory": "${user.customproperty10}",
"division": "${user.customproperty13}",
"pwdLastSet": "account.LASTPASSWORDCHANGE"
}
[This message has been edited by moderator to mask sensitive information]
10/25/2024 08:15 AM
"pwdLastSet": "${account.LASTPASSWORDCHANGE != null ? new java.text.SimpleDateFormat('yyyyMMddHHmmss.SSSZ').format(account.LASTPASSWORDCHANGE) : ''}"
10/24/2024 10:39 AM
Random password is getting generated and but task is getting completed with an error "Error while change password operation for account-fc1502dev in AD - [LDAP: error code 53 - 0000052D: SvcErr: DSID-031A126C, problem 5003 (WILL_NOT_PERFORM), data 0 ]"
10/24/2024 10:41 AM
Here are some common causes and solutions:
Insufficient Permissions: Ensure that the user account performing the operation has the necessary permissions for the requested action.
Password Policy Violations: If the operation involves user account modifications (like password changes), check if it violates any password policies (e.g., complexity, history).
Account Restrictions: The account you’re trying to modify or access might be disabled or restricted. Make sure the account is enabled and meets any necessary conditions.
LDAP Schema Constraints: Check for any schema constraints that might prevent the operation. This can include things like required attributes not being provided.
Domain Controller Issues: If you're working in a multi-domain environment, ensure that the domain controller you're connecting to is functioning properly and is up-to-date.
10/25/2024 10:11 AM
10/25/2024 11:27 AM
"pwdLastSet": "${account.LASTPASSWORDCHANGE != null ? new java.text.SimpleDateFormat('yyyyMMddHHmmssZ').format(account.LASTPASSWORDCHANGE) : new java.text.SimpleDateFormat('yyyyMMddHHmmssZ').format(new Date())}"
10/28/2024 06:30 AM
Hello, Thank you for your response.
When we are changing the password it is wiping off the existing value and updating as (never).
Is there a way we can set when Saviynt generates random password it should be minimum 8 characters as currently when random password is getting generated it is of 6 characters.
10/28/2024 06:32 AM - edited 10/28/2024 06:33 AM
10/28/2024 06:36 AM
Yes , I have added and added minimum 12 characters but sometimes generating 5/6/8 just randomly
10/28/2024 06:39 AM
10/28/2024 06:50 AM
10/28/2024 06:54 AM
What about connection parameters ?
10/28/2024 07:10 AM
Check logs during creation and validate which password policy is used and update configs accordingly
10/28/2024 07:09 AM
11/04/2024 02:04 AM
Hello,
In email template "TO" i am using ${user.email} for receiver email but I want to send to a different email which is stored in customproperty. I am using ${user.cutomproperty6} but not getting the email.
11/04/2024 05:37 AM
Does value is getting printed in email body ?
11/04/2024 06:10 AM - edited 11/05/2024 03:10 AM
Hi, thank you for your response.
when I am using ${user.email} I am receiving the email but i am using ${user.customproperty6} I am not receiving email though I have put my email in customproperty6.
11/04/2024 08:49 AM
Did you tried printing ${user.cutomproperty6} in email body ? when using ${user.email}
Did you validated logs ?
try ${user?.cutomproperty6}
11/05/2024 01:14 AM - edited 11/05/2024 03:09 AM
I tried ${user?.customproperty6} it is working. Thank you
11/05/2024 05:12 AM
s was missing 🙂 basically ? mark is needed to null check.
${user?.customproperty6}