0 votes

We have a custom command that executes to separate/terminate a user. Part of the CC determines if the user has an associated Admin account, which is stored as an Unmanaged Account. We store the value of the Admin account name in the attribute Admin-Display-Name. There is already processing in place to disable the user account but we need a way to also disable the associated Admin account.

by (870 points)

1 Answer

0 votes
by (267k points)
selected by
Best answer

Hello Sandra,

In case of unmanaged accounts, there is no easy way to update them. The thing is that adding an account to the unmanaged list makes it invisible for all the uses logging in to Adaxes and the same thing works for native Adaxes scripts. As such, the only option is to use a script with native AD cmdlets, like Disable-ADAccount. Pay attention that the cmdlet has restrictions on the properties whose values can be used to identify the account to disable.

Related questions

0 votes
1 answer

I am trying to trigger processing outside of Active Directory when an account is created based on the source user account that was used. Does Adaxes store the source account anywhere?

asked Oct 9, 2023 by jnordell (20 points)
0 votes
1 answer

How can i différenciante the two user without opening each one of them ?

asked Jan 20, 2023 by eric.lebrun (20 points)
0 votes
1 answer

We have a process that when a new user is created they are emailed their username and apssword. If the user is in an Admin Group they are then sent an email with some PDFs ... you can send emails, but am unable to see where it could attach files to the email?

asked Sep 3, 2020 by dknapp (100 points)
0 votes
1 answer

We just busted our licence limit of 400, but we are only 320 employees. All the extras are either service accounts, external contractors accounts or old user accounts ... is reinstated on the 'managed accounts' list? Thank you for the guidance, Louis

asked Apr 11, 2022 by lw.fa (130 points)
0 votes
0 answers

Hello, I'm using this script as part of a deprovisioning process https://www.adaxes.com/script-repository/disable-all-computers-managed-by-a-user-s29.htm I'm using ... The script executes with no errors, but the computer managed by the user remains enabled.

asked Jun 5, 2020 by bavery (250 points)
3,298 questions
2,996 answers
7,668 comments
544,227 users