Share via

Trying to use the SCIM validator and receiving the error "The Schema of the Fetched Group is invalid. Please refer to the group response example in SCIM RFC Page 55" on the Patch Group - Remove Member test

Dmitry Knyazhevskiy 0 Reputation points
2024-11-28T16:03:37.2+00:00

This is the resource that I return that causes this issue, when I remove the $ref attribute from the members list I no longer get the error. But, including the $ref attribute lets all the other patch requests pass without issue. Any idea what might be causing this and any fixes I could include. I want to be able to keep the $ref attribute in the resource.

{
  "displayName": "YFIFUBFTOIAO",
  "externalId": "23ff8dcc-5c79-499c-942d-4a117ded8c4c",
  "id": "Oek9Jepb52bWXQ-RLAwlQ-iApRoQ-aCB9HwEpiDw",
  "members": [
    {
      "$ref": "http://localhost:80/scim/v2/Groups/dSl5LTNlu0e6Qw-pDpMaQ-vV3y9Q-8l5KXIqaS50",
      "value": "dSl5LTNlu0e6Qw-pDpMaQ-vV3y9Q-8l5KXIqaS50"
    },
    {
      "$ref": "http://localhost:80/scim/v2/Groups/6TuK1tubgOkcuw-7PYaLg-tblI1w-2o9wdDI_pqc",
      "value": "6TuK1tubgOkcuw-7PYaLg-tblI1w-2o9wdDI_pqc"
    }
  ],
  "meta": {
    "created": 1732726116,
    "location": "http://localhost:80/scim/v2/Groups/Oek9Jepb52bWXQ-RLAwlQ-iApRoQ-aCB9HwEpiDw",
    "lastModified": 1732726116,
    "resourceType": "Group"
  },
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:Group"
  ]
}
Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

Your answer

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