立即与支持人员聊天
与支持团队交流

Active Roles 7.5 - Administration Guide

Introduction About Active Roles 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
About Policy Objects Policy Object management tasks Policy configuration tasks
Property Generation and Validation User Logon Name Generation Group Membership AutoProvisioning E-mail Alias Generation Exchange Mailbox AutoProvisioning AutoProvisioning for SaaS products OneDrive Provisioning Home Folder AutoProvisioning Script Execution Office 365 and Azure Tenant Selection 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
Workflows
Understanding workflow Workflow activities overview Configuring a workflow
Creating a workflow definition Configuring workflow start conditions Configuring workflow parameters Adding activities to a workflow Configuring 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
Example: Approval workflow E-mail based approval Automation workflow Activity extensions
Temporal Group Memberships Group Family Dynamic Groups Active Roles Reporting Management History
Understanding Management History Management History configuration Viewing change history
Workflow activity report sections Policy report items Active Roles internal policy report items
Examining user activity
Entitlement Profile Recycle Bin AD LDS Data Management One Identity Starling Management One Identity Starling Two-factor Authentication for Active Roles Managing One Identity Starling Connect Azure AD, Office 365, and Exchange Online management
Configuring Active Roles to manage hybrid AD objects Managing Hybrid AD Users Unified provisioning policy for Azure O365 Tenant Selection, Office 365 License Selection, and Office 365 Roles Selection, and OneDrive provisioning Office 365 roles management for hybrid environment users Managing Office 365 Contacts Managing Hybrid AD Groups Managing Office 365 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 Configuration of Active Roles
Connecting to the Administration Service Adding and removing 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 Appendix A: Using regular expressions Appendix B: Administrative Template Appendix C: Communication ports Appendix D: Active Roles and supported Azure environments Appendix E: Enabling Federated Authentication Appendix F: Active Roles integration with other One Identity and Quest products Appendix G: Active Roles integration with Duo MFA Appendix H: Active Roles integration with Okta MFA

Office 365 automation workflow

Automation workflow enhancements allow you to add Azure or Office 365 modules in PowerShell and run the Office 365 services such as Skype for Business, Azure AD, and Azure PowerShell Az PowerShell scripts within existing Active Roles workflows.

As part of creating automation workflow, a new O365ScriptExecutionConfiguration activity is added to fetch the already configured tenant details. Select a tenant from the Select a Tenant to configure O365 Services drop-down list that displays all the tenants configured on the Active Roles Web Interface.

Selected tenant is displayed in This tenant will be used to configure O365 Services if the override tenant details is not provided textbox.

However, if required, you can override Office 365 script execution. Double-click on O365ScriptExecutionConfiguration and edit the O365 User and O365 Password workflow parameters.

NOTE: By default, the tenant is not selected.

If no tenant is selected and no override tenant details are provided, the workflow fails and the following error message appears:

Please select a configured Tenant from the Select a Tenant to configure O365 Services drop-down or provide valid Tenant Id, Login username and password to override details from workflow.

If the tenant is selected in the drop-down and the override details are also provided, the O365 services will be configured using the override details.

Prerequisites to run the Office 365 workflow scripts

The following PowerShell modules must be installed to the system running Active Roles to run the Office 365 PowerShell script execution activity.

  • Azure Active Directory (Azure AD)
  • Azure PowerShell Az
  • Microsoft Teams (includes Skype for Business)

NOTE: To run a Sample Azure Hybrid Migration script, on-premises Exchange must be available.

As Exchange Online is connected to Exchange Online PoweShell, make sure that https://outlook.office365.com/powershell-liveid/ is not be blocked and network connectivity is available.

Creating an Office 365 automation workflow definition

To create an Office 365 automation workflow definition

  1. In the Active Roles console tree, expand Configuration > Policies, right-click Workflow, and select New > Workflow.
  2. Follow the steps in the New Workflow wizard:
    1. On the Name and Description page, type in a name and, optionally, a description for the new workflow.
    2. On the Workflow Type page, under This workflow is intended to start, click On user demand or on a scheduled basis (automation workflow).
    3. On the Completion page, click Finish.
  3. From the tool box within the workflow, select O365ScriptExecutionConfiguration and configure the Office 365 automation workflow.

  4. From the workflow, select the Script activity and configure the script activity to point to the PowerShell script and function to execute.

    NOTE: The string or command entered in the API O365ExecuteScriptCmd must be well formed and complete for the workflow to run successfully.

Sample Office 365 workflow scripts

$context.O365ImportModules(array of modules)

This script enables the multiple modules specified in the array to be loaded and creates a connection to the modules with the login details retrieved through O365ScriptExecutionConfiguration activity. The O365 User and O365 Password parameters that are configured earlier within workflow are used.

Example:

 $array = @(“MSOnline”, “Lync”)
        $context.O365ImportModules($array)
        $context.O365RemoveAllModulesSessions()
$context.O365ImportModule (module)

This script enables the single module specified in the script to be loaded.

Example:

$context.O365ImportModule(“AzureRm) #latest version azureRm is imported
        $context.O365ImportModule(“AzureRm, 4) #latest version azureRm version 4 is imported
        $context.O365RemoveAllModulesSessions()
$context.O365ExecuteScriptCmd(string/cmd )

Passing any string or command specified in the script will execute and return the results as PSObject.

$context.O365RemoveAllModulesSessions()

This script disconnects the PSSessions and removes the modules from the PowerShell pool, allowing to import new modules again.

Example:

#Get a list of disabled users and Directory Roles available
        $_usersinroles= @()
        $_default_log = "C:\temp\Roles.csv"
        $context.O365ImportModule("AzureAD")
        $context.O365ExecuteScriptCmd("get-azureaduser -filter 'accountEnabled eq false'" +" | Export-Csv " +"c:\temp\DisabledUsers.csv" +" -NoTypeInformation")
        $context.O365ExecuteScriptCmd("Get-AzureADDirectoryRole | Export-csv "+$_default_log )
        $context.O365RemoveAllModulesSessions()

Creating Office 365 shared mailbox

To create a new Office 365 shared mailbox, use Create Office 365 Shared Mailboxes builtin workflow. This workflow uses the builtin activity O365 script execution configuration and the builtin script Create Office 365 Shared Mailboxes.

The workflow is disabled by default and can be used as an initial template to create custom workflows with required values in the script, such as, mailbox name, mailbox display name, alias, and recipients to grant the Send As permission.

The workflow is located in Configuration/Policies/Workflow/Builtin container in the Active Roles console, and has the name Create Office 365 shared mailbox. The corresponding script is available in Configuration/Policies/Script Modules/Builtin container, with the name Create Office 365 shared mailbox.

Enabling Azure Roles

To enable an existing directory role in Azure Active Directory, use Enabling Azure Roles builtin workflow. This workflow uses the builtin activity O365 script execution configuration and the builtin script Enabling Azure Roles. The workflow is disabled by default and can be used as an initial template to create custom workflows with required values in the script, such as, the directory role display name.

The workflow is located in Configuration/Policies/Workflow/Builtin container in the Active Roles console, and has the name Enabling Azure Roles. The corresponding script is available in Configuration/Policies/Script Modules/Builtin container, with the name Enabling Azure Roles.

Activity extensions

In Active Roles, administrators can configure workflow activities of the pre-defined types that are installed with Active Roles. By default, the list of activities in the Workflow Designer contains only the pre-defined activity types, such as Approval Activity or Notification Activity. It is possible to extend the list by adding new types of activity.

Each activity type determines a certain workflow action (for example, originating an approval task or notification) together with a collection of activity parameters to configure the workflow action (for example, parameters that specify the approvers or notification recipients). Active Roles builds upon this concept, providing the ability to implement and deploy custom types of workflow activity. It enables custom activity types to be created as necessary, and listed in the Workflow Designer along with the pre-defined activity types, allowing administrators to configure workflow activities that perform custom actions determined by those new types of workflow activity.

Active Roles allows the creation of custom activities based on the Script Activity built-in activity type. However, creating and configuring a script activity from scratch can be time-consuming. Custom activity types provide a way to mitigate this overhead. Once a custom activity type is deployed that points to a particular script, administrators can easily configure and apply workflow activities of that type, having those activities perform the actions determined by the script. The activity script also defines the activity parameters specific to the activity type.

Custom activity types provide an extensible mechanism for deploying custom workflow activities. This capability is implemented by using the Policy Type object class. Policy Type objects can be created by using the Active Roles console, with each object representing a certain type of custom workflow activity.

相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级