AD Users | Send Email Notification rule
Rule description
This rule sends an email to the specified Active Directory user scope. It can be used as a standalone rule in a runbook or in conjunction with a Web Action.
When to use this rule
This rule takes all the users returned by the rule query section and sends them an email using the settings in the action settings.
You can use this rule in these scenarios:
To send notifications to a certain group of Active Directory users.
As part of a runbook. You should set the Limit scope to this domain or OU to Get scope from runbook session. In this case, the rule will take the users from the output of certain supported provisioning rules instead of directly through this query section.
As a linked rule to a web action or an automation rule. For details please see How to configure one rule to run after another rule or a web action.
Rule settings
Query section
| Setting name | Description |
|---|---|
General Settings | |
| Limit scope to this Domain or 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 users |
By default, all objects that you have provisioned in Microsoft Office 365 are returned. TIP: It is possible to change the default value in the extension settings. |
More options | |
Properties to Display |
To display additional properties for each object found by the query, add those properties to the list. |
System properties |
List of properties required for this rule to be executed correctly. |
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. |
Sort by |
Sort result objects list. |
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
| Setting name | Description |
|---|---|
| Send to group mail address | Specify if email notification should be send to group mail address. |
| Send to group members | Specify if email notification should be send to group members. |
| Send to group owner | Specify if email notification should be send to group owner. |
| Send to additional owners | Specify if email notification should be send to additional owners. |
| User email attribute | Specify user mail attribute. |
| Additional To | Specify additional mail addresses. |
| CC, BCC | Email address where the copy will be sent. |
| From | Users can receive emails from default SMTP from address. |
| Subject |
Email subject. TIP: It is possible to customize email subjects by using different tokens, see Customizing an automation rule or web action output email. |
| Message |
Message text. TIP: It is possible to customize email messages by using different tokens, see Customizing an automation rule or web action output email. |
| Limit the number of emails sent per minute |
An integer value that represents the number of emails sent per minute by this rule. To change the default value, navigate to Configuration > Settings > Email Settings (SMTP). The default limit for Microsoft 365 SMTP gate is 30 emails per minute. |
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.
Comments
0 comments
Please sign in to leave a comment.