Ask the community

Limit in scim users query

aatienza
Partner
Partner

Hi,

 

I have a tenant with more than 10000 users (integration Azure via scim)


I need to get the scim_user_id of all of them, to add some to some groups manually (postman)


I'm doing the query with postman using "SCIM - List all Users", which is basically doing get {{scimurl}}/Users

 

The answer is ok, but incomplete.  I see "totalResults": 16717, but it only returns 1000.
"itemsPerPage": 1000,
"startIndex": 1

 

Is it possible to get a complete list with all 16000 users?
Is there a way to paginate it?

 

I thought it would be a postman limitation, but doing the query with a curl (linux command) the result is the same.

Any ideas?

 

 

Thanks in advance!

Best regards

 

1 Solution
mkoyfman
Netskope
Netskope

You have to to use additional parameters to either paginate or retrieve higher number of records in a single call.  See below:

 

https://addon-<tenant>.goskope.com/SCIM/V2/<org ID>/Users?startIndex=1&count=<integer>

 

Without StartIndex and Count, default number of records are 1000 in per call.I have tested 29335 users' records have been succesfully retrived per-call by putting count number as 30000.

 

 

View solution in original post

2 Replies 2
mkoyfman
Netskope
Netskope

You have to to use additional parameters to either paginate or retrieve higher number of records in a single call.  See below:

 

https://addon-<tenant>.goskope.com/SCIM/V2/<org ID>/Users?startIndex=1&count=<integer>

 

Without StartIndex and Count, default number of records are 1000 in per call.I have tested 29335 users' records have been succesfully retrived per-call by putting count number as 30000.

 

 

Hi @mkoyfman 

Adding startIndex and count, works perfect!

Allow me one more question. This is the information I was looking for and I did not find anything about it, is this information public?

Thanks!!!

 

 

Labels

In order to view this content, you will need to sign in to your account. Simply click the "Sign In" button below

Sign In