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 are getting rid of our internal Active Directory. So far the process has gone very well. All of our 250 users have been transitioned to Entra and all of our applicaitons are ... AD or at the very least you have a cloud only release of Adaxes on the horizon.

asked 2 days ago by TechPagan (20 points)
0 votes
1 answer

We're going to be upgrading and Im wondering if there's any caveats we should be aware of in such a major version jump. We have 2 backend servers and 2 frontend servers.

asked May 13 by ZoomGhost (340 points)
0 votes
1 answer

I found a URL that's being used and I am not sure where it's coming from. I've looked everywhere to see how it's even accessible. The url directs people to a reset ... instead the name of one of the Web Interfaces (I blacked it out in the image below)

asked May 4 by apruitt (470 points)
0 votes
1 answer

Hello, Thank you for the clarification. I understand that, as of today, Adaxes does not provide built-in functionality to create Microsoft Entra (Azure AD) guest ... insight you can share regarding roadmap status or long-term direction. Kind regards, Willem

asked Apr 24 by IwistIT (120 points)
0 votes
1 answer