サポートと今すぐチャット
サポートとのチャット

Active Roles 8.1.1 - Administration Guide

Introduction Getting started Rule-based administrative views Role-based administration
Access Templates as administrative roles Access Template management tasks Examples of use Deployment considerations Windows claims-based access rules
Rule-based autoprovisioning and deprovisioning
Provisioning Policy Objects Deprovisioning Policy Objects How Policy Objects work Policy Object management tasks Policy configuration tasks
Property Generation and Validation User Logon Name Generation Group Membership AutoProvisioning Exchange Mailbox AutoProvisioning AutoProvisioning in SaaS products OneDrive Provisioning Home Folder AutoProvisioning Script Execution Microsoft 365 and Azure Tenant Selection E-mail Alias Generation User Account Deprovisioning Office 365 Licenses Retention Group Membership Removal Exchange Mailbox Deprovisioning Home Folder Deprovisioning User Account Relocation User Account Permanent Deletion Group Object Deprovisioning Group Object Relocation Group Object Permanent Deletion Notification Distribution Report Distribution
Deployment considerations Checking for policy compliance Deprovisioning users or groups Restoring deprovisioned users or groups Container Deletion Prevention policy Picture management rules Policy extensions
Using rule-based and role-based tools for granular administration Workflows
Key workflow features and definitions About workflow processes Workflow processing overview Workflow activities overview Configuring a workflow
Creating a workflow definition for a workflow Configuring workflow start conditions Configuring workflow parameters Adding activities to a workflow Configure an Approval activity Configuring a Notification activity Configuring a Script activity Configuring an If-Else activity Configuring a Stop/Break activity Configuring an Add Report Section activity Configuring a Search activity Configuring CRUD activities Configuring a Save Object Properties activity Configuring a Modify Requested Changes activity Enabling or disabling an activity Enabling or disabling a workflow Using the initialization script
Approval workflow Email-based approval Automation workflow Activity extensions
Temporal Group Memberships Group Family Dynamic groups Active Roles Reporting Management History Entitlement profile Recycle Bin AD LDS data management One Identity Starling Join and configuration through Active Roles Managing One Identity Starling Connect Configuring linked mailboxes with Exchange Resource Forest Management Configuring remote mailboxes for on-premises users Azure AD, Microsoft 365, and Exchange Online Management
Configuring Active Roles to manage Hybrid AD objects Managing Hybrid AD users
Creating a new Azure AD user with the Web Interface Viewing or updating the Azure AD user properties with the Web Interface Viewing or modifying the manager of a hybrid Azure user Disabling an Azure AD user Enabling an Azure AD user Deprovisioning of an Azure AD user Undo deprovisioning of an Azure AD user Adding an Azure AD user to a group Removing an Azure AD user from a group View the change history and user activity for an Azure AD user Deleting an Azure AD user with the Web Interface Creating a new hybrid Azure user with the Active Roles Web Interface Converting an on-premises user with an Exchange mailbox to a hybrid Azure user Licensing a hybrid Azure user for an Exchange Online mailbox Viewing or modifying the Exchange Online properties of a hybrid Azure user Creating a new Azure AD user with Management Shell Updating the Azure AD user properties with the Management Shell Viewing the Azure AD user properties with the Management Shell Delete an Azure AD user with the Management Shell Assigning Microsoft 365 licenses to new hybrid users Assigning Microsoft 365 licenses to existing hybrid users Modifying or removing Microsoft 365 licenses assigned to hybrid users Updating Microsoft 365 licenses display names
Unified provisioning policy for Azure M365 Tenant Selection, Microsoft 365 License Selection, Microsoft 365 Roles Selection, and OneDrive provisioning Microsoft 365 roles management for hybrid environment users Managing Microsoft 365 contacts Managing Hybrid AD groups Managing Microsoft 365 Groups Managing cloud-only distribution groups Managing cloud-only dynamic distribution groups Managing Azure security groups Managing cloud-only Azure users Managing cloud-only Azure guest users Managing cloud-only Azure contacts Changes to Active Roles policies for cloud-only Azure objects Managing room mailboxes Managing cloud-only shared mailboxes
Modern Authentication Managing the configuration of Active Roles
Connecting to the Administration Service Managed domains Using unmanaged domains Evaluating product usage Creating and using virtual attributes Examining client sessions Monitoring performance Customizing the Console Using Configuration Center Changing the Active Roles Admin account Enabling or disabling diagnostic logs Active Roles Log Viewer
SQL Server replication Using regular expressions Administrative Template Communication ports Active Roles and supported Azure environments Integrating Active Roles with other products and services Active Roles Language Pack Active Roles Diagnostic Tools Active Roles Add-on Manager

Configuring conditions for an If-Else branch

An If-Else activity is intended to select exactly one branch of the activity from a given set of branches. For each branch, the activity checks the branch conditions and executes the first of the branches whose condition evaluates to TRUE.

The Workflow Designer provides a condition builder for configuring branch conditions, located in the If-Else Branch Activity Properties dialog.

To access the condition builder for an If-Else branch

  1. Right-click the name of the branch and click Properties.

  2. Go to the Conditions box in the If-Else Branch Activity Properties dialog that opens.

When you configure an If-Else branch, you need to add at least one condition. By default, a single, implied condition group is created when you add a branch condition. You can create additional condition groups to group a set of conditions and nest grouped conditions within other condition groups.

A condition group contains one or more conditions connected by the same logical operator. By grouping conditions, you specify that those conditions should be evaluated as a single unit. The effect is the same as if you put parentheses around an expression in a mathematical equation or logic statement.

To add a condition to a condition group

  • In the Search options box, under Filter, click the name of the condition group and then click Insert condition.

    Click the plus sign (+) next to the name of the condition group.

    You can remove a condition, if needed, by clicking X on the right side of the list item representing the condition in the Conditions box.

To add a condition group into another condition group

  • In the Conditions box, click the name of the condition group, point to Insert condition group, and then click an option to specify the logical operator:

    • AND group: The condition group evaluates to TRUE if all conditions in the group are TRUE.

    • OR group: The condition group evaluates to TRUE if any condition in the group is TRUE.

    • NOT AND group: The condition group evaluates to TRUE if any condition in the group evaluates to FALSE.

    • NOT OR group: The condition group evaluates to TRUE if all conditions in the group evaluate to FALSE.

By default, AND is the logical operator between the conditions in a condition group. It is possible to change the logical operator by converting the condition group to a different group type: Click the name of the group, point to Convert condition group to, and then click the option appropriate to the desired logical operator.

You can remove an entire condition group, if needed, by clicking the name of the group and then clicking Delete condition group.

Once you have added a condition to a condition group, you can use the following steps to configure the condition.

To configure a condition

  1. Click Configure condition to evaluate, and then choose from the following options to specify the entity or field you want the condition to evaluate:

    • Property of workflow target object: Evaluate the value of a certain property of the target object of the request that started the workflow. The condition builder prompts you to choose the desired property. This option is unavailable in case of automation workflows.

    • Property of workflow initiator: Evaluate the value of a certain property of the user whose request started the workflow. The condition builder prompts you to choose the desired property.

    • Changed value of workflow target object property: Evaluate the value that is requested to be assigned to a certain property of the workflow target object, which represents the requested change to the property of the target object of the request that started the workflow. The condition builder prompts you to choose the desired property. This option is unavailable in case of automation workflows.

    • Activity execution status: Evaluate whether Active Roles encountered an error when running a certain activity. The condition builder prompts you to select the desired activity.

      NOTE: This option requires the activity configuration to allow the workflow to continue even if the activity encounters an error.

    • Approver action choice: Evaluate the name of the action button applied by the approver to complete the approval task created by a certain Approval activity. Use this option to determine which action button the approver applied to allow the operation that was subject to approval. The condition builder prompts you to select the desired Approval activity. This option is unavailable in case of automation workflows.

    • Workflow parameter value: Evaluate the value of a certain parameter of the workflow. The condition builder prompts you to select the desired parameter from the workflow definition.

    • Property of object from workflow data context: Evaluate the value of a certain property of the object that will be selected by the If-Else activity on the basis of the data found in the workflow environment at the time of executing the workflow. The condition builder prompts you to choose the desired property and specify which object you want the activity to select upon evaluating the condition at workflow run time.

    • Value generated by rule expression: Evaluate the string value of a certain rule expression. The condition builder prompts you to configure a rule expression. By using a rule expression you can compose a string value based on properties of various objects found in the workflow environment at the time of executing the workflow. Active Roles calculates the value of your rule expression upon evaluating the condition at workflow run time.

  2. Click the current comparison operator, if needed, and then click the operator you want the condition to use.

  3. Click Define value to compare to, and then choose an option to specify the desired comparison value.

The list of options that are available to specify a comparison value depends upon the entity or field you have configured the condition to evaluate. The following table summarizes the comparison value options.

Table 60: Comparision value options

Condition to evaluate

Comparison value options

  • Property of workflow target object

  • Property of workflow initiator

  • Changed value of workflow target object property

  • Workflow parameter value

  • Property of object from workflow data context

  • Value generated by rule expression

  • Text string

  • Property of workflow target object

  • Property of workflow initiator

  • Changed value of workflow target object property

  • Workflow parameter value

  • Property of object from workflow data context

  • Value generated by rule expression

Activity run status

  • Not initialized

  • Completed successfully

  • Encountered an error

Approver action choice

  • The name of an action button

  • Value generated by script

For more information on comparison operators and comparison value options, see Search filter.

Configuring a script-based condition

To configure a script-based condition, you need to create and apply a Script Module containing a function that analyzes the requested operation to determine whether to run the branch. The function could use the Active Roles ADSI Provider to access properties of objects involved in the operation, analyze the properties, and return TRUE or FALSE depending on the result of the analysis. The branch runs if the function returns TRUE.

To apply a script-based condition

  1. Right-click the name of the branch and click Properties.

  2. In the If-Else Branch Activity Properties dialog, under Conditions, do the following:

    1. Click the title of the condition group and then click Insert condition.

    2. Click Configure condition to evaluate and then click Value generated by rule expression.

  3. In the Configure Rule Expression dialog, click Add entry and then click Value generated by script.

  4. Use the Configure Entry dialog to select the appropriate Script Module and script function.

  5. Click OK to close the Configure Entry dialog.

  6. Click OK to close the Configure Rule Expression dialog.

  7. In the If-Else Branch Activity Properties dialog, under Conditions, do the following:

    1. Verify that comparison operator equals is selected.

    2. Click Define value to compare to, and then click Text string.

  8. In the Configure Entry dialog, under Text string, type TRUE.

  9. Click OK to close the Configure Entry dialog.

  10. Click OK to close the If-Else Branch Activity Properties dialog.

  11. Save your changes to the workflow definition.

As a result of these steps, the If-Else Branch you have configured will be selected if the function specified in the Configure Entry dialog returns TRUE at workflow run time. For more information and instructions, see Developing Script Condition Functions in the Active Roles SDK documentation.

Configuring a Stop/Break activity

When configuring a Stop/Break activity, you can specify the text of an information message. The activity stops the workflow instance and reports the corresponding event to the Active Roles event log. The message is included in the event description. If possible, the activity also displays that message in the client user interface (such as the Active Roles Console or Web Interface) that was used to request the operation that started the workflow.

To configure a Stop/Break activity

  1. In the Active Roles Console tree, expand Configuration > Policies > Workflow, and select the workflow containing the Stop/Break activity you want to configure.

    This opens the Workflow Designer in the Details pane, representing the workflow definition as a process diagram.

  2. In the process diagram, right-click the name of the activity and click Properties.

  3. View and, if necessary, change the message text in the Information message box.

Configuring an Add Report Section activity

You can use an Add Report Section activity to add custom information to the change history report (in case of workflow started by an operation request) or run history report (in case of automation workflow). The activity adds a separate section to the Workflow activities and policy actions area of the report. The section consists of a header and a body. When you configure an Add Report Section activity, you specify what information you want the header and the body to contain.

To configure an Add Report Section Activity

  1. In the Active Roles Console tree, expand Configuration > Policies > Workflow, and select the workflow containing the Add Report Section activity you want to configure.

    This opens the Workflow Designer in the Details pane, representing the workflow definition as a process diagram.

  2. In the process diagram, right-click the name of the activity and click Properties.

  3. Under This report section is intended to display information about, select the Error condition option if you want the report to display the text of the header and the body of the report section in red. Otherwise, select the Successful operation option.

  4. Under Header of the report section, click Define to compose the text of the header. The following options are available:

    • Text string: Specify a literal string of characters to be displayed as the header of the report section. The Workflow Designer prompts you to type the desired string.

    • Value generated by rule expression: Compose the header text of data entries to be calculated during execution of the activity. The Workflow Designer prompts you to configure a string of entries, and offers various entry types allowing the header text to include properties of objects involved in the workflow and related objects, date and time of activity execution, and workflow parameters.

  5. Under Body of the report section, click Add text and choose from the following options to configure the body text of the report section:

    • Text string: Add a literal string of characters. The Workflow Designer prompts you to type the desired string.

    • Workflow date and time: Add a date/time string representing the date and time that the activity is started at workflow run time (referred to as the current date and time in the Workflow Designer). You can change the format of the date/time string and specify a time offset, in days, if needed.

    • Workflow parameter value: Add a text string specified by a particular parameter of the workflow. The Workflow Designer prompts you to select the desired parameter.

    • Newline character (CR/LF): Add the end-of-line code to start a new string.

    • Tab character: Add a tab character to the string.

    • Bullet character: Add a bullet point to the string. You can use a bullet point followed by a tab character at the beginning of a string to format the string as a bulleted list item.

    • Property of object from workflow data context: Add the value of a certain property of the object that will be selected by the activity on the basis of the data found in the workflow environment at the time of executing the workflow. The Workflow Designer prompts you to choose the desired property and specify which object you want the activity to select upon creating the report section at workflow run time.

In the Body of the report section box, you can modify, reorder, or remove text entries. To modify a text entry, click the text and then click Edit. To reorder or remove text entries, use the buttons on the right side of the list items representing the text entries in the Body of the report section box. Thus, to remove an entry, click X on the right side of the list item representing that entry in the Body of the report section box.

関連ドキュメント

The document was helpful.

評価を選択

I easily found the information I needed.

評価を選択