My Oracle Support Banner

OIM12c - SCIM Search on Organizations Shows TotalResults As 0 while Organizations Exist (Doc ID 2984263.1)

Last updated on NOVEMBER 07, 2023

Applies to:

Identity Manager - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR
---------------
OIM SCIM request show totalResults as 0


Observed in 12.2.1.4 while running a SCIM request to search for one organization, that the totalResults attribute in the payload is coming as 0, even though the Resources contains the searched organizations. This only happens when we pass the following attributes: "startIndex":1, "count":1,.

If we remove them, then the totalResults is 1.

request payload:
{ "schemas":[ "urn:ietf:params:scim:api:messages:2.0:SearchRequest" ], "attributes":[ "name" ], "filter":"name eq \"Interop Externe\"", "startIndex":1, "count":1, "sortBy":"name", "sortOrder":"ascending" }

result payload:
{
  "schemas": ["urn:ietf:params:scim:api:messages:2.0:ListResponse"],
  "totalResults": 0,
  "itemsPerPage": 1,
  "startIndex": 1,
  "Resources": [

{ "id": "4156", "name": "Interop Externe" }
]
}

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.