SCIM: getting duplicated attributes when POST User to the remote service

Antonio Marrero Mayorga 0 Reputation points
2023-09-22T15:14:08.7933333+00:00

When AD sends a POST /Users to create a user it is created correctly in the remote service but in the AD we can see that the response has some attributes duplicated (not all of them).

In the example below the externalId is fine but the familyName has a duplicated value:

User's image

When testing with postman the response has no duplicated attributes.

Do you know what can be happening?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,432 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,596 Reputation points Microsoft Employee
    2023-09-25T19:24:46.9266667+00:00

    @Antonio Marrero Mayorga

    Thank you for your post!

    I understand that you're having issues with your SCIM endpoint where the POST /Users request is working as expected within the remote service but you're seeing duplicate attributes within the response in Azure Active Directory. To hopefully help point you in the right direction and gain a better understanding of your issue, I'll share my findings below.


    Findings:

    Referencing the example that you shared since not all attributes are duplicated, have you looked into your:

    1. Provisioning logs to see if there are any errors or warnings related to the duplicated attributes.
    2. Attribute mapping configuration to ensure that the correct attributes are being mapped to the correct target attributes.
    3. Scoping filters to ensure that your users are being provisioned correctly.
    4. SCIM schema to ensure that the attributes are defined correctly.

    For more info - Provisioning log Error codes

    If you're still having issues after checking the above, can you share some more info below so I can gain a better understanding your issue:

    • Are you seeing / receiving any error messages?
    • How many users is this affecting?
    • Since not all attributes are duplicated what attributes are, from what you've seen?
    • Did this recently start occurring or has this been happening since you created your endpoint?

    Any additional information would be greatly appreciated!


    Additional Links:

    I hope this helps!

    If you have any other questions, please let me know. Thank you for your time and patience throughout this issue.


Your answer

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