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 (210 points)
0 votes
0 answers

Hi team, We are running version 2025.1 - 3.17.23904.0 with three servers and one SQL server. Two of the three servers are used for web access behind a load ... issues if we revert to the previous version (internal database/settings and SQL logging database)?

asked Jun 1 by wintec01 (2.6k points)
0 votes
1 answer

I have a custom adaxes attribute that I would like to utlitize in Rule Based groups; it does not look like they are available to select, however. Example: want something ... to group. Is this possible to make them visable in the Rule Based queries somehow?

asked May 28 by stevemkoenig (40 points)
0 votes
1 answer

Hi, from where gets Adaxes the list of values prefilled, especially for the Country attribute? I noticed there is a value of "CS" which is not supported on Active Directory. Thanks.

asked May 27 by wintec01 (2.6k points)
0 votes
1 answer

We are using Adaxes Directory Object Picker for selecting Distribution Group members. We create external recipients as Exchange Online MailContacts (via New-MailContact). These contacts: are ... Context: We are using cloud-only contacts (no on-prem AD sync).

asked May 27 by IwistIT (140 points)
0 votes
1 answer