cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronizing Attributes from Azure to IAS

tskwin
Participant
0 Kudos
168

Hi everyone,

I'm encountering an issue with synchronizing certain attributes such as country, department, city, manager etc., from Azure to IAS.

I adding these parameter in IPS  as follows:

aad.user.attributes=id,mail,userPrincipalName,employeeId,displayName,givenName,surname,jobTitle,city,companyName,country,businessPhones,mobilePhone,department

Many Thanks you for any tips.

Best Regards

 

 

 

 

 

{
    "user": {
        "condition": "$.userPrincipalName EMPTY false",
        "mappings": [
            {
                "sourcePath": "$",
                "targetPath": "$"
            },
            {
                "sourcePath": "$.id",
                "targetVariable": "entityIdSourceSystem"
            },
            {
                "sourcePath": "$.mailNickname",
                "targetPath": "$.externalId",
                "optional": true,
                "correlationAttribute": true
            },
            {
                "targetPath": "$.schemas[0]",
                "constant": "urn:ietf:params:scim:schemas:core:2.0:User"
            },
            {
                "sourcePath": "$.mail",
                "targetPath": "$.emails[0].value",
                "correlationAttribute": true
            },
            {
                "sourcePath": "$.userPrincipalName",
                "targetPath": "$.userName",
                "correlationAttribute": true
            },
            {
                "sourcePath": "$.displayName",
                "targetPath": "$.displayName",
                "optional": true
            },
            {
                "sourcePath": "$.givenName",
                "targetPath": "$.name.givenName",
                "optional": true
            },
            {
                "sourcePath": "$.surname",
                "targetPath": "$.name.familyName",
                "optional": true
            },
            {
                "sourcePath": "$.mobilePhone",
                "targetPath": "$.phoneNumbers[0].value",
                "optional": true,
                "defaultValue": "888-888-888"
            },
            {
                "targetPath": "$.phoneNumbers[0].type",
                "condition": "$.mobilePhone EMPTY false",
                "constant": "mobile"
            },
            {
                "sourcePath": "$.businessPhones[0]",
                "targetPath": "$.phoneNumbers[1].value",
                "optional": true
            },
            {
                "targetPath": "$.phoneNumbers[1].type",
                "condition": "$.businessPhones.length() > 0",
                "constant": "work"
            },
            {
                "sourcePath": "$.groups",
                "targetPath": "$.groups",
                "optional": true,
                "preserveArrayWithSingleElement": true
            },
            {
                "sourcePath": "$.manager.id",
                "targetPath": "$['urn:ietf:params:scim:schemas:extension:enterprise:2.0:User']['manager']['value']",
                "optional": true
            },
            {
                "sourcePath": "$.city",
                "targetPath": "$.addresses[0].locality",
                "optional": true
            },
            {
                "sourcePath": "$.addresses[0].country",
                "targetPath": "$.country",
                "optional": true
            },
            {
                "sourcePath": "$.employeeId",
                "targetPath": "$['urn:ietf:params:scim:schemas:extension:enterprise:2.0:User']['employeeNumber']",
                "optional": true
            },
            {
                "sourcePath": "$['resourceExtensions']['urn:ietf:params:scim:schemas:extension:enterprise:2.0:User']['department']",
                "targetPath": "$['urn:ietf:params:scim:schemas:extension:enterprise:2.0:User']['department']",
                "optional": true
            },
            {
                "sourcePath": "$.manager.displayName",
                "targetPath": "$['urn:ietf:params:scim:schemas:extension:enterprise:2.0:User']['manager']['displayName']",
                "optional": true
            }
        ]
    },
    "group": {
        "ignore": false,
        "mappings": [
            {
                "targetPath": "$.schemas[0]",
                "constant": "urn:ietf:params:scim:schemas:core:2.0:Group"
            },
            {
                "sourcePath": "$.id",
                "targetVariable": "entityIdSourceSystem"
            },
            {
                "sourcePath": "$.mailNickname",
                "targetPath": "$.externalId",
                "optional": true
            },
            {
                "sourcePath": "$.displayName",
                "targetPath": "$.displayName"
            },
            {
                "sourcePath": "$.members",
                "targetPath": "$.members",
                "optional": true,
                "preserveArrayWithSingleElement": true
            },
            {
                "targetPath": "$.members[*].id",
                "constant": "value",
                "optional": true,
                "type": "rename"
            }
        ]
    }
}

 

gregorw
Active Contributor
0 Kudos
But can you describe what exact issue you're facing?

Accepted Solutions (0)

Answers (2)

Answers (2)

tskwin
Participant
0 Kudos

Hi @gregorw 

provisioning the manager ID is now working.

One more question. 

I have set up the provisioning of users from Entra ID to IAS according to this guide https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/microsoft-entra-id?locale=...

I was now able to transfer some user information to IAS, such as User ID, Global User ID, SCIM ID, Email, Name, and Manager.

However, I am unable to provision attributes like Cost Center, Company State/Province, Company Street Address, Company ZIP/Postal Code, ZIP/Postal Code, City, etc.

How can I provision these other attributes?

How can I restrict fields with dropdown menu, such as 'Country', to only one country?"

 

Where can I find information on this?

Thank you very much for any tips

Best Regards

tskwin
Participant
0 Kudos

Hello Gregor,

I'm not receiving any error messages. For example, attributes like Manager, country, department, and city are not appearing in IAS, but no error messages are showing up.

I have defined these claims in Azure.

scrren.png

 

Thank you very much for your help!

Best Regards