0 votes

I’m trying to create a business rule that is executed before a user is created. I used the Adaxes tutorial “Run PowerShell Script after Creating a User” for reference. The script executes when using the “Run…” button in the script window. “Run as” is set to Adaxes service account. When I try to create a user through the “Administrator” web interface, the business rule is recognized and tries to execute. However, I get an “Access Denied” error when the script tries to execute.

Are there permissions I’m forgetting somewhere? Thanks in advance for the assistance.

by (320 points)
0

Hello,

For troubleshooting purposes, please, post here or send us (support@adaxes.com) the following:

  • A screenshot of the business rule you have.
  • A screenshot of the error message you are facing.
  • The script you are using in TXT format.

Any additional details will be much appreciated.

0

Hello,

Thank you for your response. I have provided additional details through support@adaxes.com.

1 Answer

0 votes
by (210k points)

Hello,

Thank you for the provided details. The issue occurs because the account used to register your domain in Adaxes does not have required permissions to create new users. By permissions here we mean native Active Directory permissions, not those granted by Adaxes security roles. For information on how to check/change the account, have a look at the following help article: https://www.adaxes.com/help/ChangeManagedDomainServiceAccount.

Related questions

0 votes
1 answer

I've modified the script here https://www.adaxes.com/script-repository/import-users-to-be-deprovisioned-s3.htm to do bulk deprovisioning of accounts via a .csv file. It ... share and folder. Why is this throwing this error? They path works in file explorer.

asked Mar 26 by johnsonua (390 points)
0 votes
1 answer

Hi Forum, I have another quick question. There's a Business Rule with an Approval on Adding Users to certain Groups. Is it possible to trigger this Business Rule when ... scope from a Powershell script (add-admgroupmember ...)? Thanks for your Help Cheers

asked Oct 26, 2015 by esoAdxAdmin (650 points)
0 votes
1 answer

How can I execute a Business Rule through PowerShell? I have a Business Rule that fires when a User is created. I have a custom field on the User that can be updated though ... based on the value in this custom field, when the User is updated. Is it possible?

asked Feb 10, 2014 by sdavidson (730 points)
0 votes
1 answer

Hi Evryone, I am trying to set up an external portal within a new webserver on dmz, and with only access to a webservice created from selfservice. The new webservice is only ... login, only reset password. What I am mising there that its not working? Thanks,

asked 6 hours ago by yagoityd (20 points)
0 votes
1 answer

We have multiple servers in our Adaxes cluster. One of the servers is throwing an error of "Access is denied." before a login page even comes ... step) +75 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158

asked Aug 27, 2020 by mark.it.admin (1.7k points)
2,599 questions
2,338 answers
6,212 comments
843,681 users