0 votes

Hello! I am running a powershell script that takes data and uses that to automatically create New-AdmUser. I want to have that new user send to the approval queue in adaxes, but it seems as if the powershell script bypasses the buisness rule I have set where before a user is created, it gets sent to the approval queue. Any help would be amazing!!!

by (50 points)

1 Answer

0 votes
by (294k points)
selected by
Best answer

Hello,

First of all, you need to make sure that the Activity Scope of the business rule is configured so that it triggers for the users created by the script. For example, if the users are created in the Users OU, the rule should look like the following: image.png Also, you need to make sure that the -AdaxesService parameter is specified for the cmdlet in the script. In other case, the operation is performed directly in Active Directory bypassing Adaxes.

Related questions

0 votes
1 answer

Hello, A new question : when I create a new contact in Adaxes, I'd like the email address automatically created. How can I do this ? Thanks for your response. Yoann

asked Oct 15, 2012 by yoann.hamon (180 points)
0 votes
1 answer

Hi all I need to modify the template $remoteRoutingAddressTemplate with the default exchange option automatically update email addresses disable. How i make it?

asked Nov 28, 2022 by Simone.Vailati (430 points)
0 votes
1 answer

When Setting up a Business rule or custom command to send out an email the option to send for approval is greyed out NeverMind I overlooked the option in the Business Rule on before Adding Member to Group the action to send for approval

asked Jul 12 by George.Holden (60 points)
0 votes
1 answer

Hello, I'm looking for a way to receive a notification/approval request when a new user is created and the business rule attempts to assign O365 licensing, however ... dependent on the license being assigned. Looking for any suggestions! Thanks so much!

asked Jul 1, 2019 by ryan_breneman (920 points)
0 votes
1 answer

Hello Is it possible to only have requests from the Self-Service webpage to be sent for approval? I cans see how you could use a business rule to have all requests to go ... use the Help Desk page we would not need the request to go for approval. Thank you

asked Oct 30, 2014 by CBurn (700 points)
3,588 questions
3,277 answers
8,303 comments
548,085 users