4

Efficient Employee Grouping in SAP SuccessFactors: Custom Attribute-based Identi...

 1 year ago
source link: https://blogs.sap.com/2023/04/21/efficient-employee-grouping-in-sap-successfactors-custom-attribute-based-identity-provisioning/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
April 21, 2023 4 minute read

Efficient Employee Grouping in SAP SuccessFactors: Custom Attribute-based Identity Provisioning

Streamlining Employee Grouping in SAP SuccessFactors: Leveraging Custom Attributes from SAP SuccessFactors via Identity Provisioning for Identity Authentication User Store Management.

In this blog, the focus is on streamlining employee grouping in SAP SuccessFactors using custom attributes. For an example we are using custom15 from the User Data file is utilized to determine the appropriate group for employees in the Identity Authentication user store.

There could be different conditions that can be used to check a particular field value and update the employee in a specific group.

The custom attribute (custom15) is utilized as a key factor for grouping employees in SAP SuccessFactors. By checking the value of this field, employees are dynamically assigned to different groups. If the value is set to “Yes”, they are directed to the ‘MFAGROUP’ group in Identity Authentication. On the other hand, if the value is set to anything other than “Yes” (e.g. “No” or left blank), the employees are directed to the ‘NO_MFA’ group.

By utilizing the “Is MFA?” (Custom15) field, employee grouping in Identity Authentication is streamlined, ensuring that employees are accurately placed in the appropriate groups based on the value of this custom attribute. This approach simplifies user store management and enhances the overall identity and access management process in SAP SuccessFactors.

Step 1- Identity Provisioning Source System – SAP SuccessFactors

The Custom15 value can be added to the sf.user.attributes property in the Identity Provisioning configuration. This allows Identity Provisioning to read and load this user attribute from SAP SuccessFactors during the provisioning process. It is important to ensure that the extra attribute, in this case Custom15, is appropriately separated by a comma to ensure accurate data processing.

sf.user.attributes

sf.user.attributes

Step 2 – Mapping the data in Source System

Add the following code to the source system transformation into the User mapping section. I am updating the value of Custom15 from SF into CustomAttribute2 in IAS:

 {
“sourcePath”: “$[‘urn:sap:cloud:scim:schemas:extension:sfsf:2.0:User’][‘custom15’]”,
“optional”: true,
“targetPath”: “$[‘urn:sap:cloud:scim:schemas:extension:custom:2.0:User’][‘attributes’][1][‘value’]”
},
{
“condition”: “$[‘urn:sap:cloud:scim:schemas:extension:sfsf:2.0:User’][‘custom15’] EMPTY false”,
“constant”: “customAttribute2”,
“targetPath”: “$[‘urn:sap:cloud:scim:schemas:extension:custom:2.0:User’][‘attributes’][1][‘name’]”
},
{
“sourcePath”: “$.custom15”,
“targetPath”: “$.custom15”
}
Transformation%20-%20Source%20Code%20-%20UserMapping

Transformation – Source Code – UserMapping

Step 3 – Identity Provisioning Target System – Identity Authentication

Add the following code to the Identity Authentication target system transformation into the User mapping Section:

{
“sourcePath”: “$[‘urn:sap:cloud:scim:schemas:extension:sfsf:2.0:User’][‘custom15’]”,
“optional”: true,
“targetPath”: “$[‘urn:sap:cloud:scim:schemas:extension:custom:2.0:User’][‘attributes’][1][‘value’]”
},
{
“constant”: “customAttribute2”,
“targetPath”: “$[‘urn:sap:cloud:scim:schemas:extension:custom:2.0:User’][‘attributes’][1][‘name’]”
},
Transformation%20-%20Target%20Code%20-%20UserMapping

Transformation – Target Code – UserMapping

Step 4 – Create the two User Groups

In Identity Authentication Administration Console, create the two user groups to update the employees:

  • MFAGROUP
  • NO_MFA

User%20Groups

User Groups

Step 5 – Add Condition for employees to get auto updated in User groups created in Identity Authentication

These mappings will assign the user groups to the users who are fits with the given condition.

{
“condition”: “($.customAttribute2 == ‘Yes’)”,
“constant”: “MFAGROUP”,
“targetPath”: “$.groups[0].value”
},
{
“condition”: “($.customAttribute2 != ‘Yes’)”,
“constant”: “NO_MFA”,
“targetPath”: “$.groups[0].value”
},
Transformation%20-%20Target%20Code%20-%20UserMapping%20-%20Groupingcode

Transformation – Target Code – UserMapping – Groupingcode

Step 6- Run Read Job Identity Provisioning

Run a new Read job from Identity Provisioning from SAP SuccessFactors source system, and monitor in Identity Authentication that the employees are getting updated to the desired groups as per the condition we mentioned in step 5.

For Inital Testing, use filter for specific group of employees and once job is successfully; remove the filter and run the job for all active employees.

Custom%20Attribute%202%20%3D%20Yes

Custom Attribute 2 = Yes

User%20Group%20updated%20in%20User%20Profile

User Group updated in User Profile

Finally, remove the employee specific filters and run the job for all active employees. The job should read the value from SF and accordingly update the details in IAS via IPS jobs.

Group%201%2C%20Custom%20Attribute%20%3D%3D%20Yes

Group 1, Custom Attribute == Yes

Group%202%2C%20Custom%20Attribute%20%21%3D%20Yes

Group 2, Custom Attribute != Yes

In summary, by using custom attributes from SAP SuccessFactors via Identity Provisioning, employee grouping can be streamlined in SAP SuccessFactors. The steps outlined in this blog provide a straightforward approach to implementing this solution. By mapping the custom attribute field to a target attribute in Identity Authentication, and using conditions to assign employees to specific user groups, the overall identity and access management process in SAP SuccessFactors can be enhanced.

I hope you found this blog post informative and helpful. I would love to hear your thoughts and feedback on this topic, so please feel free to leave a comment below. Feedback, suggestions will help me to continue improving the content and providing with more valuable insights and learn more.

Thank you for reading! Happy Learning!

Thank you 🙂


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK