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

We have an hybrid situation and the mailbox should be create in Exchange onPrem. And if we create a new user, we copy another user with groups. The question is, how can i remove ... of groups from user are the last part of the prozess. Do you have any ideas?

asked Jul 22 by KEME (170 points)
0 votes
1 answer

Hi, can Adaxes support NoSQL as database for logging? Are there any plans to support other types of databases in future?

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

Hi everyone, I am deploying a new Adaxes Web Interface instance in a cross-domain environment and running into a connection/discovery issue. My Scenario: Domain A: Contains ... way to handle this cross-domain discovery block? Thanks in advance for your help!

asked Jul 8 by lbressan (100 points)
0 votes
1 answer

Hi team, Is there any possibility, or a planned feature, for better logging control? I would like to show only relevant, useful information in the execution log visible in the portal, but write more detailed/verbose logging into the database itself.

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