0 votes

On a Search directory, can the size limit be > 1000? I can specify a number higher than 1000 but only 1000 objects are returned. I know there are more than 1000. How does one make sure they get all of the objects they want in the search query?

by (60 points)
0

Hello,

How exactly do you perform the search that you see limited to 1000 results?

Also, could you, please, specify what version of Adaxes you are currently using? For information on how to check it, have a look at the following help article: https://www.adaxes.com/help/CheckServiceVersion.

0

Adaxes version is 3.14.18804.0

Here is my search snippet (Python)

ldapFilter = "(&(objectCategory=person)(objectClass=user)(adaxesBusinessUnit=XXX)(c=US))"

requestParams = { "baseObject": "DC=ad,DC=garmin,DC=com", "filter": ldapFilter, "sizeLimit": 2000, "properties": ["adaxesBusinessUnit,employeeID,distinguishedName,displayName,c"] }

r = s.get(URL+"/api/directoryObjects/search", params=requestParams, headers={"Adm-Authorization": token}) print(r.status_code)

1 Answer

0 votes
by (272k points)

Hello,

Thank you for the provided details. Unfortunately, there is currently no possibility to overcome the limit when performing a search using Adaxes REST API. The only workaround is to make multiple requests. This is a known behavior and we will address it in the next major release.

0

How do you do a paged query with Adaxes when there isn't a sorted set to retrieve?

0

Hello,

In case of REST API, it can only be done by making partial searches where each will have not more than 1000 results. By partial search here, we mean adjusting search criteria so that you only get a part of the entire required result which has more than 1000 elements.

As another option, you can use an ADSI script instead of REST API. It will not have the limit and you can directly get all the desired results. For examples, have a look at the following SDK article: https://adaxes.com/sdk/SampleScripts.SearchingUserAccounts.

0

Hello,

The new version of Adaxes where the REST API search limit was addressed is released. You can download it from here.

What’s New

Upgrade instructions

Related questions

0 votes
0 answers

It would be great if we could run a report on an OU and get the following information: Computer Name Local Accounts Whether or not the account is an administrator ... this is less important. Thanks in advance. Your support team is great and appreciated.

asked Sep 8, 2021 by mikek (80 points)
0 votes
1 answer

For example, a content pane with "Directory objects and business units" showing "Business unit members". The members of the business unit are not sorted alphabetically by default. Can the sort order be configured?

asked May 5, 2023 by Carl Bruinsma (120 points)
0 votes
1 answer

I want to make a custom field in which you can select a person from the active directory, is this possible? For example, as in the field manager

asked Nov 18, 2022 by Alvares (100 points)
0 votes
1 answer

Can you clarify the answer as it's a bit confusing? Will there be new major release available this month?

asked Nov 17, 2022 by ColinB (180 points)
0 votes
0 answers

When the UPN being created is the same as an existing one except for the case. For instance, the new UPN is sally.fields but there's an existing Sally.Fields. The ... but then fails to create the AD account indicating that the UPN is not unique forestwide.

asked Jul 13, 2022 by sandramnc (870 points)
3,346 questions
3,047 answers
7,782 comments
544,986 users