Sometimes, not always, when we run a script to change usertype (like from "Disabled" to "Active"), Adaxes crashes completly. We have a set of groups in a $groups variable, and this tries to add the user to those groups:

foreach ($group in $groups) {
  try {    
    Add-AdmGroupMember -Identity $group -Members "%distinguishedName%" -AdaxesService localhost -Server $domainName -Confirm:$false -ErrorAction SilentlyContinue
  }
  catch {
    $Context.LogMessage("$Error", "Error") 
  }
}

Sometimes, this functions goes fine... but suddenly it sends tons of "The specified account name is already a member of the group. (Server: domain.local)" to the log, and Adaxes crashes..

Adaxes version 3.6.10109.0

by (960 points)
by (216k points)
0

Hello,

Can you send us Adaxes Event Log for the computer where Adaxes service is installed? For information on how to access it, see the following help article: http://www.adaxes.com/help/?ServiceAdmi ... ntLog.html.

Also, it would be wise to avoid such a situation when you are trying to add a user that is already a member of a group. If you could send us the full script to support[at]adaxes.com, we could come up with some suggestions

Please log in or register to answer this question.

Related questions

After following the process outlined at https://www.adaxes.com/help/ConfigureMailSettings/#exchange-app-auth, I enter in the smtp server, port 587, the server requires ... nothing. Checked the adaxes logging, nothing. Any help is apprecaited. Thank you!

asked Jul 10, 2025 by emeisner (160 points)
0 votes
0 answers

We need to have a process to revoke the access token used by Okta for end users.

asked Jan 22 by william.malone (100 points)
0 votes
1 answer

I edited a custom attribute in Adaxes, and manually entered the value for each Org Unit. When I attemp to get that property in Adaxes, it gives me an empty value. I'm sure ... ." You can see at the bottom of the image below that this value does contain data

asked Jan 3 by apruitt (430 points)
0 votes
1 answer

I see the following error when I navigate to the user: The operation couldn't be performed because object '[user] ' couldn't be found on '[local DC]'. We have ... partially manage M365, but I assume its missing some permissions. Any idea what it could be?

asked Dec 15, 2025 by ZoomGhost (300 points)
0 votes
0 answers

Please sdvise if Adaxes is capable of managing file folder security aa Microsoft LDA?

asked Oct 22, 2025 by hhsmith (180 points)
0 votes
1 answer