0 votes

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)
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

0 votes
0 answers

We followed the upgrade instructions here: Adaxes Installation Guide We upgraded from 2023.2 to 2025.1 in a Single Server Configuration. -Backed up our configuration using the backup ... 2 on it that we saved before having to revert back that I can provide.

asked 8 hours ago by cmosley (20 points)
0 votes
1 answer

Unable to select the option "Hide from exchange addres list" from shared mailbox that is being managed via Adaxes Getting this error The operation on mailbox "6e481282- ... . This action should be performed on the object in your on-premises organization.

asked 5 days ago by sctheva (20 points)
0 votes
1 answer

I am trying to run a script that uses the Vmware.Hv.Helper module to connect to a VMWare horizons server and pull usage data. After updating to 2025, this script fails and ... instead of 7. How does adaxes know which version of powershell to use for a script?

asked 5 days ago by DA-symplr (120 points)
0 votes
1 answer

I wish to disable tls 1.0 and 1.1 whilst leaving tls 1.2 enabled.

asked Apr 2 by egb_riv (20 points)
0 votes
1 answer

Subject: Connecting to a Foreign Domain Without a Trust Relationship Hello Adaxes Support, I am trying to connect to a domain that has no trust relationship and is not part ... my (unknown) domain? Thanks in advance for your help! Best regards, Idkom Helpdesk

asked Mar 19 by IDKOM (40 points)
3,678 questions
3,361 answers
8,499 comments
549,337 users