I'm using the validator at https://scimvalidator.microsoft.com/. I'm passing 17 and failing 4.
One of the failing tests is: PATCH /Users/Id - Update User userName
Error Details: The value of userName is Missing from the fetched Resource
Initial Resource Creation Request:
{
"active": true,
"displayName": "VYREBLPFZCNR",
"emails": [
{
"type": "work",
"value": "******@schimmel.us"
}
],
"externalId": "9ee683d1-34a9-48f9-a4b2-bde1f1c0b749",
"name": {
"formatted": "Boris",
"familyName": "Leann",
"givenName": "Madie"
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"userName": "******@kilback.com"
}
HTTP Request:
{
"Operations": [
{
"op": "replace",
"value": {
"userName": "******@emmerichrowe.ca"
}
}
],
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:PatchOp"
]
}
Response Body:
{
"active": true,
"addresses": null,
"displayName": "VYREBLPFZCNR",
"emails": [
{
"value": "******@schimmel.us",
"type": "work",
"primary": true
}
],
"externalId": "9ee683d1-34a9-48f9-a4b2-bde1f1c0b749",
"id": "2522",
"meta": {
"resourceType": "User",
"created": "2025-03-13T15:29:00",
"lastModified": "2025-03-13T15:29:00",
"version": null,
"location": null
},
"name": {
"formatted": "Boris",
"familyName": "Leann",
"givenName": "Madie",
"middleName": null,
"honorificPrefix": "",
"honorificSuffix": null
},
"phoneNumbers": [],
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"userName": "******@emmerichrowe.ca"
}
The userName was updated; however the validator does not seem to recognize that the userName was updated.