0 votes

Hi there,

I was wondering if you could help me with configuring email addresses when executing business rules.
Our current policy creates email addresses based on first initial, last name format. For example: (John Smith JSmith@contoso.com)
When creating, we sometimes run the issue of having an email address that already exists and creates JSmith1@contoso.com. We then need to change the address manually to include the second initial of the first name to JoSmith@contoso.com, and if that's taken then JohSmith@contoso.com, etc.

Is it possible for Adaxes to pick this up and programmatically change the email address?

http://www.adaxes.com/tutorials_Simplif ... Script.htm
Example 2 is close to what we need but not quite. Need it for unique email addresses and specifying a specific format.

Thank you!

by (20 points)

1 Answer

0 votes
by (216k points)

Hello,

Yes, it is possible. You can use the following script from our Script Repository: http://www.adaxes.com/script-repository ... s-s331.htm. You need to add the Run a program or PowerShell script action that runs the script in your Business Rule that creates the mailboxes, after the action that performs mailbox creation.

0

Thank you so much!

How would I be able to execute this script after they use the "Show Create Mailbox form after creation" instead of when running this when it creates the mailbox with condition?

Edit: I'd like to describe the ideal situation:

- The administrator goes to the web interface to create a user.
- There's an option to check whether or not the person requires a mailbox. (I think that's here? Asking questions on object creation form)
- If the value is true, then create a mailbox (either with the mailbox form or through the create mailbox rule)
- Depending on which OU the user was selected to be created in, certain mailbox databases can be picked. E.g: If Mexico OU was picked, then have only Mexico Mailbox Databases pickable.
- Run the script you have provided to make sure the email address is fixed.

Thanks!!!

Related questions

0 votes
1 answer

feature request: Allow scheduled reports to have any email address as a recipient.

asked 1 day ago by PaulPCGuy7 (20 points)
0 votes
1 answer

Hello, Was wondering if there is a script for a business rule or a property pattern that can be used for this request. I am wondering how can I do a check ... $Context.LogMessage("The email address '$emailAddress' is available.", "Information") return $false }

asked Nov 13 by KoleArmstrong (20 points)
0 votes
1 answer

Hi all, I've created a 'View User' command via the Web Interface Configurator. I don't want users to be able to make any changes, so I've created a Custom ... there any way to remove this, short of removing the entire Exchange section itself? Thanks, David

asked Sep 5 by dshortall (80 points)
0 votes
1 answer

Hello, I'm wondering if it's possible to export a list of all users in AD along with their email addresses to an Excel spreadsheet and then schedule that export to append ... address that wasn't previously used. Please let me know if this is possible. Thanks!

asked Apr 11 by sjjb2024 (60 points)
0 votes
1 answer

The default pattern format we need should be :First letter of User firstname concatinated to user lastname and pd.sandiego.gov as in jdoe@pd.sandiego.gov

asked Jan 23 by hhsmith (100 points)
3,550 questions
3,241 answers
8,236 comments
547,827 users