Forum Discussion
Azure AD SCIM Validator is in General Availability (GA) Status
owinoakelo Thank you for your fast reply.
To clarify, are you saying that using PATCH replace to add multi-valued entries is:
a.) what Azure's SCIM implementation currently does as of Feb 2023 (we have not seen this in practice)
or
b.) an issue with the Azure AD SCIM Validator only
If option "a", is this affected by the feature flag _https://learn.microsoft.com/en-us/azure/active-directory/app-provisioning/application-provisioning-config-problem-scim-compatibility_? And if so, does the Validator accept/use those feature flags? (I wasn't able to see a difference with/without the flag after the last update.)
- owinoakeloFeb 15, 2023Former Employee
PatM_Cerberus Yes, the azure provisioning service currently uses replace for patch operations and expects the endpoint to add if needed. That's why the scim validator makes the same request and it supports the capability of the feature flag.
- PatM_CerberusFeb 16, 2023Copper Contributor
owinoakelo We have been working to allow Azure's specific replace semantics.
We've noticed when using Schema Discovery, the system now correctly captures that primary is a Boolean.
phoneNumbers[type eq "work"].primary boolean
However, when it replaces phoneNumbers, we're seeing:
{ "Operations": [ { "op": "replace", "path": "phoneNumbers[type eq \"work\"].value", "value": "767.814.5465" }, { "op": "replace", "path": "phoneNumbers[type eq \"work\"].primary", "value": "(974)693-6276 x6968" } ], "schemas": [ "urn:ietf:params:scim:api:messages:2.0:PatchOp" ] }Notice that the boolean primary value is a text string. We specifically have handlers for Azure sending "True" or "False", but this value is not acceptable and we're failing it.
I believe this is a problem with the Azure AD SCIM Validator, but curious if Azure AD would try to send such a bad value.
Email values now seem to work properly - we're getting true/false booleans for primary in those.
- owinoakeloFeb 22, 2023Former Employee
PatM_Cerberus , you are right. This is an issue with the SCIM validator. The Azure code base will respond with a Boolean as expected. We have added this in our backlog of fixes and will address it. Thanks for highlighting this.