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

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 (410 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

Hi team, is there any possibility to track changes to an Adaxes attribute of a group? So, everytime the attribute adm-CustomAttributeTextMultiValue2 of group X is modified, we ... would it be only possible to inform us via email by a triggered business rule?

asked Oct 8, 2025 by wintec01 (2.5k points)
0 votes
1 answer