The error you are encountering, SystemForCrossDomainIdentityManagementServiceIncompatible, along with the message indicating an "Invalid SCIM Patch: Impossible to search on a mono valued attribute," suggests that there is a problem with the SCIM request being sent during the deprovisioning process. This typically occurs when the SCIM endpoint does not support the operation being attempted, particularly if it involves modifying a mono-valued attribute incorrectly.
To resolve this issue, you should ensure that your SCIM implementation correctly handles the deprovisioning requests. Here are some recommendations:
- Check SCIM Compliance: Ensure that your SCIM endpoint is compliant with the SCIM 2.0 specifications, particularly regarding how it handles PATCH requests. The error indicates that the request may be trying to modify a mono-valued attribute in a way that is not allowed.
- Review the Deprovisioning Logic: Make sure that the logic for deprovisioning users in your application correctly follows the SCIM protocol. This includes properly formatting the PATCH or DELETE requests as required.
- Test with Valid Requests: Use valid SCIM requests to test the deprovisioning process. For example, a typical deprovisioning request might look like this:
DELETE /Users/{userId} HTTP/1.1 Authorization: Bearer ... - Consult Documentation: Refer to the Microsoft Entra provisioning service documentation for guidance on how to handle deprovisioning and ensure that your application can process both soft-deletes and hard-deletes appropriately.
If the issue persists, consider reaching out to the support team for Claude AI or Microsoft Entra for more specific troubleshooting assistance.
References: