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 (226k 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.

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
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 by sandramnc (820 points)
0 votes
1 answer

We are looking at Adaxes as a way to update user's passwords offline and updating the computer's cached password. Currently, a majority of our computers are off the network ... via the Internet. Is this a viable option? What issues are we not considering?

asked Sep 18, 2020 by bmajors (20 points)
0 votes
1 answer

We are attempting to use the member property in a powershell script for all groups. We get this error message on certain groups that are used as "primary". If we set another ... just shows the single member in the group in which the group is not the primary.

asked Feb 19, 2020 by mark.it.admin (2.0k points)
0 votes
0 answers

Hello, When I click on a user from the web interface I get this error message at the top of the page : The search filter cannot be recognized. (Server: domainname) Before ... one for service desk). What can I do to troubleshoot and find out the cause? thanks.

asked Apr 29, 2016 by tentaal (1.1k points)
2,779 questions
2,512 answers
6,576 comments
26,871 users