cancel
Showing results for 
Search instead for 
Did you mean: 

Azure user group replacement

Jacob_Rajan
Newcomer
0 Kudos

Hello Experts,

We are having Azure as a Source System and IAS as the target system. We are replicating the user data from Azure Environment to the IAS. We use both the User and Group mapping transformation.

The job is working fine and we are able to fetch the data and write into the target system.

The challenge what I have is, I need to transform a specfic User Group to  a different value.

I have written the transformation code in my TARGET SYSTEM (IAS) as follows.

The two blocks are found under the User Group section. 

I have checked with the 'Validate' function and it is just converting it into UpperCase and replacement function doesn't function at all.

Does anyone have an idea about what i am missing here

Input : Abcd

Output : ABCD

Transformation

{
"sourcePath": "$.displayName",
"targetPath": "$.displayName",
"functions": [
{
"function": "replaceString",
"target": "Abcd",
"replacement": "SAP_CBC_CONSUMPTION_AUDITOR"
},
{
"function": "toUpperCaseString",
"locale": "en_EN"
}
]
}

 

{
"sourcePath": "$.displayName",
"targetPath": "$['urn:sap:cloud:scim:schemas:extension:custom:2.0:Group']['name']",
"scope": "createEntity",
"functions": [
{
"function": "replaceString",
"target": "Abcd",
"replacement": "SAP_CBC_CONSUMPTION_AUDITOR"
},
{
"function": "toUpperCaseString",
"locale": "en_EN"
}
]

Accepted Solutions (0)

Answers (0)