SCIM Integration between Servicenow and Azure AD as unregistered gallery app

Naman Khandelwal 0 Reputation points
2026-01-07T09:19:54.38+00:00

Message: Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details. Web Response: {"schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"status":"400","scimType":"invalidPath","detail":"Patch op[0]: Attribute departmentName in path departmentName is undefined"}

Receiving this error while mapping department field from Azure to ServiceNow
I am using [ urn:ietf:params:scim:schemas:extension:servicenow:custom:2.0:User.departmentName ] as the target attribute

Have configured the ETL definitions and the custom schema extension within ServiceNow for the departmentName. This is working completely fine and Department is getting populated within ServiceNow using it's REST API Explorer.

On provisioning from Azure to ServiceNow - core fields like username/first name/last name/email are getting mapped within ServiceNow. Have found the workaround for "manager" but unable to map "department" field.

How can the schema edited to add the namespace within the request payload from Azure? Or any workaround for mappings that work.

Microsoft Security | Microsoft Entra | Microsoft Entra ID

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.