0 votes

Hello!

We have a business rule in place that will request approval from a group's owner before adding an account to that group for certain groups. We also have a custom command for creating new accounts that occaisionally involves adding the new account to these groups, which results in the approval request being sent to the owner. Later on in another custom command run on the new account, the account is moved to a new OU. This works as expected most of the time.

We're running into problems though when the approvers take too long to respond to the approval request and the second command is run before they respond, meaning the account is moved before it is added to the group. This results in an error when the operation is executed: [Error] The name reference is invalid.

Do you have any ideas for how to get around this error?

by (320 points)
reshown by
0

Hello,

Could you, please, specify how exactly users are added to groups? If it is done using a script, please, post it here or send to support@softerra.com in TXT format.

Also, please, specify the version of Adaxes you are using. For information on how to check that, have a look at the following help article: https://www.adaxes.com/help/CheckServiceVersion.

0

The users were added to the groups using the following script snippet where $username is the username of the new account and $groups is a string array of distinguished names of the groups: Add-AdmPrincipleGroupMembership -Identity $username -MemberOf $groups -AdaxesService "localhost" We are using version 3.14.18804.0 (64 bit).

0

Hello,

As per our check, using the script you provided works fine. After approving the requests, users get added to the groups without any error messages. For further troubleshooting, please, provide us with the following details:

  • A screenshot of the error you are facing. You can post it here or email at support@adaxes.com.
  • The full script that adds users to groups. You can post it here or email at support@adaxes.com.
  • What version of Adaxes are you currently using? For information on how to check it, have a look at the following help article: https://www.adaxes.com/help/CheckServiceVersion.
0

I did another test, and you're right. The user was added successfully to the group.

It looks like the issue we're having is actually coming from a business rule that updates a property whenever an account is added to the group. I've updated the business rule and it works now.

Thanks for your help and sorry for the confusion!

Please log in or register to answer this question.

Related questions

0 votes
1 answer

I belive we may have opened a ticket for this question in the past but I can't find the answer. We have a need to delay changing user attributes until their ... title, and department until the scheduled date. Any help would be much much appreciated. Thanks!

asked Jan 13, 2022 by trwhalen (70 points)
0 votes
1 answer

I need a specific user, when requesting another user to join a group, to have an approval sent to the AD management team. I tried to create a "Business Rule", but I'm getting an "Access Denied" error. Any idea what this could be?

asked Aug 20 by fgmello (40 points)
0 votes
1 answer

Currently, when I disable a user account in Adaxes, the group memberships of the user remain intact. I'd like to automate the removal of group memberships such as distribution ... a list of groups/DL that the user was previously in and removed from. Thanks!

asked Nov 3, 2021 by jayden.ang (20 points)
0 votes
1 answer

Topic question, we are looking into AD Auditing and I would like to know if this solution is on-prem. And I would like to know if there is a built in report to see ... to access folders they do not have permissions to, is this something I can do with Adaxes?

asked Jun 10, 2021 by anthonysmills (20 points)
0 votes
1 answer

I'm creating a process where after a user account has been created some manual steps are completed and then, then the helpdesk will approve the confirmation email to be ... to do this? Screenshot of the disabled approval checkbox: https://imgur.com/a/mLa1H

asked Mar 22, 2018 by jake_h (300 points)
3,567 questions
3,258 answers
8,266 comments
547,929 users