Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/10/2024 11:07 AM
I am getting an error when I test the provisioning for salesforce. Below is the JSON I am using.
{
"Username": "${user.email}.qa"
"Alias": "${user.firstname.toString().substring(0,1)}${user.lastname.toString().substring(0,4)}",
"LastName": "${user.lastname}",
"FirstName": "${user.firstname}",
"CompanyName": "${user.orgunitid}",
"Department": "${user.departmentname}",
"Title": "${user.title}",
"Street": "${user.street}",
"City": "${user.city}",
"State": "${user.state}",
"PostalCode": "${user.customproperty19}",
"Country": "${user.country}",
"Email": "${user.email}",
"EmailPreferencesAutoBcc": true,
"EmailPreferencesAutoBccStayInTouch": false,
"EmailPreferencesStayInTouchReminder": true,
"Phone": "${user.secondaryPhone}",
"MobilePhone": "${user.phonenumber}",
"CommunityNickname": "${user.lastname}",
"IsActive": true,
"TimeZoneSidKey": "America/New_York",
"LocaleSidKey": "en_US",
"ReceivesInfoEmails": true,
"ReceivesAdminInfoEmails": true,
"EmailEncodingKey": "ISO-8859-1",
"LanguageLocaleKey": "en_US",
"EmployeeNumber": "${user.employeeid}",
"ProfileId":"${profileId}",
"UserPermissionsMarketingUser": false,
"UserPermissionsOfflineUser": false,
"UserPermissionsAvantgoUser": false,
"UserPermissionsCallCenterAutoLogin": false,
"UserPermissionsMobileUser": false,
"UserPermissionsSFContentUser": false,
"UserPermissionsInteractionUser": false,
"UserPermissionsSupportUser": false,
"ManagerId": "${managerAccount==null?'':managerAccount.accountID}",
}
05/10/2024 12:18 PM
@cdavis2 - Can you try with below.
{
"Username": "${user.email}.qa",
"Alias": "${user.firstname.toString().substring(0,1)}${user.lastname.toString().substring(0,4)}",
"LastName": "${user.lastname}",
"FirstName": "${user.firstname}",
"CompanyName": "${user.orgunitid}",
"Department": "${user.departmentname}",
"Title": "${user.title}",
"Street": "${user.street}",
"City": "${user.city}",
"State": "${user.state}",
"PostalCode": "${user.customproperty19}",
"Country": "${user.country}",
"Email": "${user.email}",
"EmailPreferencesAutoBcc": true,
"EmailPreferencesAutoBccStayInTouch": false,
"EmailPreferencesStayInTouchReminder": true,
"Phone": "${user.secondaryPhone}",
"MobilePhone": "${user.phonenumber}",
"CommunityNickname": "${user.lastname}",
"IsActive": true,
"TimeZoneSidKey": "America/New_York",
"LocaleSidKey": "en_US",
"ReceivesInfoEmails": true,
"ReceivesAdminInfoEmails": true,
"EmailEncodingKey": "ISO-8859-1",
"LanguageLocaleKey": "en_US",
"EmployeeNumber": "${user.employeeid}",
"ProfileId":"${profileId}",
"UserPermissionsMarketingUser": false,
"UserPermissionsOfflineUser": false,
"UserPermissionsAvantgoUser": false,
"UserPermissionsCallCenterAutoLogin": false,
"UserPermissionsMobileUser": false,
"UserPermissionsSFContentUser": false,
"UserPermissionsInteractionUser": false,
"UserPermissionsSupportUser": false,
"ManagerId": "${managerAccount==null?'':managerAccount.accountID}"
}
05/16/2024 10:35 AM
I took out the .qa in the username apparently it does not like that at the end. Also how do I properly pass over the federation identifier.
05/16/2024 11:14 AM
You can use something like this as a Federation Identifier.
"FederationIdentifier": "${user?.getSystemUserName()}"
${user?.getSystemUserName()} - This can be replaced with your specific value.
05/16/2024 12:25 PM
I added the value to both the create and modify sections on the connector. Now when I submit an update to pass the federation identifier I am getting the following error. Error in updating UserAccount: INVALID_OR_NULL_FOR_RESTRICTED_PICKLISTmessage: Email Encoding: bad value for restricted picklist field: ISO-88591
05/16/2024 06:27 PM
The error you're encountering, "INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST," indicates that a value you're trying to assign to a restricted picklist field is not valid. In this case, it looks like the error is related to the "Email Encoding" field and the value "ISO-88591."
Here are the steps to troubleshoot and resolve this issue:
Verify Picklist Values:
Correct the Value:
Update Your Connector Configuration:
Review Integration Code/Configuration:
Test the Update:
05/22/2024 12:16 PM
So I confirmed with the Salesforce Team and they did say ISO-8859-1 is on the picklist. When you say update the connector is that the connector in Saviynt. If so how do I update that config?
05/22/2024 01:23 PM
I was able to correct it to the -1 and it worked. Lastly I need to pass the federation in all lower case does anyone have the JSON to properly set it to lowercase.
05/22/2024 03:42 PM
${user.email.toLowerCase()}
05/10/2024 08:30 PM
Could you kindly provide a detailed snapshot of the information extracted from the logs, encompassing errors and other pertinent functionality details encountered during the execution of this process? Your assistance in furnishing this information would greatly aid in the analysis and resolution of any issues .
05/13/2024 02:21 AM
@cdavis2 Share the error logs