0 votes

Hi,

during account creation we store a user/requester DN in field adm-CustomAttributeObject2

If now this requester is disabled, I want to find all users in AD, who has this account set in their attribute.

I tried this already with the manager attribute and everything is working fine. However I am unable to create the same search with my adm-CustomAttributeObject2 field.

I found some articles and scripts, but nothing working as expected.

by (1.5k points)

1 Answer

0 votes
by (294k points)

Hello,

Unfortunately, there is no possibility to use Adaxes custom attributes in search criteria. You need to just find all the objects of the required type and then check the corresponding attribute value for each of the found results one by one. If you have issues writing the script yourself, please, describe what exactly it must do except for actually finding the users.

Related questions

0 votes
1 answer

Thanks for the info. I'm now grabbing the %adm-ManagerUserName% value, but need to remove the final 21 characters of it so it contains only their username and not our ... this in the PowerShell Script Editor for my business rule, I get the following error:

asked Mar 11, 2021 by mkvidera (60 points)
0 votes
1 answer

Is there a way to get the name of the user who approved a request and supply that to a step inside of a custom command? For example, HR submits a status change for an employee. ... and pass it as a param in a custom command that is called in one of the steps?

asked May 12, 2021 by davfount90 (20 points)
0 votes
1 answer

Hello, i have created a custom attribute named user entry date. When a new user is created they need to enter the entry date with the create user command. The entry date ... buisness rule because it does not write any value in the sent email. Thank you, Fabian

asked Jun 7 by fabian.p (380 points)
0 votes
1 answer

Hello, is it possible to update a user attribute (extensionAttribute5) with the name of the group (Name), the user was just added to? Example: In Group A gets a new ... A should be written in the attribute extensionAttribute5 of User A. Can you please help me?

asked Jun 27, 2023 by lohnag (160 points)
0 votes
1 answer

We are using the SeeAlso attribute to store who is responsible for specific accounts. We do not wish to use the Manager field, because the Manager/Direct Report structure is ... to, for example, extende the expiration date of an account. Is that possible?

asked Jan 28, 2020 by manuel.galli (100 points)
3,588 questions
3,277 answers
8,303 comments
548,084 users