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
1 answer

Hello, This is not a current issue, just a curiousity. Im curious what would happen if AD Authentication was not working and I tried to authenticate to the Adaxes ... authentication, just wondering how an auth issue of this kind would be handled by Adaxes.

asked 3 hours ago by mfisher (150 points)
0 votes
1 answer

I have a custom command that is as follows If Job Title property Contains "Director" OR If Job Title property Contains "Assistant" Add the user to the "CN=yadda/yadda/Directors" ... the group, but remove the user if the titles do not match. What am I missing?

asked 1 day ago by AvenuesRecovery (70 points)
0 votes
1 answer

Please can I ask if Adaxes has ever completed a SAP (Success Factors) to AD integration with customers previously and used Adaxes for automation?

asked Jan 29 by DarrenFisk (100 points)
0 votes
1 answer

Hi team, is there any way to get an email about new Releases available for download inlc. Notes?

asked Jan 17 by wintec01 (1.7k points)
0 votes
1 answer

Hello, When trying to add a smtp alias through the Adaxes webinterface, we receive the following error: An Azure Active Directory call was made to keep object in sync ... There is no error when adding the smtp alias (proxyaddress attribute) directly in AD.

asked Jan 10 by maarten.vaes (140 points)
3,633 questions
3,321 answers
8,398 comments
548,760 users