AD Users | Create Exchange Remote Mailboxes rule
Use this rule in a hybrid Exchange environment. The rule queries Active Directory within the defined scope, for each returned user looks up the matching Office 365 user account, then creates a remote mailbox for this user and configures that mailbox for remote routing.
NOTE: Don't forget to assign the users an Office 365 license that includes Exchange Online service. To assign licenses in bulk, you can use the AD Users | Enforce License (new) or AD Groups | Enforce License (new) rules.
When to use this rule
Use this rule in a hybrid Exchange environment to create remote mailboxes for Active Directory users that already have synced Office 365 user accounts and an Exchange Online license option assigned.
This rule sets the corresponding Exchange on-premises attributes in on-premise Exchange and Active Directory. As a result, users' remote mailboxes are shown in the on-premises Exchange Admin Center.
NOTE: Please be aware that the creation of the remote mailbox is not an immediate action and depends on the directory synchronization schedule.
Rule settings
| Setting name | Description |
|---|---|
| Query Section | |
| Add Remote Mailboxes Users in this Domain/OU |
This setting defines the search query scope. To improve query performance, limit the scope to a specific OU. IMPORTANT: To test the rule configuration, limit the rule scope to an OU that contains test accounts or objects and use the Preview feature. |
| Query criteria |
Query criteria are sent with the query and may improve query performance. TIP: For additional information on the criteria builder, see the How to use Query Builder dialog for Query Criteria and Filter rule settings. |
| Maximum number of objects | Specify the maximum number of objects to modify in the selected scope. |
| More options | |
| Filter |
Set the filtering conditions to hide unwanted data based on criteria not supported in the Query criteria setting. Example: filter by the found object Distinguished Name. TIP: For optimal performance, use the Query criteria setting above to filter objects whenever possible. |
| Properties to display |
Each object property defined in this setting matches the column that will be displayed in the Web Portal for this web query. To display additional columns, add the required properties to the Properties to display list. To add extension attribute 1 that is synchronized from AD, you need to use a value like:
Copy
|
| Sort by | Sort result object list. |
| Initialization Script | |
| Initialization script |
Usually, rules use query criteria to limit the query search scope. It improves the performance of the executed rule. Due to the PowerShell limitations, it is not possible to use calculated expressions in query criteria. That is the point where the initialization script can help. You can initialize a global variable in this setting and then use it in query criteria. IMPORTANT: To use a variable, declared in the initialization script, in the query scope, it must be global: Example: Update AD users, created in the last ten days.
|
| Action Section | |
| Remote Routing Address | Specify the format for the remote routing address. |
| Primary SMTP Address | Specify the format for the primary SMTP address. |
| Email Address Policy | |
| Enable automatic email address updates by address policy |
Set to Yes to enable automatic email address updates by Exchange Address Policy. if it is set to Yes, the primary email address, mail, and other proxy addresses will be generated by the Exchange server itself. The custom-generated values that are configured in the Cayosoft Administrator Service will be ignored. For more information, please see this article: Email address policies in Exchange Server | Microsoft Learn. |
| Retention and Archival | |
| Enable in-place archive | Set to Yes to enable in-place archive on the mailbox. |
Output section
This section defines the output format of this rule.
To get more information about this section, please see the Rule Output section article.
Enforce/Schedule section
This section defines the schedule for how often to run the rule.
To get more information about this section, please see the Rule Enforce/Schedule section article.
Change history
| Version | Notes |
|---|---|
| 10.1.3 | The Initialization Script section has been added. |
| 9.1.0 | Domain Controller and Credentials settings have been removed. |
Comments
0 comments
Please sign in to leave a comment.