SAP SuccessFactors Learning

Follow this procedure to set up SAP SuccessFactors Learning as a proxy system.

Prerequisites

You have created a technical user with administrator permissions that will be used to call the SAP SuccessFactors Learning API for provisioning user information.

Context

SAP SuccessFactors Learning is a learning solution which helps organizations to improve employee skills and talent management, align learning outcomes with performance goals, boost compliance, and train external audiences.

You can use the Identity Provisioning user interface (UI) to connect to SAP SuccessFactors Learning as a proxy system and configure it in hybrid scenarios. For example, when SAP SuccessFactors Learning is exposed as a proxy system, you can connect it to an external identity management system, such as SAP Identity Management, without making a direct connection between both systems. You can provision users and groups to the external backend system, which can trigger CRUD (create, read, update, delete) operations on users and group members back to the SAP SuccessFactors Learning.

Procedure

  1. Open your subaccount in SAP BTP cockpit (valid for OAuth authentication to the Identity Provisioning proxy system).
  2. Create a technical user with the necessary authorizations. It will later be used by the external consumer to connect to Identity Provisioning.
    • For Certificate-based authentication, follow the procedure in Manage Certificates for Inbound Connection → SAP BTP, Neo Environment

    • For OAuth authentication, proceed as follows:

      1. Go to Start of the navigation pathSecurity Next navigation step OAuth Next navigation step ClientsEnd of the navigation path and choose Register New Client.

      2. From the Subscription combo box, select <provider_subaccount>/ipsproxy.

      3. From the Authorization Grant combo box, select Client Credentials.

      4. In the Secret field, enter a password (client secret) and remember it. You will need it later, for the repository configuration in the external system.

      5. Copy/paste and save (in a notepad) the generated Client ID. You will need it later, too.

      6. From the left-side navigation, choose Start of the navigation pathSubscriptions Next navigation step Java Applications Next navigation step ipsproxyEnd of the navigation path .

      7. From the left-side navigation, choose Start of the navigation pathRoles Next navigation step IPS_PROXY_USEREnd of the navigation path.

      8. Choose Assign and enter oauth_client_<client_ID>.

        For <client_ID>, enter the one you have saved in the previous main step.

  3. Access the Identity Provisioning UI.
  4. Add SAP SuccessFactors Learning as a proxy system. For more information, see Add New Systems.
  5. Choose the Properties tab to configure the connection settings for your system.

    Mandatory Properties

    Property Name

    Value

    Type

    Enter: HTTP

    URL

    Specify the URL to the API of your SAP SuccessFactors Learning system. It follows the pattern: https://<root URL>/learning/public-api/rest/admin/Integration.svc/ias

    ProxyType

    Enter: Internet

    Authentication

    Enter: BasicAuthentication

    User

    Enter the technical user ID for SAP SuccessFactors Learning.

    Password

    (Credential) Enter the password for the SAP SuccessFactors Learning technical user. For more information, see Learning Technical User.

    (Optional) lms.user.filter

    When specified, only those users matching the filter expression will be read.

    Possible values:

    • userName eq "testName"

    • externalID eq "testID"

    • active eq "true"

    • sourceSystem eq "Learning" - indicates that the user is created directly in SAP SuccessFactors Learning with no involvement of Identity Provisioning.

    • sourceSystem eq "Identity Provisioning" - indicates that the user is created in SAP SuccessFactors Learning by Identity Provisioning.

    To learn what additional properties are relevant to this system, see List of Properties. You can use the main search, or filter properties by the Name or System Type columns.

  6. Configure the transformations.

    Transformations are used to map the user attributes from the data model of the source system to the data model of the target system, and the other way around. The Identity Provisioning offers a default transformation for the SAP SuccessFactors Learning proxy system, whose settings are displayed under the Transformations tab after saving its initial configuration.

    You can change the default transformation mapping rules to reflect your current setup of entities in your SAP SuccessFactors Learning system. For more information, see:

    Manage Transformations.

    SAP Business Accelerator Hub: SAP SuccessFactors Learning

    Default read and write transformations:

    Read Transformation

    Write Transformation

    {
      "user": {
        "scimEntityEndpoint": "Users",
        "mappings": [
          {
            "sourcePath": "$.id",
            "targetPath": "$.id",
            "targetVariable": "entityIdSourceSystem"
          },
          {
            "sourceVariable": "entityBaseLocation",
            "targetPath": "$.meta.location",
            "targetVariable": "entityLocationSourceSystem",
            "functions": [
              {
                "type": "concatString",
                "suffix": "${entityIdSourceSystem}"
              }
            ]
          },
          {
            "sourcePath": "$.schemas",
            "preserveArrayWithSingleElement": true,
            "targetPath": "$.schemas"
          },
          {
            "sourcePath": "$.userName",
            "optional": true,
            "targetPath": "$.userName",
            "correlationAttribute": true
          },
          {
            "sourcePath": "$.externalId",
            "optional": true,
            "targetPath": "$.externalId"
          },
          {
            "sourcePath": "$.locale",
            "optional": true,
            "targetPath": "$.locale"
          },
          {
            "sourcePath": "$['urn:ietf:params:scim:schemas:extension:sap:2.0:User']['userUuid']",
            "optional": true,
            "targetPath": "$['urn:ietf:params:scim:schemas:extension:sap:2.0:User']['userUuid']"
          },
          {
            "sourcePath": "$['urn:sap:cloud:scim:schemas:extension:custom:2.0:User']['siteID']",
            "optional": true,
            "targetPath": "$['urn:sap:cloud:scim:schemas:extension:custom:2.0:User']['siteID']"
          },
          {
            "sourcePath": "$['urn:sap:cloud:scim:schemas:extension:custom:2.0:User']['sourceSystem']",
            "optional": true,
            "targetPath": "$['urn:sap:cloud:scim:schemas:extension:custom:2.0:User']['sourceSystem']"
          },
          {
            "sourcePath": "$['urn:sap:cloud:scim:schemas:extension:custom:2.0:User']['applicationID']",
            "optional": true,
            "targetPath": "$['urn:sap:cloud:scim:schemas:extension:custom:2.0:User']['applicationID']"
          },
          {
            "sourcePath": "$['urn:sap:cloud:scim:schemas:extension:custom:2.0:User']['customColumns']['110']",
            "optional": true,
            "targetPath": "$['urn:sap:cloud:scim:schemas:extension:custom:2.0:User']['customColumns']['110']"
          },
          {
            "sourcePath": "$['urn:sap:cloud:scim:schemas:extension:custom:2.0:User']['customColumns']['120']",
            "optional": true,
            "targetPath": "$['urn:sap:cloud:scim:schemas:extension:custom:2.0:User']['customColumns']['120']"
          },
          {
            "sourcePath": "$.emails",
            "preserveArrayWithSingleElement": true,
            "optional": true,
            "targetPath": "$.emails"
          },
          {
            "sourcePath": "$.emails[?(@.primary== true)].value",
            "correlationAttribute": true
          },
          {
            "sourcePath": "$.name.givenName",
            "optional": true,
            "targetPath": "$.name.givenName"
          },
          {
            "sourcePath": "$.name.middleName",
            "optional": true,
            "targetPath": "$.name.middleName"
          },
          {
            "sourcePath": "$.name.familyName",
            "optional": true,
            "targetPath": "$.name.familyName"
          },
          {
            "sourcePath": "$.phoneNumbers",
            "preserveArrayWithSingleElement": true,
            "optional": true,
            "targetPath": "$.phoneNumbers"
          },
          {
            "sourcePath": "$.active",
            "targetPath": "$.active"
          }
        ]
      }
    }

  7. Connect the external consumer to Identity Provisioning with the technical user you have created in step 2.

    If the external consumer system is SAP Identity Management, you can export the newly created proxy system as a SCIM repository from Identity Provisioning and import it in SAP Identity Management. This will create a SCIM repository in SAP Identity Management where most of the repository constants will be automatically filled in. You need to provide the technical user credentials that you have set up in step 2 and the SCIM assignment method as described below:

    • For AUTH_USER and AUTH_PASSWORD, enter your client ID and secret.

    • For the SCIM_ASSIGNMENT_METHOD constant, make sure the value is PUT.

Next Steps

When a proxy system is connected to an external backend system (in the case of SAP Identity Management this means the exported CSV file is imported into the Identity Management Admin UI and a repository is configured), you can start managing the users and groups into this external system. Usually, the first operation is the initial load of the existing entities into your external system. When this load has finished, changes in the external system, such as creating new users or updating existing ones, can trigger CRUD requests back to the proxy system.

To see an example with SAP Identity Management, see Hybrid Scenario: SAP Identity Management → sections Next Steps and Future Identity Lifecycle.