0 votes

Hello -

I am working in an environment where our Exchange Server is located in a Resource forest.

When I create a new user I need to ask if this user is supposed to have a mailbox created ... but I can't use the native adaxes workflow because it assumes the mailbox is to be created in the same domain.

I have the powershell script all worked out for what I need accomplished, but the part that I have not been able to figure out is how / if I can ask questions on the form as the user is being created. Every field on the form appears to have to be an AD attribute.

Can someone confirm this and point me to some FAQ / tutorial on the topic.

I would also like to hear experiences / lessons learned from others using adaxes in this type of configuration / environment.

Thanks.

- Scott

by (220 points)

1 Answer

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

Hello Scott,

For this purpose you can use Adaxes virtual properties. Such properties are not stored in AD, but can be used like any other properties of Active Directory objects.

You can add one of the virtual properties that can store boolean values (for example, CustomAttributeBoolean1) to the form used for creating users. Then, you can use a Business Rule. Adaxes Business Rules allow you to automatically perform certain actions once a certain event occurs in your AD. So, you can create a Business Rule triggered After Creating a User that will automatically launch the script for creating mailboxes every time a new user is created, provided that the virtual property that you chose (e.g. CustomAttributeBoolean1) is set True.

Also, you can modify the name for the virtual property that you chose and set it to anything you want, even a question.

To implement such a solution:

I. Modify Form for Creating Users
For information on how to add a property to the form for creating users, see step 6 in the following tutorial: http://www.adaxes.com/tutorials_WebInte ... tomization.

II. Create a Business Rule for Creating Mailboxes
To create a Business Rule that allows running your script based on the value of the CustomAttributeBoolean1 property:

  1. Create a new Business Rule.
  2. On the 2nd step of the Create Business Rule wizard, select User and After Creating a User.
  3. On the 3rd step, add the Run a program or PowerShell script action and paste your script in the Script field.
  4. Add a short description for the script and click OK.
  5. Right-click your action and click Add Condition.
  6. Select the If <property> <relation> <value> condition.
  7. Expand the <property> drop-down list.
  8. Select the Show all properties option.
  9. Select CustomAttributeBoolean1.
  10. Select equals and type True.
  11. Click OK and finish creation of the Business Rule.

III. Modify the Display Name of the Virtual Property
For information on how to modify the name under which the virtual property appears in Adaxes, see Customizing Display Names for AD Properties.

0

Exactly what I was looking for! Thanks for the quick response!

- Scott

Related questions

0 votes
1 answer

Hi team, is it possible, to change the shown name of fields during the creation with a web form? For example my customtext1 is called "Temp Name" and on the web interface I would like to show "Select username"

asked Jul 10 by wintec01 (1.5k points)
0 votes
1 answer

We have a business need for automating and controlling the creation of service accounts in our AD. For example, we want all new service accounts to start with "svc_" for ... customize the "New User" form to create a "New Service Account" workflow in Adaxes?

asked Sep 10, 2021 by joshua.lapchuk (60 points)
0 votes
1 answer

I have a fresh installation of adaxes 2018.1 and trying to hide password option in user creation I removed it but this doesn't work. Logged off twice from Config page and user page. Mike

asked Sep 6, 2018 by pavants (150 points)
0 votes
1 answer

Hello, On the "create user" form i have a custom Field "Sophos VIP User". Would it be possible to only show another property, where the user is asked to enter a ... . Or is it only possible to add a non required additional date property? Kind regards, Fabian

asked Jun 6 by fabian.p (380 points)
0 votes
1 answer

Hi, if a user creates a new user via web form and backend scripts are executed, is there a way to skip this waiting page? I not sure if I found some setting in the ... asynchronously" would do the trick, no? But I want all task are excuted one after one.

asked Jan 24 by wintec01 (1.5k points)
3,549 questions
3,240 answers
8,232 comments
547,814 users