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

Getting error during installation, Softwrra Adaxes 2026.1 Setup - Could not be installed. Verify that you have sufficent privileges to install system service. the service account and ... Nothing in the event viewer that points toward an issue that I can find.

asked Feb 23 by ADuser (160 points)
0 votes
1 answer

After connecting to Exchange Online, we can once again access the Exchange properties of users as usual. That works well. However, we now have relatively long loading times when ... is taking so much time here? We are grateful for any ideas and suggestions.

asked Feb 23 by KEME (150 points)
0 votes
0 answers

I try to registrer Adaxes with M365 with using your manuel: https://www.adaxes.com/help/RegisterAdaxesAsAppMicrosoftAzure/ if i try to connect from adaxes administration console ... ID and client secret, but can't connect. which credentials are invailid?

asked Feb 17 by KEME (150 points)
0 votes
1 answer

We need to have a process to revoke the access token used by Okta for end users.

asked Jan 22 by william.malone (100 points)
0 votes
1 answer