SAP Knowledge Base Article - Public

3603927 - Only first 200 users can be fetched by using SAP Analytics Cloud /scim/Users rest API

Symptom

  • When the SAP Analytics Cloud tenant has more than 200 users, using /scim/Users rest API can return maximum 200 users.
  • Even using optional count parameter to be a bigger value than 200, it doesn't take effect.

Environment

SAP Analytics Cloud 2025.8

Reproducing the Issue

  1. Log on to SAP Analytics Cloud. Make sure the current tenant has more than 200 users.
  2. Using the following scim API (Reference Guide) to fetch the user list. 
    https://<SAP Analytics Cloud tenant>/api/v1/scim/Users?count=500
  3. Find in the json output, even it shows totalResults to a bigger number than 200, but in Resources section, only 200 users are fetched.

Cause

The optional count parameter maximum value can be set is 200. When count is not set, by default it is 50. But when count is set with a bigger value than 200, it will be limited to 200.

Resolution

To fetch the whole list of the users, another optional parameter startIndex can be used with count to fetch the next batch of records.

E.g. 

  • Using https://<SAP Analytics Cloud tenant>/api/v1/scim/Users?count=200&startIndex=1 to fetch the first 1-200 users.
  • Using https://<SAP Analytics Cloud tenant>/api/v1/scim/Users?count=200&startIndex=201 to fetch the next 201-400 users.
  • Every json output will have totalResults which can show the total users numbers. This can be used for determining the total batch numbers to fetch the whole user list.

See Also

     Your feedback is important to help us improve our knowledge base.

Keywords

SAC, User API, roles, missing users, missing roles, JSON file, Excel, comparison, part, partial, less, few , KBA , LOD-ANA-LS , Licensing and Full User Equivalent , LOD-ANA-ADM , SAC Administration , Problem

Product

SAP Analytics Cloud 1.0