0 votes

Because before "Create User" a manager has to approve this action, I can not use the "Show Create Mailbox form after creation" option. So I want to create a custom checkbox (eg mailbox?) end if checked via a Business Rule a powershell script will run to create the mailbox automatically. Is this possible?

Remco

by (780 points)

1 Answer

0 votes
by (216k points)

Hello Remco,

Yes, this is possible. For this purpose, you can use a certain property that will serve as a flag indicating whether it is necessary to create a mailbox. You can use one of Adaxes virtual properties that can store boolean (true/false) values, for example, CustomAttributeBoolean1. such properties are not stored in Active Directory, but you can use them as any other properties of AD objects. You can add the property to the Web interface page for creating users. The property will be displayed as a checkbox on that page.

When creating a user, with the help of the property, users will specify whether it is necessary to create a mailbox. Then, a Business Rule triggered after creating a user will create a mailbox for the user only if the property is set to True.

Also, since a name like CustomAttributeBoolean1 will not tell much to your users about the meaning and the function of the property, you can give it your own name.

To implement such a solution:
I. Add a virtual boolean property to the Web Interface page for creating users

For information on how to do this, see step 6 in Customize Forms for User Creation and Editing.

II. Configure a Business Rule for creating mailboxes

For information on how to create such a Business Rule, see the Automate Exchange Mailbox Creation for New Users Tutorial. To create mailboxes only for users who have the virtual property set to True, on step 5 of the Tutorial, do the following:

  • Right-click the action and click Add Condition.
  • Select the If <property> <relation> <value> condition.
  • Expand the <property> drop-down list.
  • Select Show all properties.
  • Select the virtual property that you chose to use, for example, CustomAttributeBoolean1.
  • Select equals and True.
  • Click OK.

Also, you can automatically configure the mailbox after creation, if necessary.

III. Assign your own name to the virtual property

For information on how to do this, see Customizing Display Names for AD Properties.

Related questions

0 votes
1 answer

I'm lost as to why "Create User" doesn't show up. I made a new dashboard, mirroring the default Help Desk. Under Actions, I enabled Create User. On the web interface, the option to create a user is not showing. Am I missing a step?

asked May 15 by tromanko (330 points)
0 votes
1 answer

We get Sharepoint Online requests for access to sites/folder/content. Is there a way to automate this task?

asked Jul 10, 2023 by dharry (20 points)
0 votes
1 answer

When setting a default OU for new user creation, our domain does not expand. Editing users is fine, installed console is fine. Config was working before upgrade to 2018.1. Any suggestions?

asked Jul 17, 2018 by polley (1.2k points)
0 votes
1 answer

Is it possible to change the default domain on the User Logon Name field, in the Create User Web Interface screen? Similarly, is it possible to change the User Logon Name (pre-Windows 2000) prefix?

asked Apr 15, 2014 by sdavidson (730 points)
0 votes
1 answer

is it possible to create a 4/5th web interface? I am building a two node F5 pool for adaxes however I am thinking about possibly needing a few more interfaces for different purposes

asked Oct 4, 2013 by kf4ape (490 points)
3,549 questions
3,240 answers
8,232 comments
547,814 users