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

Upgraded to the latest adaxes release yesterday and now this morning we are not able to access our self-service portal. We have rebooted our server and verified our adaxes service is successfully connected our domains. Any help would be appreciated, thank you!

asked Mar 14 by dhodgin (40 points)
0 votes
1 answer

We are looking for if Adaxes has a report we can run that will tell us if there are multiple users using the same or similar passwords? Is there any tool that we can ... as another users? I appreciate any information you may be able to provide. Thank You,

asked Feb 27 by Jeff.Briand (60 points)
0 votes
1 answer

Is there a report that would show the Adaxes websites and who has access to them?

asked Feb 16 by lavonnabalo (20 points)
0 votes
1 answer

Hello, I am wanting to write a script to have Adaxes add/remove all authorized DHCP Servers in the domain to a certain security group weekly. Dynamically adding and removing ... you have a better soulution then PS, then let me know. Thanks in advance!

asked Feb 8 by NewTechSolutions (20 points)
0 votes
1 answer

The only reference I can find to running adaxes on server core is several years (6?) old. Has there been any update to supporting adaxes on Windows Server core? Thank you.

asked Feb 7 by wd.swaters (20 points)
3,326 questions
3,026 answers
7,727 comments
544,678 users