Unable to provision user from Microsoft Azure AD to SaaS app using SCIM

mohamed assem 0 Reputation points
2023-09-19T12:18:37.7666667+00:00

Hi folks,

I am trying to provision a user from Microsoft Azure AD to a SaaS application I created as an enterprise application. Basically I want to be able to do CRUD operations on any user. Initially I have tried creating the user and the creation was successful. However, I am getting an error when I try to update the user details in Azure AD and then provision the user for the SaaS app. The below is the error I am having on "Provision on Demand":

"status":400,"error":"Bad Request","message":"JSON parse error: Could not resolve type id 'Add' as a subtype of com.unboundid.scim2.common.messages.PatchOperation: known type ids = [add, remove, replace] (for POJO property 'Operations'); nested exception is com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve type id 'Add' as a subtype of com.unboundid.scim2.common.messages.PatchOperation: known type ids = [add, remove, replace] (for POJO property 'Operations')\n at [Source: (PushbackInputStream); line: 1, column: 82] (through reference chain: com.unboundid.scim2.common.messages.PatchRequest["Operations"]->java.util.ArrayList[0])","path":"/scim/v2/5e4231ad-e4ac-2213-0c59-3a4e3139858c/Users/3e7600bb-7f90-e234-1512-122f78784fe8"}

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,546 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Danny Zollner 8,391 Reputation points Microsoft Employee
    2023-09-19T15:01:26.81+00:00

    The error you're seeing is being returned by the application in the HTTP response it sends back to Azure AD/Entra ID. You (or the developer, if that isn't you) will need to debug it.