ActiveRoles Administration Guide
ActiveRoles Administration Guide
Administration Guide
Copyright 2022 One Identity LLC.
ALL RIGHTS RESERVED.
This guide contains proprietary information protected by copyright. The software described in this guide
is furnished under a software license or nondisclosure agreement. This software may be used or copied
only in accordance with the terms of the applicable agreement. No part of this guide may be reproduced
or transmitted in any form or by any means, electronic or mechanical, including photocopying and
recording for any purpose other than the purchaser’s personal use without the written permission of
One Identity LLC .
The information in this document is provided in connection with One Identity products. No license,
express or implied, by estoppel or otherwise, to any intellectual property right is granted by this
document or in connection with the sale of One Identity LLC products. EXCEPT AS SET FORTH IN THE
TERMS AND CONDITIONS AS SPECIFIED IN THE LICENSE AGREEMENT FOR THIS PRODUCT,
ONE IDENTITY ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR
STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-
INFRINGEMENT. IN NO EVENT SHALL ONE IDENTITY BE LIABLE FOR ANY DIRECT, INDIRECT,
CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT
LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION OR LOSS OF
INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF
ONE IDENTITY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. One Identity makes no
representations or warranties with respect to the accuracy or completeness of the contents of this
document and reserves the right to make changes to specifications and product descriptions at any
time without notice. One Identity does not make any commitment to update the information
contained in this document.
If you have any questions regarding your potential use of this material, contact:
One Identity LLC.
Attn: LEGAL Dept
4 Polaris Way
Aliso Viejo, CA 92656
Refer to our Web site (http://www.OneIdentity.com) for regional and international office information.
Patents
One Identity is proud of our advanced technology. Patents and pending patents may apply to this
product. For the most current information about applicable patents for this product, please visit our
website at http://www.OneIdentity.com/legal/patents.aspx.
Trademarks
One Identity and the One Identity logo are trademarks and registered trademarks of One Identity
LLC. in the U.S.A. and other countries. For a complete list of One Identity trademarks, please visit
our website at www.OneIdentity.com/legal. All other trademarks are the property of their
respective owners.
Legend
Introduction 34
Getting Started 55
Starting the Active Roles console 55
Delegating control to users for accessing MMC interface 56
Getting and using help 56
User Interface overview 57
Console tree 57
Details pane 58
Advanced pane 58
Active Roles Security and Links 59
Active Roles Policy 59
Native Security 59
Member Of and Members 60
Customizable Web Interface 60
Key features 60
Different interfaces for different roles 61
Role-based management of computer resources 62
View mode 63
Controlled objects 63
Using Managed Units 63
Setting up filter 64
Steps for sorting and filtering lists in the details pane 64
Finding objects 65
Steps for searching for a user, contact, or group 66
Steps for searching for a computer 67
Steps for searching for an Organizational Unit 68
Steps for using advanced search options 68
Steps for building a custom search 69
LDAP syntax 69
Search filter format 70
Operators 70
Wildcards 70
Special characters 71
Workflows 410
Understanding workflow 410
Key features and definitions 411
Workflow 411
Workflow definition 411
Workflow start conditions 411
Workflow instance 411
Workflow activity 412
Workflow Designer 412
Workflow engine 412
E-mail Notifications 412
About workflow processes 412
Workflow processing overview 414
About start conditions 415
Workflow activities overview 416
Approval activity 416
Approvers and escalation 417
Request for information 418
Customization 418
Notification 420
Notification activity 421
Notification recipients 421
Notification message 422
One Identity Starling Join and Configuration through Active Roles 711
Configure Join to Starling 711
Prerequisites to configure One Identity Starling 712
Configuring Active Roles to join One Identity Starling 713
Disconnecting One Identity Starling from Active Roles 713
Appendix E: Active Roles integration with other One Identity and Quest
products 1060
About us 1068
Contacting us 1068
Technical support resources 1068
Introduction
The Active Roles Administration Guide is designed for individuals who are responsible for
creating and maintaining Active Roles’ administrative structure. This document provides
conceptual information about the product, and includes instructions for deploying a secure,
distributed administrative structure that combines administrative policy enforcement, role-
based delegation of administration, and flexible administrative views.
This guide also provides information for performing administrative tasks using the Active
Roles web interface for Azure Active Directory and Office 365. The document includes
instructions to help delegated administrators and help-desk operators perform day-today
Azure AD administrative activities.
Active Roles facilitates administrators to configure and monitor Active Roles replication
using Microsoft SQL Server tools. This guide details the SQL Server agents used during
replication, accounts and logins used to access SQL Server, and strategies for monitoring
and troubleshooting replication.
The Active Roles Administration Guide is supplemented with the Active Roles User Guide
that provides information about the Active Roles console user interface, and includes
instructions to help delegated administrators perform day-to-day administrative activities
using the Active Roles console.
NOTE: For information on the Active Roles features see the latest Active Roles What's
New Guide.
l Secure access Acts as a virtual firewall around Active Directory, enabling you to
control access through delegation using a least privilege model. Based on defined
administrative policies and associated permissions generates and strictly enforces
access rules, eliminating the errors and inconsistencies common with native
approaches to AD management. Plus, robust and personalized approval procedures
establish an IT process and oversight consistent with business requirements, with
responsibility chains that complement the automated management of directory data.
Technical overview
Active Roles divides the workload of directory administration and provisioning into
three functional layers—presentation components, service components, and network
data sources.
The presentation components include client interfaces for the Windows platform and the
Web, which allow regular users to perform a precisely defined set of administrative
activities. The reporting solution facilitates automated generation of reports on
management activities.
The service components constitute a secure layer between administrators and managed
data sources. This layer ensures consistent policy enforcement, provides advanced
automation capabilities, and enables the integration of business processes for
administration of Active Directory, Microsoft Exchange, and other corporate data sources.
The Administration Database stores information about all permission and policy settings,
and other data related to the Active Roles configuration.
On a very high level, the Active Roles components work together as follows to manipulate
directory data:
1. An administrator uses the MMC interface or Web interface to access Active Roles.
2. The administrator submits an operation request, such as a query or data change to
the Administration Service.
3. On receipt of the operation request, the Administration Service checks whether the
administrator has sufficient permissions to perform the requested operation
(access check).
4. The Administration Service ensures that the requested operation does not violate the
corporate policies (policy enforcement).
5. The Administration Service performs all actions required by the corporate policies,
before committing the request (policy enforcement).
6. The Administration Service issues operating system function calls to perform the
requested operation on network data sources.
Presentation components
The presentation components include user interfaces to serve a variety of needs. The
user interfaces accept commands, display communication, and give results in a clear,
concise fashion.
Web Interface
Via the Web interface, intranet users with sufficient administrative rights can connect to
Active Roles to perform basic administrative tasks, such as modifying user data or adding
users to groups. The Web interface provides departmental and help-desk personnel with
the administrative capabilities they need.
Custom Interfaces
In addition to the MMC and Web interfaces, Active Roles enables the development of
custom interfaces that use the Active Roles ADSI Provider to access the features of Active
Roles. Administrators familiar with scripting and programming can create custom
interfaces to meet specific needs of the network administration.
Reporting
Active Roles offers comprehensive reporting to monitor administrative actions, corporate
policy compliance, and the state of directory objects. The Active Roles reporting solution
includes Data Collector and Report Pack.
Report Pack provides report definitions for creating reports based on the data gathered by
Data Collector. Active Roles comes with an extensive suite of report definitions that cover
all administrative actions available in this product.
Report Pack is deployed on Microsoft SQL Server Reporting Services (SSRS). You can
use the tools included with SSRS to view, save, print, publish, and schedule Active
Roles reports.
Data Collector is used to gather data required for reporting. The Data Collector Wizard
allows you to configure and schedule data collection jobs.
Once configured, Data Collector retrieves data from various sources, accessing them via
the Active Roles Administration Service, and stores the data in a SQL Server database.
Data Collector also provides a means for managing the gathered data, including the ability
to export or delete obsolete data.
Service components
At the core of Active Roles lies the Administration Service. It features advanced delegation
capabilities and ensures the reliable enforcement of administrative policies that keep data
current and accurate. The Administration Service acts as a bridge between the presentation
components and network data sources. In large networks, multiple Administration Services
can be deployed to improve performance and ensure fault tolerance.
Configuration database
The Administration Service uses the configuration database to store configuration data. The
configuration data includes definitions of objects specific to Active Roles, assignments of
administrative roles and policies, and procedures used to enforce policies. The
configuration database is only used to store Active Roles configuration data. It does not
store copies of the objects that reside in the managed data sources, nor is it used as an
object data cache.
Active Roles uses Microsoft SQL Server to host the configuration database. The replication
capabilities of SQL Server facilitate implementation of multiple equivalent configuration
databases used by different Administration Services.
Active Roles now supports database configuration on on-premises databases and Azure
SQL databases. Azure SQL database variants, such as, Azure SQL database, Azure SQL
Managed instance, and Azure SQL Elastic pool can be configured in Active Roles.
NOTE: Active Roles supports database configuration over an encrypted SQL Server
configuration. For more information see KB article
https://support.oneidentity.com/kb/262157/is-sql-server-encryption-supported-
Audit trail
The data processing component provides a complete audit trail by creating records in the
event log on the computer running the Administration Service. The log shows all actions
performed and by whom, including actions that were not permitted. The log entries display
the success or failure of each action, as well as which attributes were changed.
l Active Directory domains & forests Provides the directory object information in
Active Directory domains.
l Microsoft Exchange servers Provides information about mailboxes maintained
by Microsoft Exchange.
l Azure AD Provides information about users in Azure Active Directory.
l Microsoft Office 365 Provides information about users in Office 365.
Active Roles is designed to help with the use and management of these data sources.
Directory administrators can define and enforce business rules and policies to ensure that
the data in the managed data sources remains current and accurate.
With Active Roles, you can utilize the information stores from a wide variety of data
sources in your network, such as human resource data or inventories. You can use scripting
to integrate these important data sources. This reduces the duplication of work, reduces
data pollution, and allows for the validation of information that is often stored in more than
one database.
Active Roles makes it possible for a custom script to receive control upon a request to
perform an administrative operation, such as object creation, modification, or deletion.
Custom scripts can be invoked through Policy Objects, which Active Roles uses to enforce
corporate rules. For example, you could implement a Policy Object containing a custom
script that will receive control whenever Active Roles is requested to create a user object in
a certain OU.
The Policy Object could be configured so that Active Roles continues with the user creation
only after a certain piece of the script (the pre-create event handler) has successfully
executed. In this way, the script prohibits the creation of user objects whose properties
violate corporate rules. It prevents the population of object properties with values taken
from external data sources, and generates default property values in accordance with the
corporate rules.
The Policy Object may also be configured to pass control to another piece of the script (the
post-create event handler) immediately after a user object is successfully created. This
enables the script to trigger additional actions, required by corporate rules, after the object
has been created. For example, it can update external data stores, provision the user with
access to resources, and notify that the user object has been created.
l Access Templates
l Policy Objects
l Managed Units
These elements enable any user or group in Active Directory to be given limited and
effectively controlled administrative privileges.
Users and groups that are given administrative permissions in Active Roles are referred to
as Trustees. Trustees can be assigned to Managed Units or directory objects and
containers.
Policy Objects define the behavior of the system when directory objects are created,
modified, moved, or deleted. Policies are enforced regardless of a Trustee’s permissions.
A Policy Object includes stored policy procedures and specifications of events that activate
each procedure. Based on policy requirements, a policy procedure could:
A Policy Object associates specific events with its policy procedures, which can be built-in
procedures or custom scripts. This provides an easy way to implement sophisticated
validation criteria, synchronize different data sources, and combine a number of
administrative tasks into a single batch.
l Represents a collection of objects (one object can belong to more than one
Managed Unit)
l Supports rule-based specifications for its members (a Managed Unit only holds
objects that satisfy the membership rules specified for the Managed Unit)
l Can hold directory objects that reside in different organizational units, domains,
forests, and other Managed Units
Active Roles ensures that permission and policy settings specified for a Managed Unit are
inherited by all objects that belong to that Managed Unit. When a directory container
belongs to a Managed Unit, all child objects in that container inherit the permission and
l Using the Active Roles ADSI Provider, the existing proprietary applications or custom
Web-based interfaces could communicate with Active Roles to perform
administration and provisioning tasks on user accounts and groups.
l Using policy scripts, custom corporate rules could be enforced to regulate data
format and administrative workflows.
l Using policy scripts, the data stored in an HR database or ERP system could be
incorporated into the administration and provision of users.
Active Roles makes it possible for user-developed scripts and applications to manipulate
directory objects through the Administration Service (persistent objects), and to take
control of objects that are in the process of being created, modified, or deleted with Active
Roles (in-process objects).
Having programmatic access to persistent and in-process objects makes it easy for
developers to customize Active Roles in these two areas:
Once configured, the custom script-based policies are enforced without user interaction.
Active Roles automatically handles the execution of policy scripts that supplement
particular administrative operations and trigger additional administrative actions. For
example, policy scripts can be used to:
Dynamic groups
Active Roles helps streamline group maintenance by defining group membership
dynamically, with rule-based membership criteria. Dynamic group membership eliminates
the need to manually update membership lists for security and distribution groups.
To automate the maintenance of group membership lists, Active Roles provides:
l Include Explicitly Ensures that specified objects are included in the membership
list regardless of any changes made to the objects.
Workflows
Active Roles provides a rich workflow system for directory data management automation
and integration. Based on Microsoft’s Windows Workflow Foundation technology, this
workflow system enables IT to define, automate and enforce management rules quickly
and easily. Workflows extend the capabilities of Active Roles by delivering a framework
that enables combining versatile management rules such as provisioning and de-
provisioning of identity information in the directory, enforcement of policy rules on
changes to identity data, routing data changes for approval, e-mail notifications of
particular events and conditions, as well as the ability to implement custom actions using
script technologies such as Microsoft Windows PowerShell or VBScript.
Suppose you need to provision user accounts based on data from external systems. The
data is retrieved and then conveyed to the directory by using feed services that work in
conjunction with Active Roles. A workflow can be created to coordinate the operations in
account provisioning. For example, different rules can be applied for creating or updating
accounts held in different containers.
Workflows may also include approval rules that require certain changes to be authorized
by designated persons (approvers). When designing an approval workflow, the
administrator specifies which kind of operation causes the workflow to start, and adds
approval rules to the workflow. The approval rules determine who is authorized to
approve the operation, the required sequence of approvals, and who needs to be notified
of approval tasks or decisions.
By delivering e-mail notifications, workflows extend the reach of management process
automation throughout the enterprise. Notification activities in a workflow let people be
notified via e-mail about events, conditions or tasks awaiting their attention. For example,
approval rules can notify of change requests pending approval, or separate notification
rules can be applied to inform about data changes in the directory. Notification messages
By registering Active Directory domains with Active Roles, you form a collection of
managed domains that represents an Active Roles security and administrative boundary in
Active Directory. The collection need not be restricted to domains from a single forest.
Rather, you can register domains from any forest in your environment, configuring the
Active Roles Administration Service to use the appropriate administrative credentials on a
per-domain basis.
To centralize management of directory data across the managed domains, Active Roles
retrieves and consolidates the Active Directory schema definitions from all forests to which
those domains belong. The consolidated schema description is stored in the Active Roles
configuration database, and contains information about the object classes and the
attributes of the object classes that can be stored in the managed domains. By using the
consolidated schema, Active Roles extends the scope of its administrative operations to
cover the entire collection of managed domains regardless of forest boundaries.
Active Roles allows administrators to organize directory objects (such as users, groups,
computers, and so on) into a relational structure made up of rule-based administrative
Distributing administration
Suppose a large company wants to introduce distributed administration, but wants to avoid
the large costs involved in training their Help Desk and business units to correctly use
complex administrative tools. In this situation, there is the need for an easy-to-use tool, to
control what actions the Help Desk and business units can perform, and to enforce
company policies and procedures.
Solution
Active Roles allows organizations to create Managed Units and to designate Trustees over
those Managed Units. Trustees only see the objects to which they have access. They are
given only the rights they need for the objects within these Managed Units, down to
individual properties. Unlike native Active Directory organizational units, Managed Units
provide virtual boundaries that span across domains and forests, offering more flexible
delegation capabilities.
Delegating limited control over Managed Units efficiently eliminates the need for high-level
administrative user ID's, allowing organizations to securely distribute administrative
authority to local management. To improve network security and make distributed
administration safe, Active Roles defines and enforces customizable administrative polices.
Active Roles allows organizations to safely implement administration for business units. If
a company has a number of different business units, each of equal importance and each
located in a separate office, a single network administrator could support all of the sites.
Active Roles allows the company to create a single Managed Unit, giving an administrator
control over users and resources that span multiple domains.
Solution
With Active Roles, a suitable property set can be established to include data from network
data sources other than Active Directory. For instance, a property set might be configured
to retrieve a user’s personal information from an HR database. When the user account is
created, this data could then be passed to Active Directory and Microsoft Exchange. If
these property values change, an update could be made to both Active Directory and to
the HR system.
Active Roles also provides the ability to set up administrative policies that reduce the
amount of input required to carry out a task. For example, when a user moves to a
different location, Active Roles could automatically update the user's profile in the HR
system, based only on the change to the user's site code or department in Active Directory.
Additionally, when a user joins or leaves the company, their access card could
automatically be enabled or disabled.
Solution
Active Roles provides a unified management structure that can extend across multiple
Active Directory forests. The Active Roles user interface provides a single interface for the
management of Active Directory domains that belong to different forests. It offers
administrative views (Managed Units) that can hold objects from multiple forests, thereby
enabling the unified application of corporate rules and roles across forest boundaries.
Solution
In Active Roles, Managed Units allow organizations to achieve acceptable security
boundaries without setting up extra domains or organizational units. This significantly
simplifies the Active Directory structure and reduces security risks.
By using Managed Units for delegation purposes, Active Roles creates a rule-based overlay
of Active Directory for administration. This simplifies the process of choosing an Active
Directory structure. Different administrative tasks often require different OU structures.
For instance, an OU structure designed purely for the delegation of administration differs
from an OU structure shaped purely for Group Policy. It becomes much easier to design an
Active Directory structure by using Managed Units to handle delegation issues.
Solution
Active Roles offers a reliable solution to simplify and safely distribute user account
management. It addresses the need to create and manage a large number of user
accounts, and to ensure that each user can only access their own resources. By
implementing an administrative model based on business rules, Active Roles allows
domain-level administrators to easily establish and maintain very tight security, while
facilitating the provisioning of new users with the appropriate access to IT resources
Active Roles has the ability to safely delegate routine user-management tasks to
designated persons. By incorporating policy enforcement and role-based security, Active
Roles allows the organization to restrict the administrative actions according to the
corporate policies defined by the high-level administrators. In addition, it allows the
administrators to change the policies, ensuring that new policy settings are automatically
propagated and enforced without additional development.
Active Roles makes it simpler for the organization to delegate authority to administrative
and support groups, while enhancing the overall security. The Web Interface can serve as
an administrative tool that allows the assistant administrators to manage users, groups,
and mailboxes. Active Roles ensures that all actions performed by a Web Interface user
are in compliance with the corporate security policies.
Getting Started
NOTE:
To delegate the control to users in the User Interfaces container you must
apply the User Interface Access Template
l To access Active Roles Help, click Help on the Action menu or Help Topics on
the Help menu.
l To view description of a dialog box, click the Help button in the dialog box
or press F1.
You can print a single Help topic or all Help topics under a selected heading.
1. On the menu bar, click Help and then click Help Topics.
2. In the left pane of the Help viewer, expand the heading that contains the topic you
want to print, and then click the topic.
3. On the Help viewer toolbar, click Options, click Print, and then click OK.
1. On the menu bar, click Help, and then click Help Topics.
2. In the left pane of the Help viewer, click the heading that contains the topics you
want to print.
3. On the Help viewer toolbar, click Options, and then click Print.
4. In the Print Topics dialog box, click Print the selected heading and all
subtopics, and then click OK.
Console tree
The left pane of the Active Roles console contains the console tree.
The console tree root is labeled Active Roles. The name of the Administration Service
is shown in square brackets. If you have Advanced view mode selected for Active
Roles console display (View | Mode), the following folders are shown under the
console tree root:
l Configuration Contains all Active Roles proprietary objects held in containers with
appropriate names.
The console display mode determines which folders are displayed in the console tree. For
more information, see View mode later in this document.
Details pane
When you select an item in the console tree, the details pane changes accordingly. To
perform administrative tasks, click items in the details pane and use commands on the
Action menu. The Action menu commands also appear on the shortcut menu that you can
access by right-clicking items in the console tree or details pane.
By default, the objects listed in the details pane are sorted in ascending order by
object name. You can change the sorting order by clicking a column heading. You can
add and remove columns in the details pane using the Choose Columns command on
the View menu.
In the Active Roles console you can apply filters to the details pane in order to search for
directory objects. To configure a filter, select a domain and then click Filter Options on
the View menu. It is also possible to find an object in the details pane by typing a few
characters. This will select the first item in the sorted column that matches what you typed.
Advanced pane
The advanced pane appears at the bottom of the details pane if you check Advanced
Details Pane on the View menu. You can use the advanced pane to administer an object
selected in the console tree or details pane: right-click an existing entry in the list to
administer it, or right-click a blank area of the advanced pane to add a new entry.
The advanced pane is composed of a number of tabbed pages. The selected object
determines which tabs are displayed. All possible tabs in the advanced pane and their
descriptions are as follows:
l Active Roles Security Lists Active Roles Access Templates applied to the
selected object.
l Links Lists the objects to which the selected Access Template is applied.
l Active Roles Policy Lists Active Roles Policy Objects applied to the selected
object.
NOTE: The console displays the Active Roles Security, Active Roles Policy, and
Native Security tabs for a selected object only if your user account has the Read
Control right to the selected object.
Depending on the tab you have selected in the advanced pane, the toolbar displays the
following buttons to help you work with the entries on the tab.
Display Access Templates that affect the selected object owing to inheritance.
Display Policy Objects that affect the selected object owing to inheritance.
Native Security
Table 3: Native Security
Set the group as the primary group for the selected object.
Key features
Key features of the Web Interface include the following.
Customized interfaces (Web Interface sites) can be installed and configured for
administrators, help desk operators, and end users. Administrators use an interface that
supports a wide range of tasks, whereas help desk operators use a tailored, dedicated
interface to expedite the resolution of trouble tickets. Network end users have access to an
interface for self-administration. Multiple interfaces with different configurations can be
deployed so that there is no need to re-configure the Web Interface for particular roles.
The Web Interface dynamically adapts to the specific roles assigned to the users. A user
can see only the commands, directory objects, and object properties to which the user’s
role provides administrative access. Objects and commands beyond the scope of the user
are removed from the Web Interface, streamlining the execution of administrative tasks.
Point-and-click customization
The Web Interface supports all administrative tasks on Active Directory objects such as
users, groups, and computers, and on computer resources such as services, printers,
network file shares, and local users and groups. With its advanced customization
capabilities, the Web Interface serves as a complete administrative tool, providing suitable
interfaces for any administrative role.
Provided they have the necessary Active Roles permissions, end users can view or change
their personal data. Due to the reliable enforcement of business rules based directory
entry, the Web Interface makes these tasks safe and secure. With User Profile Editor,
Active Roles enables IT to manage, but not necessarily participate, in these time-
consuming tasks, resulting in decreased help desk calls and IS administration time.
The Web Interface allows users to select their preferred language. Changing the language
affects all menus, commands, and forms associated with the Web Interface, as well as tool
tips and help.
Each Web site configuration template provides an individual set of commands installed by
default. The Web site can be customized by adding or removing commands, and by
modifying Web pages (forms) associated with commands.
Active Roles provides a comprehensive set of Access Templates that are available out of
the box for delegating computer management tasks. By applying Access Templates of the
“Computer Resources” category to a computer account, the rights of delegated
administrators can be specified on the corresponding computer’s resources.
Delegated administrators should use the Web Interface rather than the Active Roles
console (MMC Interface) to manage computer resources. Although the console provides
certain tools for computer resources management, the console user needs the native
administrator rights on the computer in order to use those tools. The rights specified
through “Computer Resources” Access Templates have no effect in the tools provided by
the console for computer resources management.
Controlled objects
The Active Roles console provides for visual indication of the objects to which Access
Templates or Policy Objects are linked. The console marks those objects by adding an
arrow icon at the lower-left corner of the icon that represents the object in the console tree
or details pane. As a result, the icon looks similar to the following image: .
To enable this feature, click Mark Controlled Objects on the View menu, and select
check boxes to specify the category of object to be marked.
The directory administrator defines which users or groups are designated as Trustees,
which roles and permissions are assigned to Trustees, and what objects are included in
Managed Units.
Managed Units are used to determine the directory objects that a Trustee can administer.
As a Trustee, you can administer Managed Units for which you have assigned permissions.
Managed Units containing objects you are authorized to administer are displayed under
Managed Units in the console tree.
When you select a Managed Unit in the console tree, the details pane displays a list of
objects included in that Managed Unit. To administer objects, select them from the list and
use the commands on the Action menu.
If a Managed Unit includes a container, such as an Organizational Unit, the container
is displayed under the Managed Unit in the console tree. When you select a container
in the console tree, the details pane lists all child objects and sub-containers held in
that container.
Setting up filter
The Active Roles console makes it possible to apply a filter to display only the objects that
match the filtering criteria. To apply a filter, select an Active Directory object or container
and click the Filter button on the toolbar: . This displays the Filter Options dialog box
where you can set up a filter. After you set up a filter, the filtering criteria immediately
take effect on all lists of Active Directory objects in the Active Roles console.
NOTE: In the advanced details pane, you can add or remove columns from a list in
the upper sub-pane or in the lower sub-pane: click the list in the sub-pane you want
to modify, and then follow the steps above.
Filter options help you search for particular objects in the details pane. You can view all
objects or only objects of selected type, configure the number of items that can be
displayed for each folder, or create custom filters using object attributes and LDAP queries.
Finding objects
In the Active Roles console you can search for objects of different types using the Find
window. To access the Find window, right-click a container and click Find.
From the In list, you can select the container or Managed Unit you want to search. The list
includes the container that you selected before activating the Find window. To add
containers to the list, click Browse. From the Find list, you can select the type of the
objects you want to find.
When you select an object type, the Find window changes accordingly. For example,
Users, Contacts, and Groups searches for users, contacts, or groups using criteria such
You can search using partial search criteria. For example, B in the Name box will
return all objects whose name begins with the letter B, such as Backup Operators.
l You can use the Advanced tab for more powerful search options. For details,
see Steps for using advanced search options.
l The found users, groups, or contacts are displayed at the bottom of the Find
window.
l You can manage found users, groups, or contacts directly from the list in the
Find window: right-click a list item, and then use commands on the shortcut
menu to perform management tasks.
You can search using partial search criteria. For example, B in the Name box will
return all computers whose name begins with the letter B.
NOTE:
l You can use the Advanced tab for more powerful search options. For details,
see Steps for using advanced search options.
l The found computers are displayed at the bottom of the Find window
l You can manage found computer objects directly from the list in the Find
window: right-click a list item, and then use commands on the shortcut menu to
perform management tasks.
NOTE:
l You can use the Advanced tab for more powerful search options. For details,
see Steps for using advanced search options.
l The found Organizational Units are displayed at the bottom of the Find window.
l You can manage found Organizational Units directly from the list in the Find
window: right-click a list item, and then use commands on the shortcut menu to
perform management tasks.
LDAP syntax
Search filters enable you to define search criteria and provide more efficient and effective
searches. The search filters are represented by Unicode strings.
The Active Roles console supports the standard LDAP search filters as defined in RFC2254.
The following table lists some examples of standard LDAP search filters.
Operators
The following table lists some frequently used search filter operators.
= Equal to
~= Approximately equal to
& AND
| OR
! NOT
Wildcards
You can also add wildcards and conditions to a search filter. The following examples show
substrings that can be used to search the directory.
Get all entries:
(objectClass=*)
Get entries containing “bob” somewhere in the common name:
(cn=*bob*)
Get entries with a common name greater than or equal to “bob”:
(cn>='bob')
Get all users with an e-mail attribute:
(&(objectClass=user)(mail=*))
Special characters
If any of the following special characters must appear in the search filter as literals, they
must be replaced by the listed escape sequence.
* \2a
( \28
) \29
\ \5c
NUL \00
In addition, arbitrary binary data may be represented using the escape sequence syntax
by encoding each byte of binary data with the backslash (\) followed by two hexadecimal
digits. For example, the four-byte value 0x00000004 is encoded as \00\00\00\04 in a
filter string.
To examine the policy in detail, you can click the label. For example, if you click User
logon name (pre-Windows 2000), the Active Roles console presents you with a window
similar to the following figure.
You can click arrows in the lower-left corner to display description of other policies
enforced on the given property.
The Message section is displayed whenever the specified property value violates the
policy. The following figure illustrates the situation where a value has not been supplied for
a mandatory property.
When you click Go To in this window, the console moves the pointer to the field that needs
to be corrected. You can type or select an appropriate value to correct your input.
Batch operations are available in the list of objects on the following Web Interface pages:
l Search This page lists the search results when you perform a search.
l View Contents This page displays the objects held in a given organizational unit,
Managed Unit, or container.
To perform a batch operation, select the check box next to the name of each of the desired
objects in the list, and then click a command in the top area of the Command pane. This
executes the command on each object within your selection.
NOTE: Active Roles administrators can customize Web Interface by adding and
removing commands, and modifying pages associated with commands. For more
information, see “Customizing the Web Interface” in the Active Roles Web Interface
Administration Guide.
5. From the Attribute List tab, select the required attribute on which you want to
perform the bulk operation, and click the + symbol.
6. On the Update object attributes dialog box that is displayed, in the New Value
field, enter a value for the attribute, and click OK.
The selected attribute with the updated value is displayed in the Select
attribute table.
8. Click Finish, to complete the bulk operation on the selected attributes for the
multiple users.
NOTE:
l The bulk operation does not complete and an error is displayed if no attributes
are selected or if no changes are made to the values of the attributes selected
for the bulk operation.
l The bulk operation cannot be performed beyond 1500 users. However, you can
configure the limit to increase the number of users. For more information on
configuring the limit, see https://support.oneidentity.com/active-
roles/kb/200735/not-able-to-query-or-update-groups-with-more-than-1500-
members.
5. On the General tab dialog box, click Generate to generate a new password for the
selected users.
6. Under Account options, select the check box corresponding to the required rule to
be applied for change of password, and then click Save.
The password reset gets completed and the changes can be viewed on the selected
user's Change History tab.
Along with these permissions, the service account (or the override account, if specified),
must have these permissions on the Aelita sub-container of the System container in every
managed domain. If an account has the domain administrator rights, then it has the
required permissions by default. Otherwise, provide the permissions to the account by
using the ADSI Edit console. The following instructions apply to the ADSI Edit console that
ships with Windows Server 2016, Windows Server 2019, or Windows Server 2022.
1. Open the ADSI Edit console and connect to the Domain naming context.
2. In the console tree, expand the System container, right-click the Aelita subcontainer,
and then click Properties. If the Aelita container does not exist, create it: right-click
System, point to New, click Object, and then, in the Create Object wizard, select the
Container class and specify Aelita for the cn value.
3. On the Security tab in the Properties dialog box, click Advanced.
4. On the Permissions tab in the Advanced Security Settings dialog box, click Add.
5. On the Permission Entry page, configure the permission entry:
l Click the Select a principal link, and select the desired account.
l Verify that the Type box indicates Allow.
l Verify that the Applies onto box indicates This object and all descendant
objects.
l In the Permissions area, select the Create container objects and Create
serviceConnectionPoint objects check boxes.
l Click OK
6. Click OK to close the Advanced Security Settings dialog box, and then click OK to
close the Properties dialog box.
NOTE: Only users with administrative access to the Administration Service (members
of the Active Roles Admin account) are permitted to create Managed Units. For more
information about the Active Roles Admin account, refer to the Active Roles Quick
Start Guide.
The first page of the wizard looks as shown in the following figure.
On this page, type in the name and description for the Managed Unit. The Active Roles
console will display the name and description in the list of Managed Units in the
details pane.
Click Next. The second page of the wizard looks as shown in the following figure.
This page lets you specify which objects you want to be included in the Managed Unit.
Membership of a Managed Unit is determined by membership rules. Members of a Managed
Unit are those objects that match criteria defined in the membership rules. A list of
members is dynamically updateable: When you create a new object that satisfies the
criteria in the membership rule, the object is included into the MU automatically. When an
object no longer matches the criteria specified in the membership rule (for example, when
the object is renamed or moved), it is automatically removed from the membership list.
A membership rule may take a form of search query, object static inclusion and exclusion
rule, and group member’s inclusion and exclusion rule.
To specify a membership rule, click Add. This displays the Membership Rule Type dialog
box, shown in the following figure.
In this dialog box, select a type of membership rule. In the lower box, you can read a
description that explains which membership rules can be created using the selected type.
The Include Explicitly rule type allows you to select objects to be statically added to the
Managed Unit. If you select a container, such as an OU, the entire sub-tree rooted in that
container is included in the Managed Unit. Active Roles ensures that the selected objects
are included in the Managed Unit regardless of whether they are renamed, moved to
another container, or have any properties changed.
The Exclude Explicitly rule type allows you to select objects to be statically excluded
from the Managed Unit. Active Roles ensures that the selected objects are excluded from
the membership list regardless of whether they are renamed, moved, or have any
properties changed. Because the Exclude Explicitly rule takes precedence over all other
types of rule, the selected objects will be excluded from the Managed Unit even if another
rule states that they should be included. Note that this rule type can be used to exclude
only those objects that match one of the inclusion rules.
1. Exclude Explicitly
2. Include Explicitly
3. Exclude by Query
4. Exclude Group Members
5. Include by Query
6. Include Group Members
According to this, for example, the Exclude Explicitly rule takes precedence over all
other types of rule. Therefore, the selected objects will be excluded from the Managed Unit
even if another rule states that they should be included (for example, the objects that
match the criteria defined in the Include by Query membership rule, or belong to a group
selected in the Include Group Members rule).
NOTE: An exclusion rule type can be used to exclude only those objects that match
one of the inclusion rules. For example, if a given Organizational Unit is included in a
Managed Unit by an inclusion rule, all child objects held in the Organizational Unit are
also included in that Managed Unit. However, only the entire Organizational Unit
rather than its individual child objects can be excluded from the Managed Unit.
Once you have added membership rules, click Next. This displays a page shown in the
figure that follows.
You can use this page to specify the permission and policy settings for the Managed Unit.
When finished, click Next, and then click Finish. For information about permission
settings, see Applying Access Templates later in this document. For information about
policy settings, see Applying Policy Objects later in this document.
1. In the console tree, under Active Roles | Configuration | Managed Units, locate
and select the folder in which you want to add the Managed Unit.
You can create a new folder as follows: Right-click Managed Units and select New |
Managed Unit Container. Similarly, you can create a sub-folder in a folder: Right-
click the folder and select New | Managed Unit Container
2. Right-click the folder, and select New | Managed Unit to start the New Object -
Managed Unit wizard.
3. On the first page of the wizard, do the following, and then click Next:
a. In the Name box, type a name for the Managed Unit.
b. In the Description box, type any optional information about the
Managed Unit.
4. On the second page of the wizard, click Add. This displays the Membership Rule
Type dialog box.
5. Select the type of the membership rule to create, and then click OK:
l To create a rule that statically adds members to the Managed Unit, click
Include Explicitly.
6. Complete the Create Membership Rule or Select Objects dialog box by following
the instructions that are given later in this topic.
7. Repeat steps 4 through 6 until you have added all of the desired membership rules.
Then, click Next.
8. On the next page of the wizard, do the following, and then click Next:
l Click Security to specify permission settings on the Managed Unit.
l Click Policy to specify policy settings on the Managed Unit.
For information on how to specify security and policy settings, see Steps for
modifying permission settings on a Managed Unit and Steps for modifying policy
settings on a Managed Unit later in this document.
1. From the Find list, select the class of objects you want the membership rule to
include or exclude from the Managed Unit. For example, when you select Users,
the membership rule includes or excludes the users that match the conditions
you specify.
2. From the In list, select the domain or folder that holds the objects you want the
membership rule to include or exclude from the Managed Unit. For example, when
you select an Organizational Unit, the membership rule includes or excludes only the
objects that reside in that Organizational Unit.
To add folders to the In list, click Browse and select folders in the Browse for
Container dialog box.
3. Define the criteria of the membership rule. For example, to include or exclude the
objects that have the letter T at the beginning of the name, type T in Name. You can
1. In the Look in list, click the domain or folder that holds the objects you want to
select. To add a folder to the list, click Browse.
2. Do one of the following, and then click OK:
3. In the list of objects, double-click the object you want to add.
OR
4. In the lower box, type the entire name, or a part of the name, of the object you want
to add. Then, click Check Names.
NOTE:
l You can also use the Properties command to add or remove membership
rules from an existing Managed Unit: Right-click the Managed Unit, click
Properties, and then click the Membership Rules tab in the Properties
dialog box.
l For information on how to display a list of members of a Managed Unit, see
Displaying members of a Managed Unit later in this document.
l The Create Membership Rule dialog box is similar to the Find dialog box
you use to search for objects in the directory. Once you have specified your
search criteria, the Add Rule function saves them as a membership rule. For
more information on how to specify search criteria, see Finding objects earlier
in this document.
l The Find list includes the Custom Search entry. Selecting that entry displays
the Custom Search tab, enabling you to build custom membership rules using
advanced options, as well as to build advanced membership rules using the
Lightweight Directory Access Protocol (LDAP), which is the primary access
protocol for Active Directory. For more information about using advanced
search options, seeSteps for building a custom search and Steps for using
advanced search options earlier in this document.
NOTE:
l The Membership Rules tab displays a list of membership rules for a given
Managed Unit. You can add, remove, or modify membership rules as needed.
For more information, see Adding or removing members from a Managed
Unitlater in this document.
l On the Administration tab, you can use Policy to add and remove Policy
Object links that determine which administrative policies are enforced on the
Managed Unit. For more information, see Steps for modifying policy settings on
a Managed Unit later in this document.
l On the Administration tab, you can use Security to add and remove Access
Template links that define Trustees and their permissions for the Managed Unit.
For more information, see Steps for modifying permission settings on a
Managed Unit later in this document.
l The Active Roles Security dialog box displays a list of Access Template links,
with each list item indicating a Trustee and the Access Template that is used to
specify the Trustee’s permissions.
l By default, the list of Access Template links displays all the links that
determine the permission settings on the Managed Unit, regardless of whether
a link was created on the Managed Unit itself or on a container that holds the
Managed Unit. To change the display of the list, clear the Show inherited
check box.
l An Access Template link can be removed from a Managed Unit if the link was
created on that Managed Unit. Only the links that meet this condition are
displayed when you clear the Show inherited check box, so you can remove
them by clicking Remove.
l You can also use the advanced details pane to view, add, remove, or modify
Access Template links on a Managed Unit: Select the Managed Unit, and then,
on the Active Roles Security tab in the advanced details pane, right-click an
Access Template link or a blank area, and use commands on the shortcut
menu. For information about the advanced details pane, see Advanced pane
earlier in this document.
You can add a column to display by double-clicking its name in the Available columns
list. To add columns to the Available Columns list, click Choose Columns. In the
Choose Columns dialog box, you can select columns and, if necessary, modify the names
to be displayed in column headings.
Double-clicking a column name in Available Columns adds the name to the Displayed
Columns list. Click OK. The new column is displayed in the details pane after refreshing
the view. Right-click Managed Units in the console tree and click Refresh; then, select
the Managed Unit in the console tree: the new column appears in the details pane.
NOTE:
The Membership Rules tab displays a list of membership rules, with each entry indicating
the name, type, and scope of the rule.
To add a membership rule, click Add. This displays the Membership Rule Type dialog
box, discussed earlier in this chapter (see Creating a Managed Unit).
To modify a membership rule, select it from the Membership rules list, and click
View/Edit. Only query-based rules can be modified in that way. If you select a rule of a
different type, the View/Edit button is unavailable.
To delete a membership rule, select it from the Membership rules list, and click
Remove.
As you add, modify or delete membership rules, the list of Managed Unit members
automatically changes.
5. Complete the Create Membership Rule or Select Objects dialog box by following
the instructions that are given later in this topic.
6. Click OK to close the Properties dialog box.
1. From the Find list, select the class of objects you want the membership rule to
include or exclude from the Managed Unit. For example, when you select Users,
the membership rule includes or excludes the users that match the conditions
you specify.
2. From the In list, select the domain or container that holds the objects you want the
membership rule to include or exclude from the Managed Unit. To add folders to the
In list, click Browse.
3. Define the criteria of the membership rule. For example, to include or exclude the
objects that have the letter T at the beginning of the name, type T in Name. You can
use an asterisk (*) to represent any string of characters.
4. Optionally, click Preview Rule to view a list of objects that match the criteria you
have defined.
5. Click Add Rule.
1. In the Look in list, click the domain or folder that holds the objects you want to
select. To add a folder to the list, click Browse.
2. Do one of the following, and then click OK:
3. In the list of objects, double-click the object you want to add.
4. In the lower box, type the entire name, or a part of the name, of the object you want
to add. Then, click Check Names.
NOTE:
l The only way to populate Managed Units is by adding membership rules. The
members of a Managed Unit are the objects that match the criteria defined by
the membership rules.
l To display members of a Managed Unit, click the Managed Unit in the console
tree. The members of the Managed Unit are displayed in the details pane.
l The Create Membership Rule dialog box is similar to the Find dialog box
you use to search for objects in the directory. Once you have specified your
search criteria, Active Roles allows you to save them as a membership rule,
forcing the membership list to include the objects that match the search
criteria. For instructions on how to specify search criteria in the Create
Membership Rule dialog box, see Finding objects earlier in this document.
l The Find list includes the Custom Search entry. Selecting that entry displays
the Custom Search tab, enabling you to build custom membership rules using
advanced options, as well as to build advanced membership rules using the
Lightweight Directory Access Protocol (LDAP), which is the primary access
protocol for Active Directory. For more information about using advanced
search options, see Steps for building a custom search and Steps for using
advanced search options earlier in this document.
For general instructions on how to configure membership rules, see Steps for adding
membership rules to a Managed Unit earlier in this document.
6. Click Next.
7. On the next page of the wizard, do the following:
l Click Security to specify permission settings on the Managed Unit.
l Click Policy to specify policy settings on the Managed Unit.
For instructions on how to specify security and policy settings, see Steps for
modifying permission settings on a Managed Unit and Steps for modifying policy
settings on a Managed Unit earlier in this document.
NOTE: The membership rules, permission settings, and policy settings are copied
from the original Managed Unit and can be modified in the Copy Object - Managed
Unit wizard.
NOTE: When you export and then import a Managed Unit, only membership rules are
transferred along with other properties of the Managed Unit. The permission and
policy settings of the Managed Unit are not exported. You need to reconfigure them
manually after you import the Managed Unit.
To export Managed Units, select them, right-click the selection, and select All Tasks |
Export. In the Export Objects dialog box, specify the file where you want to save the
data, and click Save.
To import Managed Units, right-click the container where you want to place the Managed
Units, and then click Import. In the Import Directory Objects dialog box, select the file
to which the Managed Units were exported, and click Open.
NOTE: When you delete a Managed Unit, its members are not deleted. However, the
permission settings and the policy settings that were specified via the Managed Unit
are no longer in effect after the Managed Unit has been deleted.
As a result, the members of the group gain control of user accounts that belong to
the Sales MU. The scope of control is defined by the permissions in the Sales
Access Template.
The following sections elaborate on the steps to implement this scenario.
1. In the Active Roles Configuration Center main window, click Web Interface.
The Web Interface page displays all the Active Roles Web Interface sites that are
deployed on the web server running the Active Roles Web Interface.
2. To configure the federated authentication settings, click Authentication.
The Site authentication settings page is displayed.
NOTE: By default, the Default Windows Authentication settings is configured.
3. To configure the federated authentication settings, click Federated.
4. In Identity provider configuration, from the Identity provider drop-down,
select the security Identity provider. The available options are Azure,
ADFS, and Custom.
NOTE: For the Custom identity provider option, Active Roles supports the WS-
Federation standard. However, One Identity Support cannot assist with custom
WS-Federation-related configurations of third-party identity providers. For
assistance in configuring Active Roles with a custom WS-Federation-related
configuration of a third-party identity provider, contact One Identity Profes-
sional Services.
5. From Options, select the required additional options.
6. In Federated metadata URL, enter a valid URL.
NOTE: A federation metadata document is an XML document that conforms to the
WS-Federation 1.2 schema. It exposes all data required for an STS implementer.
7. To test the connection, click Test metadata.
If the connection is successful, a message is displayed.
8. To view the metadata URL, click Yes. To proceed further with the settings, click No.
9. From Options, if you select the Token encryption, you must enter the certificate
thumbprint manually. If the Token encryption option is not selected, this field is
not available.
NOTE: You must enter the certificate thumbprint manually. Copying the key and
pasting in the field is not supported.
10. In the Realm field, enter the Realm URL of the requesting realm.
After you click Modify, the ARSWeb is modified and is ready for federated authentication.
Azure
l Metadata url:
https://login.microsoftonline.com/<AzureTenantID>/FederationMetadata/2007-
06/FederationMetadata.xml
l realm: spn:<Azure Application ID>
l replyurl: https://<Web Server Name>/arwebadmin/
Role-based Administration
Security synchronization
Permissions defined in an Access Template can be propagated to Active Directory,
with all changes made to them in Active Roles being automatically synchronized to
Active Directory.
By enabling synchronization from Active Roles security to Active Directory native security,
Active Roles provides the facility to specify Active Directory security settings with Access
Templates. Access Templates simplify and enhance the management of permissions in
l Active Directory
l Azure
l AD LDS (ADAM)
l Computer Resources
l Configuration
l Exchange
l Starling
l User Interfaces
l User Self-management
Active Directory
You can use Access Templates from the Active Directory container to delegate
Active Directory data management tasks and Active Directory service management
tasks, such as:
This container includes templates that allow for a wide range of administrative tasks and
templates that limit access to selected properties of Active Directory objects.
Azure
You can use Access Templates from the Azure container to delegate management tasks on
containers performing Azure related operations, such as:
l AD LDS Container
l AD LDS Group
l AD LDS Organizational Unit (OU)
l AD LDS User
For instructions on how to view or set permissions on AD LDS objects, refer to the AD LDS
Data Management chapter, later in this document.
Computer Resources
You can use Access Templates from the Computer Resources container to delegate
management tasks on resources that reside on local computers, such as:
This container includes templates for specific administrative roles, such as Printer Operator
or Service Operator, and templates that specify access to selected properties of computer
local resources.
Configuration
You can use Access Templates from the Configuration container to delegate management
tasks on Active Roles configuration, such as:
Starling
You can use Access Templates from the Starling container to delegate required permission
to perform Starling operations.
User Interfaces
You can use Access Template from the User Interfaces container to delegate the control
to users in the User Interfaces container under Server Configuration, to log in to the Active
Roles MMC interface.
NOTE: Active Roles does not allow predefined Access Templates to be modified or
deleted. If you need to make changes to a predefined Access Template, you should
create a copy of the Access Template and then modify the copy as needed. To create
a copy, right-click the Access Template and click Copy.
To apply an Access Template by using the Delegation of Control wizard, right-click the
Access Template, click Links, and then, in the Links window, click Add to start the wizard.
For more information, see Applying Access Templates later in this chapter.
NOTE: Active Roles does not allow predefined Access Templates to be modified or
deleted. If you need to make changes to a predefined Access Template, you should
create a copy of the Access Template and then modify the copy as needed. To create
a copy, right-click the Access Template and click Copy.
You can apply an Access Template by using the Delegation of Control wizard: right-click the
Access Template, click Links, and then, in the Links window, click Add to start the wizard.
For more information, see Applying Access Templates later in this chapter.
The first page of the wizard looks as shown in the following figure.
On this page, type a name and description for the new Access Template. The Active Roles
console will display the name and description in the list of Access Templates in the
details pane.
Click Next. The second page of the wizard looks as shown in the following figure.
This page prompts you to configure a list of Access Template permission entries. You can
use the Add, Remove and View/Edit buttons to add, remove and modify an entry,
respectively. Clicking Add starts the Add Permission Entries wizard that helps you
configure permission entries. The wizard is discussed later in this section.
After you have completed the list of permission entries, click Next, and then click Finish.
The new Access Template is created.
On this page, you select the types of objects to which you want the permission to allow (or
deny) access. You can select one of these options:
l All object classes With this option, the permission controls access to objects
of any type.
l Only the following classes With this option, the permission controls access to
objects of the type you choose by selecting the appropriate check boxes in the list.
NOTE: By default, all object classes are not displayed in the list. To display all object
classes, select the Show all possible classes check box.
After you have selected the object classes you want, click Next. The next page of the
wizard looks as shown in the following figure.
On this page, you select a permission category, and specify whether you want the
permission to allow or deny certain administrative actions.
You can select one of the following permission categories:
If you want the permission to deny certain administrative actions, you select the Deny
permission check box.
The following sections elaborate on the permission categories you can select in the Add
Permission Entries wizard.
After you click Next, the wizard displays a page where you can select the properties to
which you want the permission to allow (or deny) access. The page is similar to the
following figure.
l All properties With this option, the permission controls access to all properties.
l The following properties With this option, the permission controls access to the
properties you select from the list by selecting the appropriate check boxes.
NOTE: By default, all object properties are not displayed in the list. To display all
object properties, select the Show all possible properties check box.
After you have selected the properties you want, click Finish to complete the Add
Permission Entries wizard. The permission is added to the Access Template.
l Create child objects Controls the creation of child objects of the classes you select
in the next step.
l Delete child objects Controls the deletion of child objects of the classes you select
in the next step.
l Move objects into this container Controls the relocation of object of the
classes you select in the next step. This operation assumes moving objects from
one container to another without permission to delete existing objects or create
new objects.
After you click Next, the wizard displays the page where you can select the types of
objects on which you want the permission to allow (or deny) the operations you selected in
the previous step. The page is similar to the following figure.
On that page, you select the types of objects for which you want the permission to allow (or
deny) the creation, deletion, or move operation. You can select one of these options:
NOTE: By default, all object classes are not displayed in the list. To display all object
classes, select the Show all possible classes check box.
After you have selected the object classes, click Finish to complete the Add Permission
Entries wizard. The permission is added to the Access Template.
1. In the console tree, under Configuration | Access Templates, locate and select
the folder in which you want to add the Access Template.
You can create a new folder as follows: Right-click Access Templates and select
New | Access Template Container. Similarly, you can create a sub-folder in a
folder: Right-click the folder and select New | Access Template Container.
2. Right-click the folder, and select New | Access Template to start the New Object -
Access Template wizard.
3. On the first page of the wizard, do the following, and then click Next:
a. In the Name box, type a name for the Access Template.
b. In the Description box, type any optional information about the Access
Template.
4. On the second page of the wizard, configure the list of permission entries, and then
click Next.
The instructions on how to add, modify, or delete permission entries are given later
in this topic.
5. Click Finish to create the Access Template that includes the permission entries you
have specified.
1. On the page that displays a list of permission entries included in the Access
Template, click Add to start the Add Permission Entries wizard.
2. On the first page of the wizard, select one of these options:
l All object classes The rights defined by this permission entry apply to
objects of any class.
l Only the following classes The rights defined by this permission entry
apply to objects of specific classes. Select object classes from the list. If the
1. On the page that displays a list of permission entries included in the Access
Template, select the permission entry you want to view or modify, and click
View/Edit to display the Modify Permission Entry dialog box.
2. Examine the Apply Onto tab in the Modify Permission Entry dialog box. On this
tab, you can view or modify the same settings as on the first page of the Add
Permission Entries wizard (see Step 2 in the procedure above).
3. Examine the Permissions tab in the Modify Permission Entry dialog box. This
tab provides the same options as the second page of the Add Permission Entries
wizard (see Step 4 in the procedure above). The options are read-only, so you cannot
change the option that was selected upon creation of the permission entry. However,
you can manage the configuration of the option:
l Object access Select generic permissions or extended rights you want to add
to the Access Template.
l Object property access Select or clear these check boxes: Read
properties, Write properties.
l Creation/Deletion of child objects Select or clear these check
boxes: Create child objects, Delete child objects, Move objects
into this container.
4. If you want the Access Template to deny the rights defined by this permission entry,
select the Deny permission check box on the Permissions tab. Otherwise, leave
the check box cleared.
5. If Object property access is selected on the Permissions tab, use the Object
Properties tab in the Modify Permission Entry dialog box to view or modify the
settings that determine which properties are controlled by this permission entry (see
Step 7 in the procedure above).
6. If Creation/Deletion of child objects is selected on the Permissions tab, use
the Object Classes tab in the Modify Permission Entry dialog box to view or
modify the settings that determine which classes of child object are controlled by this
permission entry.
1. On the page that displays a list of permission entries included in the Access
Template, select the permission entry you want to delete, and click Remove.
2. Click Yes to confirm the deletion.
1. Designate a trustee (also known as security principal) who will receive the
permissions granted by the AT. Trustees are typically users or groups.
2. Assign permissions to that trustee for the AD object in the scope of the AT. Such AD
objects are called securable objects.
As a result, the trustee receives access to the securable object according to the
permissions defined in the AT.
You can apply ATs to an AD object with the Delegation of Control Wizard. To start the
wizard, navigate to either:
l The AT you want to apply on an AD object. When you start the Delegation of
Control Wizard this way, you can select the securable AD objects for which
the access is granted, and the trustees who receive the access to those
securable objects.
For the steps of this procedure, see Applying an Access Template directly.
l The securable AD object (container, Managed Unit or leaf object) whose access and
administration permissions you want to configure. When you start the Delegation
of Control Wizard this way, you can select the trustees who receive the access to
the securable object and the ATs defining the permissions of the trustees to the
securable object.
For the steps of this procedure, see Applying Access Templates on a securable
object.
l The trustee for which you want to assign permissions. When you start the
Delegation of Control Wizard this way, you can select the securable AD object to
which the trustee will receive access and the ATs defining the permissions of the
trustee to the securable object.
For the steps of this procedure, see Applying Access Templates on a user or group.
NOTE: ATs support propagating their permission settings for the child objects of the
securable objects too.
1. In the Active Roles Console, in the Active Directory (AD) tree, navigate to
Configuration > Access Templates.
2. Right-click the AT you want to assign to a trustee (or trustees), then click Links.
TIP: For more information on the ATs, see the Description of the AT or the Access
Templates Available out of the Box document.
3. In the Links dialog, to start the Delegation of Control Wizard, click Add. Click
Next on the Welcome page, when it appears.
4. In the Objects step, specify the securable objects that you want to add to the
scope of the AT.
l To specify a new securable object or objects, click Add. Then, in the Select
Objects window, locate and select the securable objects you want to add to
the scope of the AT, and click Add.
Once you finalized the list, to close the Select Objects window and apply your
selection, click OK.
TIP: If no securable objects appear in the window, use the Click here to
display objects link.
l To remove securable objects added earlier to the scope of the AT, select them
in the Objects step, and click Remove.
To continue, click Next.
5. In the Users or Groups step, specify the trustee(s) for which you want to grant the
permissions of the AT.
l To specify a new trustee or new trustees, click Add. Then, in the Select
Objects window, locate and select the users or groups you want to add to the
scope of the AT, and click Add. Once you finalized the list, to close the Select
Objects window and apply your selection, click OK.
TIP: If no users or groups appear in the window, use the Click here to
display objects link.
l To remove existing trustees added earlier to the scope of the AT, select them
in the Users or Groups step, and click Remove.
To continue, click Next.
6. In the Inheritance Options step, specify with the Apply permissions onto
setting the scope of securable objects to which Active Roles applies the
permissions of the AT:
l This directory object: Trustees receive the AT permissions only to the
selected securable object.
l Child objects of this directory object: Trustees receive the AT
permissions to the children of the securable object. To limit the granted
permissions only to the direct children of the object, select Immediate child
objects only as well.
Selecting this setting will modify the authorization information of the AD objects with
the permission settings defined in Active Roles, providing more flexibility for users
and groups that use native AD management tools besides Active Roles.
IMPORTANT: Selecting this setting will result in trustees keeping their configured
permissions outside of the Active Roles environment, with the potential risk of
bypassing policies configured and enforced with Active Roles.
Therefore, select this option only if the selected trustees have the required security
clearance and/or meet all security guidelines in effect within your organization.
TIP: Once Propagate permissions to Active Directory is selected and
configured, you can change this setting at any time with the Active Roles
Security > Sync to AD setting, or with the Advanced Details > Sync to AD
setting. For more information, see Synchronizing permissions to Active Directory.
To continue, click Next.
8. To complete the wizard, click Finish.
1. In the Active Roles Console, in the Active Directory (AD) tree, navigate to the
securable object for which you want to configure an AT.
2. To open the Delegation of Control Wizard from the securable object:
l If the securable object is a container or Managed Unit, right-click the object,
then click Delegate Control > Add.
l If the securable object is a leaf object, right-click the object and click
Properties. Then, in the Properties window, click Administration >
Security > Add.
When the Welcome screen of the Delegation of Control Wizard appears, click Next.
3. In the Users or Groups step, specify the trustee(s) for which you want to grant the
permissions of the AT.
l To specify a new trustee or new trustees, click Add. Then, in the Select
Objects window, locate and select the users or groups you want to add to the
scope of the AT, and click Add. Once you finalized the list, to close the Select
Objects window and apply your selection, click OK.
TIP: If no users or groups appear in the window, use the Click here to
display objects link.
l To remove existing trustees added earlier to the scope of the AT, select them
in the Users or Groups step, and click Remove.
To continue, click Next.
4. In the Access Templates step, specify the ATs you want to assign to the selected
trustees for the configured securable object. Expand the containers of the ATs, then
select the AT or ATs you want to apply.
Selecting this setting will modify the authorization information of the AD objects with
the permission settings defined in Active Roles, providing more flexibility for users
and groups that use native AD management tools besides Active Roles.
IMPORTANT: Selecting this setting will result in trustees keeping their configured
permissions outside of the Active Roles environment, with the potential risk of
bypassing policies configured and enforced with Active Roles.
Therefore, select this option only if the selected trustees have the required security
clearance and/or meet all security guidelines in effect within your organization.
TIP: Once Propagate permissions to Active Directory is selected and
configured, you can change this setting at any time with the Active Roles
Security > Sync to AD setting, or with the Advanced Details > Sync to AD
setting. For more information, see Synchronizing permissions to Active Directory.
To continue, click Next.
7. To complete the wizard, click Finish.
1. In the Active Roles Console, in the Active Directory (AD) tree, navigate to the trustee
AD object (such as a user or group) for which you want to configure access with an
AT or ATs to a securable object.
2. To open the Delegation of Control Wizard, right-click the trustee, then click
Delegated Rights > Add.
When the Welcome screen appears, click Next.
3. In the Objects step, specify the securable objects that you want to add to the
scope of the AT.
l To specify a new securable object or objects, click Add. Then, in the Select
Objects window, locate and select the securable objects you want to add to
the scope of the AT, and click Add.
Once you finalized the list, to close the Select Objects window and apply your
selection, click OK.
TIP: If no securable objects appear in the window, use the Click here to
display objects link.
l To remove securable objects added earlier to the scope of the AT, select them
in the Objects step, and click Remove.
To continue, click Next.
4. In the Access Templates step, specify the ATs you want to assign to the selected
trustees for the configured securable object. Expand the containers of the ATs, then
select the AT or ATs you want to apply.
Selecting this setting will modify the authorization information of the AD objects with
the permission settings defined in Active Roles, providing more flexibility for users
and groups that use native AD management tools besides Active Roles.
IMPORTANT: Selecting this setting will result in trustees keeping their configured
permissions outside of the Active Roles environment, with the potential risk of
bypassing policies configured and enforced with Active Roles.
Therefore, select this option only if the selected trustees have the required security
clearance and/or meet all security guidelines in effect within your organization.
TIP: Once Propagate permissions to Active Directory is selected and
configured, you can change this setting at any time with the Active Roles
Security > Sync to AD setting, or with the Advanced Details > Sync to AD
setting. For more information, see Synchronizing permissions to Active Directory.
To continue, click Next.
7. To complete the wizard, click Finish.
Another way to see a list of Access Template links is to use the advanced details pane.
Ensure that Advanced Details Pane is checked on the View menu, and then select one of
the following:
l Access Template
The Links tab lists the links in which the selected Access Template occurs.
The Active Roles console displays a list of Access Template links in a separate window.
Thus, the Active Roles Security window is displayed when you start from a securable
object (for example, by clicking a Managed Unit or Organizational Unite and then clicking
Delegate Control).
Each entry in the list of the Access Template links includes the following information:
l Trustee The link defines administrative rights of this security principal (group
or user).
l Access Template The Access Template that determines the Trustee’s rights.
l Directory Object The link defines the Trustee’s rights to this securable object.
l Sync to Native Security Indicates whether the permissions are synced to
Active Directory.
l Disabled Indicates whether the link is disabled. If a link is disabled, the
permissions defined by that link have no effect.
The Active Roles Security window (as well as the Active Roles Security tab in the
advanced details pane) lists the links of these categories:
l Direct links Access Template is applied (linked) directly to the securable object
you have selected.
l Inherited links Access Template is applied (linked) to a container in the hierarchy
of containers above the securable object you have selected, or to a Managed Unit to
which the securable object belongs.
The links inherited from parent objects can be filtered out of the list:
l When using the Active Roles Security window, clear the Show inherited
check box.
l When using the Active Roles Security tab, right-click the list and then click Show
Inherited to uncheck the menu item.
A window or tab that displays Access Template links allows you to manage links. In a
window, you can use buttons beneath the list. In a tab, you can right-click a list entry or a
blank area, and then use commands on the shortcut menu. For example, the following
buttons appear in the Active Roles Security window:
l Add Starts the Delegation of Control wizard to create apply Access Templates.
l Remove Deletes the selected entries from the list of links. Available for
direct links only.
l View/Edit Displays the dialog box to view or modify link properties such as
permissions inheritance and propagation options.
l Sync to AD Toggles the permissions propagation option of the links selected
in the list.
l Disable Disables or enables the link. If a link is disabled, the permissions specified
by the link takes no effect.
TIP: In the Active Roles Security dialog box, the Remove button is available on
direct links only. When you need to delete links, it is advisable to manage them using
the Links command on the Access Template.
1. Open the Active Roles Security dialog box for the object:
l Right-click the object, and click Delegate Control.
OR
l Right-click the object, and click Properties. Then, on the Administration tab
in the Properties dialog box, click Security.
2. In the Active Roles Security dialog box, do the following:
l To create a new link, click Add and follow the steps in the Delegation of Control
wizard to specify permission settings on the object by using an Access
Template (for instructions, see Steps for applying an Access Template earlier
in this document).
l To delete a link, select it from the list and click Remove.
l To view or modify the inheritance and synchronization settings for a link, select
the link and click View/Edit.
l To change the synchronization setting for a link, select the link and click Sync
to AD or Desync to AD.
l To remove or restore the effect of a link, select the link and click Disable or
Enable, respectively.
NOTE:
l By default, the Active Roles Security dialog box for an object lists all the
links that determine the permission settings on the object, regardless of
whether a link was created on the object itself or on a container or Managed
Unit that holds the object. To change the display of the list, clear the Show
inherited check box.
l In the Active Roles Security dialog box, only direct links can be removed,
that is, a link can be removed if the link was created on the object itself (not
inherited from a container or Managed Unit). Only direct links are displayed
when you clear the Show inherited check box, so you can delete them by
clicking Remove.
l In the Active Roles Security dialog box, the Remove button is available only
on direct links. When you need to delete links, it is advisable to manage this by
using the Links command on the Access Template or by using the Delegated
Rights command on the Trustee (user or group). Alternatively, you can delete
a link by using View/Edit: Select the link and click View/Edit; then, click
Properties next to the Access Template box; then, on the Administration
tab, click Links, and, finally, delete the link from the Links dialog box.
l In the Active Roles Security dialog box, the Sync to AD button is available
only on direct links. When you need to change synchronization status of a link,
it is advisable to manage this by using the Links command on the Access
Template or by using the Delegated Rights command on the Trustee (user or
group). Alternatively, you can change the synchronization status of a link by
using View/Edit: Select the link and click View/Edit; then, on the Synchron-
ization tab, select or clear Propagate permissions to Active Directory.
l Clicking View/Edit displays the Properties dialog box for the selected link.
This dialog box can be considered as a focal point for administration of all
elements of the link. Thus, from the Properties dialog box, you can access the
properties of the directory object, Access Template and Trustee that are
covered by the link, view or modify the settings found on the Inheritance
Options and Permissions Propagation pages in the Delegation of Control
wizard, and enable or disable the link.
l You can also manage Access Template links on the Links or Active Roles
Security tab in the advanced details pane, which allows you to perform the
same tasks as the Links or Active Roles Security dialog box, respectively.
Right-click a link or a blank area on the tab, and use command on the shortcut
menu. The Links tab is displayed when you select an Access Template.
Otherwise, the Active Roles Security tab is displayed. To display the
advanced details pane, check Advanced Details Pane on the View menu
(see Advanced pane earlier in this document).
l When applying Access Templates, you can select the Propagate permissions to
Active Directory check box in the Delegation of Control wizard.
l When managing Access Template links, you can use the Sync to AD button in a
window that displays a list of links or use the Sync to AD command on a tab that
displays a list of links in the advanced details pane.
TIP: In the Active Roles Security dialog box, the Sync to AD button is only
available on direct links. When you need to synchronize links, it is advisable to
manage them using the Links command on the Access Template.
You can also accomplish this task using the advanced details pane as follows:
You can use the Sync to AD command to stop synchronization: right-click the links you
want to no longer be synchronized, and click Desync to AD.
As an example, you can use the following instructions to set the permissions propagation
option on the permission settings that are defined by applying a certain Access Template to
an Organizational Unit:
The Permissions tab lists permission entries defined in the Access Template. Each entry
in the list includes the following information:
To add a new permission, click Add and complete the Add Permission Entries wizard, as
described in Add Permission Entries wizard earlier in this chapter.
To delete permissions, select them from the Access Template permission entries list,
and click Remove.
To modify a permission, select it from the Access Template permission entries list,
and click View/Edit. This displays the Modify Permission Entry dialog box, similar to
the following figure.
You can use the tabs in that dialog box to modify the permission as needed. The tabs are
similar to the pages in the Add Permission Entries wizard, discussed in Add Permission
Entries wizard earlier in this chapter.
1. In the console tree, under Configuration | Access Templates, locate and select
the folder that contains the Access Template you want to modify.
2. In the details pane, right-click the Access Template, and click Properties.
3. On the Permissions tab, click Add, and then use the Add Permission Entries wizard
to configure a permission entry.
For detailed instructions on how to add a permission entry to an Access Template,
see Steps for creating an Access Template earlier in this document.
1. In the console tree, under Configuration | Access Templates, locate and select
the folder that contains the Access Template you want to modify.
2. In the details pane, right-click the Access Template, and click Properties.
3. On the Permissions tab, select the permission entry you want to modify, click
View/Edit, and then use the tabs in the Modify Permission Entry dialog box to
make changes to the permission entry.
l The Permissions tab in the Properties dialog box lists the permission entries
that are configured in the Access Template. You can use the Permissions tab
to add, modify, or delete permission entries from the Access Template.
l The options on the Permissions tab in the Modify Permission Entry dialog
box are read-only. If you need to choose a different option for the permission
entry, you should delete the permission entry and then add a new permission
entry with the option you need. For instructions, see Steps for adding permis-
sions to an Access TemplateSteps for adding permissions to an Access
Template.
l Once an Access Template is applied within Active Roles to determine permis-
sion settings in the directory, any changes to the list of permission entries in
the Access Template causes the permission settings in the directory to change
accordingly.
l Active Roles includes a suite of pre-defined Access Templates. The permission
entries in a pre-defined Access Template cannot be modified. If you need to
modify a permission entry in a pre-defined Access Template, create a copy of
that Access Template, and then make changes to the copy. For instructions, see
Steps for copying an Access Template.
1. In the console tree, under Configuration | Access Templates, locate and select
the folder that contains the Access Template you want to modify.
2. In the details pane, right-click the Access Template, and click Properties.
3. On the Permissions tab, select the permission entry you want to delete, click
Remove, and then click Yes to confirm the deletion.
NOTE:
l The Permissions tab lists the permission entries that are configured in the
Access Template. You can use the Permissions tab to add, modify, or delete
permission entries from the Access Template.
l Once an Access Template is applied within Active Roles to determine permis-
sion settings in the directory, any changes to the list of permission entries in
the Access Template causes the permission settings in the directory to change
accordingly.
l Active Roles includes a suite of pre-defined Access Templates. Permission
entries cannot be deleted from a pre-defined Access Template. If you need to
modify the list of permission entries found in a pre-defined Access Template,
create a copy of that Access Template, and then make changes to the copy. For
instructions, see Steps for copying an Access Template.
You can manage the list on the Nesting tab by using the button beneath the list:
l Add Click this button to select Access Templates you want to nest into the Access
Template being administered.
From the Nesting tab, you can also access the following information:
l All Permissions Displays all permissions in the Access Template, including those
that come from the nested Access Templates.
l Nested In Displays a list of Access Templates in which the Access Template is
included due to nesting.
1. In the console tree, under Configuration | Access Templates, locate and select
the folder that contains the Access Template you want to configure.
2. In the details pane, right-click the Access Template, and click Properties.
3. On the Nesting tab, click Add, and then select the Access Template you want to be
included in the Access Template you are configuring.
1. In the console tree, under Configuration | Access Templates, locate and select
the folder that contains the Access Template you want to copy.
2. In the details pane, right-click the Access Template, and then click Copy to start the
Copy Object - Access Template wizard.
3. On the first page of the wizard, do the following, and then click Next:
a. In the Name box, type a name for the new Access Template.
b. In the Description box, type any optional information about the new
Access Template.
4. On the second page of the wizard, you can add, modify, and delete the permission
entries that were copied from the original Access Template. Do the following, and
then click Next:
l To add a permission entry to the new Access Template, click Add.
l To modify a permission entry for the new Access Template, select the entry
from the list, and click View/Edit.
l To delete a permission entry from the new Access Template, select the entry
from the list, and click Remove.
For detailed instructions on how to add or modify a permission entry, see Steps for
creating an Access Template earlier in this document.
NOTE: When you export and then import an Access Template, only permission entries
are transferred. The Access Template links are not exported, and therefore you need
to reconfigure them manually after you have imported the Access Template.
To export Access Templates, select them, right-click the selection, and select All Tasks |
Export. In the Export Objects dialog box, specify the file where you want to save the
data, and click Save.
To import Access Templates, right-click the container where you want to place the Access
Templates, and then click Import. In the Import Directory Objects dialog box, select
the file to which the Access Templates were exported, and click Open.
1. In the console tree, under Configuration | Access Templates, locate and select
the folder that contains the Access Template you want to rename.
2. In the details pane, right-click the Access Template, and click Rename.
3. Type a new name, and then press ENTER.
NOTE:
l Delete the links to the Access Template (see Managing Access Template links earlier
in this chapter).
l Remove the Access Template from all Access Templates in which the Access
Template is nested (see Nesting Access Templates earlier in this chapter).
Then, you can perform the deletion: right-click the Access Template and click Delete.
1. In the console tree, under Configuration | Access Templates, locate and select
the folder that contains the Access Template you want to delete.
2. In the details pane, right-click the Access Template, and then click Delete.
NOTE:
Examples of use
This section discusses scenarios to help you understand and use the role-based
administration features available in Active Roles. The following scenarios are covered:
1. Prepare a Help Desk Access Template that defines the Help Desk operator
permissions on user accounts.
2. Create and populate a Help Desk group to hold the Help Desk operators.
3. Apply the Help Desk Access Template to the Sales organizational unit, selecting the
Help Desk group as a Trustee.
As a result of these steps, each member of the Help Desk group is authorized to perform
management tasks on user accounts in the Sales organizational unit. The Help Desk
Access Template determines the scope of the tasks.
The following sections elaborate on each of these steps.
Click Next and accept the default settings in the wizard. On the completion page, click
Finish. Finally, click OK to close the Active Roles Security window.
For more information about the Delegation of Control wizard, see Applying Access
Templates earlier in this chapter.
Next, on the Access Templates page of the wizard, expand Access Templates | User
Self-management and select the check box next to Self - Account Management.
Click Next and accept the default settings in the wizard. On the completion page, click
Finish. Finally, click OK to close the Active Roles Security window.
For more information about the Delegation of Control wizard, see Applying Access
Templates earlier in this chapter.
Deployment considerations
Active Roles utilizes role-based delegation for assigning of administrative permissions. The
benefits of this model are that a role can be created once and delegated to multiple groups
of users that fit that role. If a change is needed, an update to the role will take effect for
everyone. These roles are referred to as “Access Templates.”
When doing delegation with Active Roles, you should remember a few rules:
l Active Roles administrators (Active Roles Admins) have full control throughout the
system and cannot be denied access anywhere within Active Roles. Everyone else
starts with nothing and permissions are added from the ground up.
l Permissions are cumulative, an explicit deny takes precedence over an explicit
allow. An explicit allow takes precedence over an inherited deny.
l You should keep your permission model as simple as possible. Sometimes this
means giving users all read/write permissions and denying the ability to write
a few fields.
There are three basic types of permissions that can be added to an Access Template:
l First is object access. With this permission type, you can set permissions that affect
an object as a whole. For instance: Move; List; Deprovision—all these are object
permissions.
l Second is object property access. These are used to control access to individual
attributes of an object, such as an object’s description, samAccountName, or
homeFolder. With this permission type, you can delegate granular rights over an
object. However just because the rights that can be delegated can be granular does
not mean that they should. For instance, if a helpdesk operator needs to be able to
manage a large set of user properties, it makes more sense to delegate read/write
for all properties as this is one permission entry instead of delegating read/write for
every individual attribute since each attribute would need to have its own
permission entry.
l Third is child object creation/deletion. With this permission type, you can set
permissions for creation or deletion of objects. For instance, to set up an Access
Template that allows creation of users, you should add a permission entry that
applies to the Organizational Unit and Container object classes, and contains a
“Create child objects” permission for the User object class.
The following sections give a sample set of the permissions necessary for certain
delegation scenarios:
l It allows access to the Domain and the Organizational Unit object classes. This is
because without access to the domain and the Organizational Units a delegated
administrator cannot see the users beneath. This access should always include the
List and Read All Properties permissions.
l It gives a delegated administrator the ability to create and delete user objects. This
permission applies to the Organizational Unit object class.
l It gives a delegated administrator the ability to see (List) users and modify any
property except Employee ID.
l It allows access to the Domain and the Organizational Unit object classes. This is
because without access to the domain and the Organizational Units a delegated
administrator cannot see the groups and users beneath. This access should always
include the List and Read All Properties permissions.
l It gives a delegated administrator the ability to create and delete group objects. This
permission applies to the Organizational Unit object class.
l It gives a delegated administrator the ability to see (List) groups, view any
property of a group (Read All Properties), and add or remove members from a
group (Write Members).
l It gives a delegated administrator the ability to see (List) users and view any
property of a user (Read All Properties). This is necessary for a delegated
administrator to be able to add users to a group.
With this delegation model, everyone can see the domain and change the domain controller
they are using for management. However, below that only the OU admin can see their
l Claim support must be enabled in your Active Directory domain. For details, review
the topic Enabling claim support, later in this document.
l For Access Rules to use device claims, Group Policy setting Computer
Configuration\ Policies\Administrative
In this example, the following SPNs must be added to the service account:
l aradminsvc/arsrv.domain.com
l aradminsvc/arsrv
You can add the SPNs to the service account by using the Setspn command line tool:
1. setspn -s aradminsvc/<FQDN> <ServiceAccountName>
l Domain controller running Windows Server 2016 or later, with claim support
enabled.
l Domain-joined client computer running Windows 8, Windows Server 2016 or a later
version of the Windows operating system, with claim support enabled (if you need to
use device claims).
Domain controller
The claims-based authorization mechanism requires extensions to Active Directory, such
as claim type objects intended to store the claim configuration data. By adding a Windows
Server domain controller, you extend the Active Directory schema to provide the object
classes and attributes required to support claims-based authorization.
Another requirement is the enhancements in the Kerberos Key Distribution Center (KDC)
and Security Accounts Manager (SAM) that enable domain controllers running Windows
Server to recognize claim types, retrieve claim information, and transport claims within
Kerberos tickets.
A Windows Server domain controller that supports claim issuance understands claim types
published in Active Directory. Claim types define the claim source attributes. When
servicing an authentication request, the domain controller reads the source attribute from
the claim type and retrieves the attribute data for the authenticating user. Then, the
retrieved attribute data is included in the Kerberos ticket and returned to the requestor.
Client computer
Domain-joined client computers running Windows 8 or Windows Server 2012 are required
for claims-based authorization when using device claims. A domain controller issues claims
in the Kerberos ticket in response to an authentication request created by a client
computer, so the computer needs to understand how to request claim information when
making authentication requests, and how to locate a claims-aware domain controller.
Computers running earlier versions of the Windows operating system don’t have such
knowledge, so they can’t request user or device claims upon user authentication. Although
applications and services that require claim information can request user claims on their
own, this is not the case with the device claims. If you need to use device claims, the user
must log on from a computer running Windows 8, Windows Server 2016, or a later version
of the Windows operating system. This requirement does not apply to authorization
scenarios that employ user claims only.
By default, from Windows 8 and Windows Server 2012 based computers do not
request user or device claims upon user authentication. You need to enable claim
support on client computers by using Group Policy. The Group Policy setting that
serves this purpose is Computer Configuration\Policies\ Administrative
Templates\System\Kerberos\Kerberos client support for claims, compound
authentication and Kerberos armoring. Enable this policy setting in a Group
Policy object applied to the Organizational Unit that holds the computer accounts of
client computers.
l Source Attribute: On this page you can select the Active Directory attribute from
which the claim value is obtained, specify the display name and description for the
claim type, and choose whether the claim type applies to user, computer, or both.
l Suggested Values: This page allows you to configure predetermined selectable
values from which you can choose when using the claim type in a conditional
expression for an access rule.
On these pages you can view or change the following configuration settings.
Therefore, when you create a claim type object, you may need to specify the appropriate
claim type ID by hand. The option Set ID to a semantically identical claim type in a
trusted forest serves this purpose, allowing you to type in an ID instead of having it
created automatically. If you choose to enter an ID by hand, ensure that your ID string
specifies a unique ID and conforms to the following format:
Description setting
You can use the description of the claim type object to specify a short comment about the
claim type. Comments typically include purpose, department usage, or business
justification.
l Value This value data will be used when evaluating conditional expressions that
include the suggested value you are configuring.
l Display name This is the name of the suggested value that appears in the list when
you configure a conditional expression.
1. Right-click the Claim Types container, and select New | Claim Type.
2. On the Source Attribute page, select the desired source attribute for claims
of this type.
3. Review the auto-generated display name and description, and change them if
needed.
4. Under Claims of this type can be issued for the following classes, select:
l The User check box to enable issuance of this claim type to users
l The Computers check box to enable issuance of this claim type to computers
5. Select the Set ID to a semantically identical claim type in a trusted forest
check box if the claim type must match an existing claim type in a different forest.
Type the claim identifier. Clear this check box to generate the claim identifier
automatically.
6. Select the Protect from accidental deletion check box to ensure an administrator
cannot accidentally delete the claim type. Clear the check box to remove accidental
deletion protection.
7. Click Next to proceed to the Suggested Values page.
8. Click the option you want for suggested values. Create suggested values as needed.
9. Click Finish.
1. Right-click the claim type you want to modify and then click Properties.
2. On the Source Attribute page, view or change the source attribute, the display
name, description, user or computer claim issuance options, and the option to
protect the claim type from accidental deletion.
3. Click the Suggested Values tab to view or change suggested values.
4. Click OK to save the modified claim type.
If you encounter a message stating that you don’t have permission to delete the claim
type, then modify the claim type and clear the Protect from accidental deletion
check box. If this check box is cleared, verify that you have sufficient rights to delete
claim type objects.
l Auto-generate the appropriate values for user and computer properties upon creation
of user and computer objects
l Prevent invalid values from being assigned to user and computer properties, by
applying validation rules or creating immutable lists of suggested values
Property generation and validation policies allow you to specify, and enforce,
conditions that the property values must meet, and determine default property values.
For further information, see Property Generation and Validation in the Active Roles
Administration Guide.
l AND group evaluates to TRUE if all conditions in the group are TRUE.
l OR group evaluates to TRUE if any condition in the group is TRUE.
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.
When you add a condition, the conditional expression editor first prompts you to specify
what you want the condition to evaluate. The following options are available:
Once you have specified what you want the condition to evaluate, you can choose a
comparison operator and specify a comparison value. The comparison operator determines
the operation of comparing the claim, group membership, or property with the comparison
value you specified, and causes the condition to evaluate to TRUE or FALSE depending on
the outcome of that operation.
The following comparison operators are available:
You can choose from the following options to specify a comparison value:
l Device claim The comparison value is the value of a certain computer claim. You
can select one of the existing computer claim types from the claim type list provided
by the condition builder.
l Target object property The comparison value is the value of a certain property of
the object to which the authorizing user requests access. You can select the desired
property from a list provided by the condition builder.
l User claim The comparison value is the value of a certain user claim. You can
select one of the existing user claim types from the claim type list provided by the
condition builder.
l Value Depending on what the condition is intended to evaluate, this option allows
you to specify a particular text string, integer, Boolean value (True or False), or a list
of groups. In case of a claim type that provides a list of suggested values, the
condition builder prompts you to select a value from the list.
l Right-click a container and then click Delegate Control. This displays a list of
all Access Template links applied to that container or inherited from a higher-
level container.
l Right-click a user or group and then click Delegated Rights. This displays a list of
all Access Template links applied to that user or group or inherited from another
security group.
l Right-click an Access Template and then click Links. This displays a list of all Access
Template links referring to that Access Template.
In the list, double-click a link to open the Properties dialog box. The Access Rule tab in
that dialog box includes the following items:
l Access Rule This field identifies the Access Rule that is currently applied to the
Access Template link. If no Access Rule is applied, this field is empty; otherwise, the
field displays the name of the Access Rule along with the path to the Access Rule
object in the Configuration/Access Rules container.
l Change Click this button to select the Access Rule you want to apply to the link.
l Properties Click this button to view or change the Access Rule properties, including
the Access Rule’s conditional expression.
l Clear Click this button if you want to remove the Access Rule from the Access
Template link.
l To see if a given link has an Access Rule applied, refer to the Access Rule field in
the list of Access Template links.
1. Right-click the Access Rules container, and select New | Access Rule.
2. On the General page, type a name and description for the new Access Rule.
3. Click Next to proceed to the Conditions page.
4. Configure a conditional expression and then click Finish.
1. Right-click the Access Rule you want to modify, and then click Properties.
2. On the General page, view or change the name and description of the Access Rule.
3. On the Conditions page, view or change the conditional expression.
l Click the name of the condition group and then click Insert condition.
OR
l Click the plus sign (+) next to the name of the condition group.
You can remove a condition, if needed, by clicking the Delete condition button labeled X
on the right side of the list item representing the condition in the condition builder.
l Click the name of the condition group, point to Insert condition group, and then
click an option to specify the logical operator:
l AND group The condition group evaluates to TRUE if all conditions in the
group are TRUE.
l OR group The condition group evaluates to TRUE if any condition in the
group is TRUE.
To configure a condition
1. Click Configure condition to evaluate, and then choose from the following
options to specify what you want the condition to evaluate:
l Click Device claim to evaluate a computer claim, or groups the computer
account is a member of. Then, in the claim type list, select the desired claim
type, or click Group if you want the condition to evaluate the group
membership of the computer account.
l Click Target object property to evaluate a certain property of the object to
which the authorizing user requests access. Then, in the property list, select
the desired property.
l Click User claim to evaluate a user claim, or groups the user account is a
member of. Then, in the claim type list, select the desired claim type, or
click Group if you want the condition to evaluate the group membership of
the user account.
2. Click in the middle field of the condition line to choose the comparison
operator you want.
3. Click Define value to compare to, and then choose from the following options to
specify the desired comparison value:
l Click Device claim to perform comparison with a computer claim. Then, in
the claim type list, select the desired claim type.
l Click Target object property to perform comparison with the value of a
certain property of the object to which the authorizing user requests access.
Then, in the property list, select the desired property.
l Click User claim to perform comparison with a user claim. Then, in the claim
type list, select the desired claim type.
l Click Value to perform comparison with a particular text string, integer,
Boolean value, or a list of groups. Then, supply the desired value. The value
you can supply depends upon the type of data the condition is intended to
evaluate. For example, when configuring a condition to evaluate group
memberships, then you have to supply a list of groups as a comparison value.
If the claim type you have selected to evaluate provides a list of suggested
values, then you can only select a comparison value from that list.
1. In a list of Access Template links, double-click the Access Template link to which you
want to apply the Access Rule.
You can select Access Template links from various lists provided be the Active Roles
console. Thus, you can use the Delegate Control command on a container object to
display a list of all Access Template links that determine the permission settings for
that container. The Links command on an Access Template displays all links of that
Access Template. The Active Roles Security tab in the advanced details pane lists
the Access Template links that determine the security settings for the object selected
in the Active Roles console.
2. In the Properties dialog box that appears, click the Access Rule tab.
3. Click the Change button, and then select the Access Rule you want to apply.
From the Access Rule tab, you can also perform the following tasks:
l Choose a different Access Rule for the selected Access Template link. Click the
Change button and choose the Access Rule you want.
l View or change the Access Rule applied to the selected Access Template link. Click
the Properties button and then go to the Conditions page to review or modify the
Access Rule’s conditional expression.
l Remove the Access Rule from the selected Access Template link. Click the Clear
button to remove the Access Rule.
Step 1. Prerequisites
In this section, we assume that you already have the following prerequisites:
l An Active Directory domain, with at least one domain controller running Windows
Server 2016 (or a later version of the Windows Server operating system).
l The Active Roles Administration Service and MMC Interface (console) of the latest
version installed on a member server in your Active Directory domain, with the
server running Windows Server 2016 (or a later version of the Windows Server
operating system).
l Your Active Directory domain is registered with Active Roles as a managed domain.
1. On a domain controller running Windows Server 2016 or later, open the Group Policy
Management console.
To open the console, press Windows logo key+R to open the Run dialog box, type
gpmc.msc, and click OK.
2. In the console tree, select the Domain Controllers OU under your domain.
3. In the details pane, right-click Default Domain Controllers Policy, and
then click Edit.
4. Perform the following steps in the Group Policy Management Editor console
that appears:
a. In the console tree, select Computer Configuration | Policies |
Administrative Templates | System | KDC.
b. In the details pane, double-click KDC support for claims, compound
authentication and Kerberos armoring.
c. In the KDC support for claims, compound authentication and Kerberos
armoring dialog box, click Enabled and select Supported from the Options
drop-down list. When finished, click OK to close the dialog box.
Configure Group Policy to enable the Active Roles Administration Service to retrieve claims
for clients by using Kerberos protocol transition:
1. On the server running the Active Roles Administration Service, open the Local Group
Policy Editor console.
To open the console, press Windows logo key+R to open the Run dialog box, type
gpedit.msc, and click OK.
Add the Service Principal Names (SPNs) of the Active Roles Administration Service to the
service account, to enable support for Kerberos authentication. Enter the following
commands at a command prompt, where <FQDN> stands for the fully qualified domain
name of the computer running the Administration Service; <name> stands for the name of
that computer; and <ServiceAccountName> stands for the name of the service account
(domain user account under which the Administration Service runs):
1. setspn -s aradminsvc/<FQDN> <ServiceAccountName>
For example, setspn -s aradminsvc/arsrv.domain.com domain\arsvcacct
2. setspn -s aradminsvc/<name> <ServiceAccountName>
For example, setspn -s aradminsvc/arsrv domain\arsvcacct
1. In the console tree, expand the Active Directory node, right-click the Claim
Types container, and select New | Claim Type.
2. On the Source Attribute page, scroll down the list of attributes, and click
Department.
3. Click Next and then click Finish.
1. In the console tree, expand the Configuration node, right-click the Access Rules
container, and select New | Access Rule.
2. On the General page, type Department Admins in the Name field, and
then click Next.
3. On the Conditions page, configure the conditional expression:
a. Click the AND group item, and then click Insert condition.
b. Click Configure condition to evaluate, and then click User claim.
c. On the Select Claim Type page that appears, click Department in the list of
claim types, and then click OK.
d. Verify that the comparison operator reads equals (this is the default setting).
e. Click Define value to compare to, and then click Target object property.
f. On the Select Target Object Property page that appears, select the
Department property, and then click OK.
4. Click Finish.
1. In the console tree, under the Active Directory node, right-click the name of your
domain, and then click Delegate Control.
2. On the Active Roles Security page that appears, click Add to start the Delegation
of Control wizard.
3. Follow the wizard pages:
a. On the Users or Groups page, click Add, and select the security group that
holds your delegated administrators. Click Next.
b. On the Access Templates page, expand the Active Directory node, and
select the OUs - Read All Properties and Users - Modify All Properties
check boxes. Click Next.
c. On the remaining pages, click Next to accept the default settings.
d. On the completion page, click Finish.
4. Click OK to close the Active Roles Security page. This will create the Access
Template links.
5. Right-click the name of your Active Directory domain and click Active Roles
Security to open the Active Roles Security page again.
6. On the Active Roles Security page, select the Users - Modify All Properties
Access Template link and then click View/Edit.
7. On the Access Rule tab in dialog box that appears, click the Change button, select
the Department Admins Access Rule, click OK to close the Select an Access
Rule page, and then click OK to close the dialog box.
8. Click OK to close the Active Roles Security page.
After you have completed these steps, Active Roles allows a delegated administrator to
make changes to only those user accounts that have the same department setting as the
delegated administrator’s account.
Each configured Policy Object contains one or more policies, defining either the behavior of
the Active Roles system, or the actions that Active Roles performs when certain directory
objects are created, modified, or deleted. This way, Active Roles can automate the
administrative workflow within the organization.
Policy Objects specify what AD objects to change, how, when, whenever they are created,
modified, or deleted. You can also configure policies to have Active Roles accept certain
data changes only if they conform to the formatting requirements specified by the policy.
This helps maintain control over the data stored in AD, and also keeps network objects in a
consistent state with each defined policy.
To offer additional flexibility for configuring policies, Active Roles Policy Objects can also
run customizable scripts before or after running a task.
A typical use case for an Active Roles policy is to automate the administration of a
new employee. When creating a user account for a new employee, you can create a
policy that makes Active Roles automatically perform all of the following steps:
With one or more properly configured Policy Objects, this entire procedure can be
performed either automatically, or with minimal manual administrator work.
Without policies, it would require time-consuming manual administrative actions
each time a new user is administered.
NOTE: Active Roles does not automatically check for changes in directory objects,
containers or groups specified for provisioning in the configured Policy Objects. This
l They reduce the workload and the time needed to perform common administration
duties by automating tasks, combining multiple tasks into a single workflow, or even
eliminating certain tasks altogether.
l They offer automated (or largely simplified) workflows for provisioning,
reprovisioning and deprovisioning directory objects in the organization.
l They improve network security.
l They ensure the consistency of the managed AD objects across the organization.
l They minimize administration errors.
To help you configure, organize and apply Policy Objects, they are in two main categories
in the Active Roles MMC console:
To help you get started with configuring policy-based administration in your organization,
Active Roles includes a set of built-in Policy Objects that offer provisioning and depro-
visioning rules to the most typical administrative use cases. To find the built-in Policy
Objects, navigate to the following node of the Active Roles MMC console:
Configuration > Policies > Administration > Builtin
Policy Description
User Logon Generates a user login name (pre-Windows 2000) for a newly-created
Name user account. Use this policy to:
Generation
l Add a uniqueness number to the generated logon name.
l Apply multiple rules to generate a logon name.
l Allow a logon name to be specified manually when creating a
new user.
Email Alias Sets up the appropriate email aliases for newly-created user accounts.
Generation Use this policy to generate aliases based on:
TIP: Use this policy to make each alias unique by adding a unique-
ness number to the alias.
For more information on how to set up this policy, see Steps for
configuring an E-mail Alias Generation policy
Group Ensures that directory objects (such as users) are assigned to (or
Membership unassigned from) the appropriate group(s) if the specified policy
AutoProvisioning criteria are met.
TIP: Use this policy to have Active Roles automatically add or
remove objects (such as users or guest users) to or from certain
groups if the configured group membership rules are met.
NOTE: Consider the following when configuring a Group Membership
AutoProvisioning Policy:
For more information on how to set up this policy, see Steps for
configuring a Group Membership AutoProvisioning policy.
Home Folder Performs provisioning actions to assign home folders and home shares
AutoProvisioning to user accounts. Use this policy to:
TIP: Use this policy to specify the server on which to create home
folders and shares, determine their naming conventions, and
configure their access rights as well.
For more information on how to set up this policy, see Steps for
configuring a Home Folder AutoProvisioning policy
Property Generates and validates directory data, such as user properties. Use
Generation and this policy to:
Validation
l Populate a directory with the default data that the organization
requires.
l Validate the existing data upon checking directory updates.
For more information on how to set up this policy, see Steps for
configuring a Property Generation and Validation policy.
Script Execution Runs the specified PowerShell (or other custom) script on request to
perform certain operations, such as creating a user account or
updating its properties. Use this policy to:
Office 365 and Enables configuring multiple assignments to Azure objects. Use this
Azure Tenant policy to:
Selection
l Validate the selected Azure tenants for Azure users, guest users,
O365 Groups and contacts.
l Select O365 Licenses for Azure users and guest users.
l Select O365 Roles for Azure users and guest users.
l Preprovision OneDrive for Azure users.
AutoProvisioning Automates user and group provisioning in the selected SaaS products
for SaaS using Starling Connect connectors.
products
You can specify the Starling Connect connectors to be validated for the
users or groups for which the policy is then applied. For more
information on how to set up this policy, see Create Provisioning policy
for Starling Connect
Policy Description
User Account When deprovisioning a user, this policy modifies the user account
Deprovisioning so that the user cannot log on. You can configure this policy to:
You can also select account properties and configure this policy to
update them when processing a deprovisioning request.
Group Membership When deprovisioning a user, this policy removes the user account
Removal from groups. You can configure this policy to remove the account
from security groups, mail-enabled groups, or both. In this policy,
both distribution groups and mail-enabled security groups are
collectively referred to as mail-enabled groups.
You can also select the groups from which you do not want this
policy to remove the user account, or configure the policy not to
remove the user account from any security groups or mail-
enabled groups.
User Account When deprovisioning a user, this policy moves the user account to
Relocation a different location. You can select the organizational unit to which
you want the policy to move the account. You can also configure
the policy not to move the user accounts upon user
deprovisioning.
Exchange Mailbox When deprovisioning a user, this policy makes changes needed to
Deprovisioning deprovision Microsoft Exchange resources for that user. You can
configure this policy to:
Home Folder When deprovisioning a user, this policy makes changes needed to
Deprovisioning prevent the user from accessing his or her home folder. You can
configure this policy to:
User Account When deprovisioning a user, this policy schedules the user
Permanent Deletion account for deletion. You can specify the number of days
(retention period) before the account is deleted. Another option is
to delete the deprovisioned user accounts immediately to Active
Directory Recycle Bin. It is also possible to configure this policy so
that the deprovisioned user accounts are not deleted
automatically.
Group Object When deprovisioning a group, this policy makes changes to the
Deprovisioning group object in Active Directory in order to prevent the use of the
group. You can configure this policy to:
Group Object When deprovisioning a group, this policy moves the group object
Relocation to a different container in Active Directory. You can select the
organizational unit to which you want the policy to move the group
object.
Group Object When deprovisioning a group, this policy schedules the group
Permanent Deletion object for deletion in Active Directory. You can specify the number
of days (retention period) before the group is deleted. Another
option is to delete the deprovisioned groups immediately to Active
Directory Recycle Bin. It is also possible to configure this policy so
that the deprovisioned groups are not deleted automatically.
Script Execution In the course of a deprovisioning operation, this policy runs the
script you specify. By using a script, you can implement custom
deprovisioning actions.
Office 365 Licenses When deprovisioning an Azure AD user, this policy automates
Retention retention of all or selected Office 365 licenses assigned to the
Azure AD user after the Azure AD user is deprovisioned success-
fully.
By choosing where to link a Policy Object, you determine the policy scope. For example, if
you link a Policy Object to a container, all objects in the container and its sub-containers
are normally subject to the Policy Object.
You can link different Policy Objects to different containers to establish container-specific
policies. You may need to do so if each organizational unit uses a dedicated Exchange
server to store mailboxes or file server to store home folders.
You can also link a Policy Object to a leaf object, such as a user object. As an example,
consider a policy that prohibits changes to group memberships when copying a certain
user object.
Policy Objects define the behavior of the system when directory objects are created,
modified, moved, or deleted within the policy scope. Policies are enforced regardless of
administrative rights of a user performing a management task. It is important to
understand that even those who have administrator rights to Active Roles itself are forced
to abide by administrative policies once they are enforced.
If you need to manage a large number of Policy Objects, it is advisable to create containers
that hold only specified Policy Objects for easy location: In the console tree, right-click
Administration and select New | Container. Then, you can use wizards to create Policy
Objects in that container: Right-click the container and select New | Provisioning Policy
or New | Deprovisioning Policy.
On the Welcome page of the wizard, click Next. Then, on the Name and Description
page, type a name and description for the new Policy Object. The Active Roles console will
display the name and description in the list of Policy Objects in the details pane.
Click Next to continue. This displays a page where you can select the policy you want to
configure. The list of policies depends on whether you are creating a Provisioning Policy
Object or Deprovisioning Policy Object. For instance, the list of provisioning policies looks
as shown in the following figure.
On the Policy to Configure page, select the type of policy you want to add to the Policy
Object. When the type is selected, its description is displayed in the lower box.
Click Next to configure the policy. The steps involved in configuring a policy depend on the
policy type. For instructions on how to configure policies, see Policy configuration tasks
later in this chapter.
When you are done with configuring a policy, the wizard presents you with a page where
you can specify the policy scope. You have the option to complete a list of containers or
Managed Units on which you want the policy to be enforced. This step is optional because
you can configure the policy scope after creating the Policy Object (see Applying Policy
Objects later in this chapter).
Click Next, and then click Finish to complete the wizard. This creates the new
Policy Object.
You can create a new folder as follows: Right-click Administration and select New
| Container. Similarly, you can create a sub-folder in a folder: Right-click the folder
and select New | Container.
2. Right-click the folder, point to New, and then click Provisioning Policy or
Deprovisioning Policy.
3. On the Welcome page of the wizard, click Next.
4. On the Name and Description page, do the following:
a. In the Name box, type a name for the Policy Object.
b. Under Description, type any optional information about the Policy Object.
Click Next.
5. On the Policy to Configure page, select a policy type, and click Next to configure
policy settings.
6. On the Enforce Policy page, you can specify the objects to which this Policy Object
is to be applied:
l Click Add, and use the Select Objects to locate and select the objects
you want.
7. Click Next, and then click Finish.
NOTE:
l For information about available policy types, see Provisioning Policy Objects
and Deprovisioning Policy Objects earlier in this document.
l For information on how to configure policies, see Policy configuration tasks
later in this document.
l To add more policies to the new Policy Object, display the Properties dialog
box, and click Add on the Policies tab.
The Policies tab displays a list of policies defined in the Policy Object. Each list entry
includes an icon denoting policy type and policy description. The policies are executed in
the order shown in the list. To change the order, use the arrows in the lower-right
corner of the tab.
On the Policies tab, you can perform the following management tasks:
l Add policy. Click the Add button and follow the instructions in the wizard, which
depend on whether you are configuring a Provisioning Policy Object or
Deprovisioning Policy Object.
The wizard prompts you to select the type of policy to add and then guides you
through the steps to configure the policy. The steps to configure a policy depend on
the policy type. For instructions on how to configure policies, see Policy configuration
tasks later in this chapter.
l Delete policy. Select policies from the list and click the Remove button. This
permanently deletes the policies you have selected.
l Modify policy. Select a policy from the list and click the View/Edit button. This
displays the Properties dialog box for the policy you have selected.
The Properties. dialog includes several tabs, with each tab containing the same
options as the corresponding page of the wizard used to configure the policy. You can
manage policy options the same way as you do when initially configuring the policy.
l Disable all policies. For troubleshooting purposes, you may need to stop
enforcement of the policies without actually deleting them. To accomplish this, select
the Disable all policies included in this policy object check box.
NOTE:
l The Policies tab lists the policies that are configured in the Policy Object. You
can use the Policies tab to add, modify, or delete policies from the Policy
Object.
l Active Roles processes policies in the order they are listed on the Policies tab.
To change the order, select a policy and click or to move the policy up or
down in the list.
l Once a Policy Object is applied within Active Roles to determine policy settings
in the directory, any changes to the list of policies in the Policy Object causes
the policy settings in the directory to change accordingly.
NOTE:
l The Policies tab lists the policies that are configured in the Policy Object. You
can use the Policies tab to add, modify, or delete policies from the Policy
Object.
l Active Roles processes policies in the order they are listed on the Policies tab.
To change the order, select a policy and click or to move the policy up or
down in the list.
NOTE:
l The Policies tab lists the policies that are configured in the Policy Object. You
can use the Policies tab to add, modify, or delete policies from the Policy
Object.
l Once a Policy Object is applied within Active Roles to determine policy settings
in the directory, any changes to the list of policies in the Policy Object causes
the policy settings in the directory to change accordingly.
l Policy Object. Add Managed Units or containers to the policy scope of the
Policy Object.
l Directory object. Add the Policy Object to the policy list for the directory object.
l Right-click the Policy Object and click Policy Scope. Then, in the Active Roles
Policy Scope window, click the Add button.
l Ensure that Advanced Details Pane is checked on the View menu. Then, select the
Policy Object. On the Active Roles Policy Scope tab in the details pane, right-click
a blank area and click Add.
In both cases, clicking Add displays the Select Objects window where you can select
containers and Managed Units. To build a list of containers from which to select, click the
Browse button and select Active Directory or a container in the hierarchy under Active
Directory. The list is shown in the following figure.
To build a list of Managed Units, click the Browse button and select Managed Units or a
container in the hierarchy under Managed Units. The list looks like the following figure:
In the Select Objects window, select containers or Managed Units from the list and click
the Add button to build the resultant list of items. When finished, click OK.
l Right-click a Managed Unit or container and click Enforce Policy. Then, in the
Active Roles Policy window, click the Add button.
l Right-click a leaf object (user, group, or the like), click Properties, go to the
Administration tab, and click the Policy button. Then, in the Active Roles Policy
window, click the Add button.
If you use the advanced details pane (Advanced Details Pane is checked on the View
menu), you can do this as follows, regardless of the type of the directory object:
l Select the directory object, go to the Active Roles Policy tab in the details pane,
right-click a blank area on the tab, and then click Add.
In all these cases, clicking Add displays the Select Policy Objects window where you can
select Policy Objects to add. Select check boxes next to names of Policy Objects, as shown
in the following figure, and then click OK.
1. Open the Active Roles Policy dialog box for the object:
l Right-click the object, and click Enforce Policy.
-OR-
l Right-click the object, and click Properties. Then, on the Administration tab
in the Properties dialog box, click Policy.
2. In the Active Roles Policy dialog box, click Add.
3. Use the Select Policy Objects dialog box to locate and select the Policy
Object to apply.
4. To select a Policy Object, click the check box next to the name of the Policy Object.
You can select multiple Policy Objects.
5. Click OK to close the Active Roles Policy dialog box.
TIP: To apply a Policy Object, you can also use the Active Roles Policy Scope or
Active Roles Policy tab in the advanced details pane: Right-click a blank area on
the tab, and then click Add. To display the advanced details pane, check Advanced
Details Pane on the View menu (see Advanced pane earlier in this document).
1. Open the Active Roles Policy Scope dialog box for the Policy Object: Right-click
the Policy Object, and then click Policy Scope.
2. In the Active Roles Policy Scope dialog box, select the container or Managed Unit
to which the Policy Object is applied and on which you want to examine inheritance
options, and then click View/Edit.
3. On the General tab, view or modify the selection of these options, which specifies
the scope where the Policy Object determines policy settings:
l This directory object. The scope includes the container or Managed Unit you
have selected (this option does not cause the scope to include any child objects
You can display a list of Policy Object links starting from one of the following points:
l Directory object. First, open a window that lists the Policy Objects that affect this
directory object:
l For a container object or Managed Unit, right-click the object or Unit and click
Enforce Policy.
l For a leaf object, right-click the object, click Properties, go to the
Administration tab, and click Policy.
Next, in the window that opens, click the Advanced button.
This displays the links in which the directory object occurs as the target object.
Another way to see a list of Policy Object links is the use of the advanced details pane.
Ensure that Advanced Details Pane is checked on the View menu, and then do one of
the following:
l Select a directory object (Managed Unit, container, or leaf object), right-click a blank
area on the Active Roles Policy tab, and click Advanced View.
This displays the links in which the directory object occurs as the target object.
The Exclude flag takes precedence over the Include flag. If there are two links with the
same Policy Object, one of which is flagged Include while another one is flagged Exclude,
the object is effectively excluded from the policy scope of the Policy Object.
The list of Policy Object links displays the links of these categories:
l Direct links. Policy Object is applied (linked) directly to the object you have
selected.
l Inherited links. Policy Object is applied (linked) to a container in the hierarchy of
containers above the object you have selected, or to a Managed Unit to which the
selected object belongs.
The links inherited from parent objects can be filtered out of the list. To do this, clear the
Show inherited check box.
To manage links, you can use the buttons beneath the list:
l Add. Displays the dialog box where you can select Policy Objects, creating the links
to the Policy Objects you select.
l Remove. Deletes the selected entries from the list of links. Available for
direct links only.
l View/Edit. Displays the dialog box to view or modify link properties, such as
whether the link affects the child objects of the link target object. Available for only
those links that are flagged Include.
l Exclude. Shows up for links flagged Include. Available on direct links only.
Changes the flag to Exclude.
l Include. Shows up for links flagged Exclude. Available on direct links only.
Changes the flag to Include.
TIP: The Remove button is only available on direct links. When you need to delete
links, it is advisable to manage them using the Policy Scope command on the Policy
Object.
To simplify the management of policy effect on directory objects, the Active Roles console
allows you to manage policy scope without directly managing links to Policy Objects. For a
directory object, you can view and modify its policy list—a list of Policy Objects that control
(affect) the directory object—instead of having to sort through direct and inherited links.
l Policy Object. The name of the Policy Object. The Policy Object controls this
directory object due to a direct link or inherited links.
l Block Inheritance. Indicates whether policy effect is blocked on this directory
object. If the Blocked check box is selected, the Policy Object link flagged Exclude
is created for this directory object.
You can manage the policy list using the buttons beneath the list:
l Add. Displays the dialog box where you can select Policy Objects, putting the
directory object under the control of the Policy Objects you select.
l Remove. If you select a Policy Object from the policy list and click Remove, the
direct link of the Policy Object to this object is deleted.
If the Policy Object is in the list due to an inherited link, the Remove button is
unavailable. Moreover, if there are both the direct link and an inherited link to the
Policy Object, clicking Remove deletes the direct link but does not remove the Policy
Object from the policy list. In this case, the Policy Object remains in the list because
the policies are still applied due to inheritance.
If you need to remove the directory object from the policy scope of a given Policy
Object, select the Blocked check box in the Block Inheritance column. This adds
the Policy Object link flagged Exclude for the directory object.
l View/Edit. Displays the Properties dialog box for the Policy Object you select
from the list. You can use the Properties dialog box to manage policies in the Policy
Object and gain access to the list of all links where this Policy Object occurs.
l Advanced. Opens the window with the list of Policy Object links for this directory
object, discussed earlier in this section.
You can also access the policy list from the advanced details pane. The list is displayed on
the Active Roles Policy tab when you select a directory object.
On the Active Roles Policy tab, you can perform the same management tasks as in the
Active Roles Policy window: Right-click a list entry or a blank area and use commands
on the shortcut menu. The commands act in the same way as the buttons in the Active
Roles Policy window.
Given a Policy Object, you can also manage its policy scope by using a list of directory
objects to which the Policy Object is applied (linked). The list can be displayed in a
separate window or on a tab in the advanced details pane:
l To display the list in a window, right-click the Policy Object and click Policy Scope.
l To display the list on a tab, ensure that Advanced Details Pane is checked on the
View menu and select the Policy Object.
l Name. Canonical name of the directory object to which the Policy Object is linked,
that is, the target object of the link.
l Include/Exclude. Flag that determines the behavior of the link:
l Include Explicitly. means the link puts the target object within the policy
scope, that is, the policies defined in the Policy Object control the target object.
l Exclude Explicitly. means the link puts the target object out of the policy
scope, that is, the policies defined in the Policy Object do not control the
target object.
The Exclude flag takes precedence over the Include flag. If there are two links
with the same target object, one of which is flagged Include while another one is
flagged Exclude, the target object is effectively excluded from the policy scope of
the Policy Object.
To manage the list in the Active Roles Policy Scope window, you can use the buttons
beneath the list: Add, Remove, View/Edit, Include, or Exclude. The buttons perform
basically the same functions as those described earlier in this section. To manage the
list in the Active Roles Policy Scope tab, you can use the command on the shortcut
menu: Right-click a link or a blank area to access the menu. The menu includes the
following commands:
l Add. Appears when you right-click a blank area. Performs the same action as the
Add button. Opens the Select Objects dialog box where you can select
containers or Managed Units to which you want to link the Policy Object (see
Applying Policy Objects).
l Delete. Appears when you right-click a link. Performs the same action as the
Remove button. Deletes the link you select from the list.
l Exclude. Appears when you right-click a link flagged Include. Performs the same
action as the Exclude button. Changes the flag on the link you select.
l Include. Appears when you right-click a link flagged Exclude. Performs the same
action as the Include button. Changes the flag on the link you select.
l Refresh. Updates the list with the current information.
1. Open the Active Roles Policy dialog box for the object:
l Right-click the object, and click Enforce Policy.
-OR-
l Right-click the object, and click Properties. Then, on the Administration tab
in the Properties dialog box, click Policy.
The Active Roles Policy dialog box for a given object lists all the Policy Objects
that determine the policy settings on that object. Use the following instructions to
modify the list, if necessary.
NOTE:
l By default, the Active Roles Policy - Advanced View dialog box for an
object lists all the links that determine the policy settings on the object, regard-
less of whether a link was created on the object itself or on a container or
Managed Unit that holds the object. To change the display of the list, clear the
Show inherited check box.
l Clicking View/Edit in the Active Roles Policy - Advanced View or Active
Roles Policy Scope dialog box displays the Properties dialog box for the
selected link. From the Properties dialog box, you can access the properties
of both the directory object and Policy Object that are covered by the link, and
view or modify the inheritance options for the link (see Steps for applying a
Policy Object earlier in this document).
l You can also manage Policy Object links on the Active Roles Policy Scope or
Active Roles Policy tab in the advanced details pane, which allows you to
perform the same tasks as the Active Roles Policy Scope or Active Roles
Policy dialog box, respectively. Right-click a link or a blank area on the tab,
and use command on the shortcut menu. The Active Roles Policy Scope tab
is displayed when you select a Policy Object. Otherwise, the Active Roles
Policy tab is displayed. To display the advanced details pane, check
Advanced Details Pane on the View menu (see Advanced pane earlier in
this document).
1. Open the Active Roles Policy dialog box for the object:
l Right-click the object, and click Enforce Policy.
-OR-
l Right-click the object, and click Properties. Then, on the Administration tab
in the Properties dialog box, click Policy.
2. In the Active Roles Policy dialog box, select the Blocked check box next to the
name of the Policy Object.
3. Click OK to close the Active Roles Policy dialog box.
NOTE:
l You can restore the effect of the Policy Object on the object that was excluded
from the policy scope: In the Active Roles Policy dialog box for that object,
clear the Blocked check box next to the name of the Policy Object.
l Excluding an object from the policy scope creates a Policy Object link on that
object, the link being flagged Exclude Explicitly. Restoring the effect of the
Policy Object causes that link to be removed. For instructions on how to
manage Policy Object links, see Steps for managing Policy Object links earlier
in this document.
NOTE: The copy of a Policy Object contains the same policies as the original Policy
Object. You can view or modify policies by using the Properties dialog box for the
newly created Policy Object. To have the console display the Properties dialog box,
select Display the object properties when this wizard closes on the
completion page of the Copy Object - Policy Object wizard. For instructions on how to
add, modify, and remove policies from a Policy Object, see Adding, modifying, or
removing policies earlier in this document.
NOTE: If a Policy Object is applied within Active Roles to determine policy settings in
the directory, renaming the Policy Object does not cause any changes to the policy
settings in the directory. When applying a Policy Object, Active Roles refers to the
Policy Object by an internal identifier rather than by the name of the Policy Object.
NOTE: When you export and then import Policy Objects, only policies are transferred.
The Policy Object links are not included in the export-import operation. You need to
reconfigure them manually after completing the operation.
To export Policy Objects, select them, right-click the selection, and select All Tasks |
Export. In the Export Objects dialog box, specify the file where you want to save the
data, and click Save.
To import Policy Objects, right-click the container where you want to place the Policy
Objects, and then click Import. In the Import Directory Objects dialog box, select the
file to which the Policy Objects were exported, and click Open.
NOTE: Once a Policy Object is applied within Active Roles to determine policy settings
in the directory, the Policy Object cannot be deleted. You can view a list of objects to
which the Policy Object is applied: Right-click the Policy Object, and click Policy
Scope. If you need to delete the Policy Object, first remove all items from the list in
the Active Roles Policy Scope dialog box.
Group Membership
AutoProvisioning
Script Execution
Notification Distribution
Report Distribution
Script Execution
To set up a policy, you can specify conditions that the property values must meet, and can
also determine the default value for each property provisioned with the policy. For
example, you can configure a policy to enforce a certain type of telephone number
formatting in the contact information properties for your directory.
TIP: Consider the following when planning to configure a Property Generation and Valid-
ation policy:
NOTE: Policy Object settings specific to Azure cloud-only objects (such as cloud-only
Azure users, guest users, or contacts) are available only if your Active Roles deployment
is licensed for managing cloud-only Azure objects. Contact One Identity support for more
information.
Also, Policy Objects specific to Azure cloud-only objects will work correctly only if an
Azure tenant is already configured in the AD of the organization, and Active Roles is
already set as a consented Azure application for that Azure tenant. For more information
on these settings, see Configuring a new Azure tenant and consenting Active Roles as an
Azure application.
Click Select to choose the object type and object property you want the policy to control.
This displays the Select Object Type and Property dialog box.
This page allows you to determine criteria used to generate and validate values of the
controlled property.
To configure a policy rule, first select appropriate check boxes in the upper box on the
Configure Policy Rule page. Each check box label is composed of the name of the
controlled property followed by a condition. For example, if you select the check box next
to must be specified, the policy will force a value to be assigned to the property.
If you want the policy to generate a default value for the controlled property, select the
check box next to must be <value> (generates default value).
For the policy not to distinguish between uppercase and lowercase letters, select the check
box next to is case insensitive.
After you selected check boxes in the upper box, the lower box prompts you to configure
values, as shown in the following figure.
In the lower box, click links labeled <click to add value> to configure additional
values. If you select several check boxes in the upper box, you must configure value for
each condition.
In the Edit policy rule box, you can also:
l Modify a value. Right-click the value and click Edit. This displays a dialog box similar
to the Add Value dialog box, discussed later in this section.
l Remove a value. Right-click the value and click Remove.
l Rearrange the list of values (provided that multiple values are specified for a
particular condition). Right-click a value and use the Move Up or Move Down
command to change position of the value in the list, or click Sort Items Ascending
or Sort Items Descending to sort the list accordingly.
l Import values from a text file. Prepare a text file containing one value per line, right-
click any value in the Edit policy rule box, click Import Items, and then open the
file you prepared.
l Export the values to a text file. Right-click any value, click Export Items, and
specify a text file to write the values to.
l Specify whether you want the rule to generate the default value. Click the Yes or No
link to toggle this option.
To combine criteria into the policy rule, use the AND or OR operator. The policy will pass if
the property value meets all of the specified criteria or any one of them depending on the
operator you choose. To change the operator, click the link labeled and or or.
Clicking a link labeled <click to add value> displays a dialog box similar to the
following figure.
The Add Value dialog box allows you to specify a value for the selected condition. You can
type a value in the edit box or use the point-and-click interface to configure a value.
Clicking the Configure button displays the Configure Value dialog box, shown in the
following figure.
Each value is a concatenation of one or more entries. In the Configure Value dialog
box, you can:
l Add any number of entries to the value. Click Add to display the Add Entry window,
discussed later in this section.
l Remove entries from the value. Select entries from the list and click Remove.
l Modify entries included in the value. Select an entry and click Edit. This displays a
window similar to the Add Entry window, where you can view and modify the entry
properties.
l Move the selected entry up and down in the list, thereby rearranging the entries in
the value. Click an entry in the upper box, and then click the arrow buttons next to
the box to move the entry.
l Paste the text from the Clipboard at the end of the value. If the text includes a valid
syntax implementing an entry of a type other than Text (see the table below), the
In the Add Entry window, you can select the type of the entry to add, and then configure
the entry. The following table summarizes the available types of entries.
<Object> Property Adds a selected property (or a part of a property) of the object
being managed by the policy. When displaying this type of entry
the console substitutes for the <Object> placeholder the actual
category of objects that are subject to the policy control.
For example, with the policy configured to control a certain
property of user objects, you can use this type of entry to
populate that property of a user object with data stored in other
properties of that same user object.
Parent Domain Adds a selected property (or a part of a property) of the domain
Property of the object being managed by this policy.
For example, with the policy configured to control a certain
property of user objects, you can use this type of entry to
populate that property of a user object with data stored in
properties of the domain in which the user object resides.
Mask Adds a syntax that determines what characters are allowed in the
property controlled by this policy. You can use this type of entry
to enforce a data format like numeric, postal/ZIP code, or
telephone number.
The steps to configure an entry depend on the type of the entry. The following
sections elaborate on the procedures for each of the entry types occurring in the Add
Entry window.
Using this entry type, you can configure a value based on a property of the object itself. To
choose a property, click Select.
If you want the entry to include the entire value of the property, click All characters of
the property value. Otherwise, click The first, and specify the number of characters to
include in the entry.
In the latter case, you can select the If value is shorter, add filling characters at the
end of value check box, and type a character in the Filling character box. This
character will fill the missing characters in the value of the object property if the value is
shorter than specified in the box next to the option The first.
When you are done configuring an entry, click OK to close the Add Entry window. The
entry is added to the Configure Value dialog box.
Using this entry type, you can configure a value based on a property of a parent
organizational unit (OU) of the object being managed by this policy. To choose an OU
property, click Select.
If you want the entry to include the entire value of the property, click All characters of
the property value. Otherwise, click The first, and specify the number of characters to
include in the entry.
In the latter case, you can select the If value is shorter, add filling characters at the
end of value check box, and type a character in the Filling character box. This
character will fill the missing characters in the value of the OU property if the value is
shorter than specified in the box next to the option The first.
You can also specify the level of the OU you want to the policy to use. To use the property
of the OU in which the object resides, click Immediate parent OU of the object being
managed by this policy. To use the property of a parent OU of a different level, click
More distant parent OU and then, in the Level box, specify the level of the OU. Lower
level means greater distance from the managed object in the hierarchy of containers above
that object. OU level 1 is an immediate child OU of the domain.
Using this entry type, you can configure a value based on a property of the domain of the
object being managed by this policy. To choose a domain property, click Select.
If you want the entry to include the entire value of the property, click All characters of
the property value. Otherwise, click The first, and specify the number of characters to
include in the entry.
In the latter case, you can select the If value is shorter, add filling characters at the
end of value check box, and type a character in the Filling character box. This
character will fill the missing characters in the value of the domain property if the value is
shorter than specified in the box next to the option The first.
When you are done configuring an entry, click OK to close the Add Entry window. The
entry is added to the Configure Value dialog box.
With this entry type, you can define which characters (letters, numerals) are acceptable in
the entry you add to the value of the controlled property.
If you want to allow the entry to include any series of characters, click Any characters or
no characters.
If you want to specify a maximum number of allowed characters the entry may include,
click At most the specified number of characters. In the Number of characters
box, specify the number of allowed characters. The entry may include any number of
characters not exceeding the specified number. Under Allowed characters, select check
boxes to specify the allowed characters.
If you want to specify an exact number of allowed characters that the entry must include,
click Exactly the specified number of characters. In the Number of characters
box, specify the number of allowed characters. The entry must include exactly the
specified number of characters. Under Allowed characters, select check boxes to specify
the allowed characters.
When you are done configuring an entry, click OK to close the Add Entry window. The
entry is added to the Configure Value dialog box.
3. On the Name and Description page, provide a unique Name for the new policy
object. Optionally, also provide a Description. To continue, click Next.
4. On the Policy to Configure page, select Property Generation and Validation,
and then click Next.
5. On the Controlled Property page, click Select to open the Select Object Type
and Property dialog.
6. To select the object type and its object property you want the policy to control, use
the settings of the Select Object Type and Property dialog:
l Use the Object type drop-down menu to select the object type whose
property you want to provision.
l Use either the Look for Property search box to manually search for the
object property you want to provision, or browse it in the Object Property
Use a Text entry to add a text string to the value you are configuring.
2. In Text value, type the text string you want the value to include.
3. Click OK.
2. Click Select, click the property to include in the value, and then click OK.
3. If you want the entry to include the entire value of the property, click All
characters of the property value. Otherwise, click The first, and specify the
number of characters to include in the entry.
4. If you selected The first, then, optionally, select If value is shorter, add filling
characters at the end of value, and type a character in Filling character.
This character will fill the missing characters in the value of the property if the value
is shorter than specified in the box next to The first.
5. Click OK.
2. Click Select, click the property to include in the value, and then click OK.
3. If you want the entry to include the entire value of the property, click All
characters of the property value. Otherwise, click The first, and specify the
number of characters to include in the entry.
4. If you selected The first, then, optionally, select If value is shorter, add filling
characters at the end of value, and type a character in Filling character.
This character will fill the missing characters in the value of the property if the value
is shorter than specified in the box next to The first.
6. Click OK.
2. Click Select, click the property to include in the value, and then click OK.
3. If you want the entry to include the entire value of the property, click All
characters of the property value. Otherwise, click The first, and specify the
number of characters to include in the entry.
4. If you selected The first, then, optionally, select If value is shorter, add filling
characters at the end of value, and type a character in Filling character.
This character will fill the missing characters in the value of the property if the value
is shorter than specified in the box next to The first.
5. Click OK.
If you selected the third option, the entry must include exactly the specified number
of characters.
2. In the list under Date and time format, click the date or time format you want.
3. Click OK.
4. Click OK.
NOTE:
l You may need to configure an entry when configuring a policy such as Property
Generation and Validation (see Steps for configuring a Property Generation and
Validation policy), User Logon Name Generation (see Steps for configuring a
User Logon Name Generation policy), Group Membership AutoProvisioning (see
Steps for configuring a Group Membership AutoProvisioning policy), E-mail
Alias Generation (see Steps for configuring an E-mail Alias Generation policy),
User Account Deprovisioning (see Steps for configuring a User Account Depro-
visioning policy), or Group Object Deprovisioning (see Steps for configuring a
Group Object Deprovisioning policy).
l The contents of the Entry Type list in the Add Entry dialog box depends upon
the type of the policy you are configuring.
1. Create and configure a Policy Object that defines the appropriate policy.
2. Apply the Policy Object to a domain, OU, or Managed Unit.
As a result, when creating or modifying a user object in the container you selected in Step
2, Active Roles checks whether the phone number conforms to the stated format. If not,
the policy disallows the creation or modification of the user object.
The following two sections elaborate on the steps to implement this scenario.
You can create and configure the Policy Object you need by using the New Provisioning
Policy Object wizard. For information about the wizard, see Creating a Policy Object in the
Policy Object management tasks section earlier in this chapter.
To configure the policy, click Property Generation and Validation on the Policy to
Configure page of the wizard. Then, click Next.
On the Controlled Property page, click Select. Then, in the Select Object Type and
Property dialog box, select User from the Object type list, and click Telephone
number in the Object property list, as shown in the following figure.
At this stage, the Configure Policy Rules page looks like the following figure.
The Add Entry window should look as shown in the following figure.
Click OK to close the Add Entry window. Then, click OK to close the Configure Value
dialog box. As a result, the Add Value dialog box looks as shown in the following figure.
Taking into consideration the mask you have configured, you can guess that the mask for
the phone number format you need is as follows:
({3 required [0-9]}) {3 required [0-9]}-{2 required [0-9]}-{2 required [0-9]}
Type this mask in the ‘Telephone Number’ must be box in the Add Value dialog box.
Pay attention to the round brackets enclosing the first three characters, a space character
following the group in the round brackets, and two hyphen characters that separate the
groups of characters.
Click OK to close the Add Value dialog box. Click Next and follow the instructions in the
wizard to create the Policy Object.
You can apply the Policy Object by using the Enforce Policy page in the New
Provisioning Policy Object wizard, or you can complete the wizard and then use the
Enforce Policy command on the domain, OU, or Managed Unit where you want to apply
the policy.
For more information on how to apply a Policy Object, see Applying Policy Objects and
Managing policy scope earlier in this chapter.
The following table provides some examples to clarify how the phone number should look
in accordance with these formatting requirements.
+1 949 754 8515 949-754-8515 The incorrect entry does not begin with
+ and country code, and uses dashes
instead of space.
+44 1628 606699 +44 1628 606699 The incorrect entry uses the upper-
x1199 X1199 case X.
As a result, when creating or modifying a user object in the container you selected in Step
2, Active Roles checks whether the phone number conforms to the stated format. If not,
the policy disallows the creation or modification of the user object.
You can configure the Policy Object you need by modifying the Policy Object that
implements the previous scenario, see Scenario 1: Using mask to control phone number
format earlier in this section.
Display the Properties dialog box for that Policy Object and go to the Policies tab. Then,
select the policy from the list, and click View/Edit to display the Property Generation
and Validation Policy Properties dialog box.
The Policy Rule tab in the Property Generation and Validation Policy Properties
dialog box looks similar to the Configure Policy Rule page in the wizard you used to
configure the policy. You can use that tab to modify the policy rules.
First, modify the rule to remove the mask entry. On the Policy Rule tab, in the upper box,
clear the ‘Telephone Number’ must be <value> check box.
Next, choose to configure a rule based on regular expressions. On the Policy Rule
tab, in the upper box, select the ‘Telephone Number’ must match regular
expression <value> check box. To access this check box, you need to scroll down
the list of check boxes.
Finally, specify the regular expressions that define the policy in question. The regular
expressions you need are as follows:
^\+([0-9]+ )+[0-9]+$
^\+([0-9]+ )+x[0-9]+$
The following table briefly describes the elements that are used in the two above syntax.
For more information about regular expressions, see Appendix A: Using regular
expressions later in this document.
Thus, the policy must be configured to only allow the telephone numbers that match
^\+([0-9]+ )+[0-9]+$ (telephone numbers without extensions) or ^\+([0-9]+ )+x[0-
9]+$ (telephone numbers that include extensions). Proceed with configuring the
policy as follows:
You can apply the Policy Object without closing its Properties dialog box. Go to the Scope
tab and do the following:
1. On the Scope tab, click the Scope button to display the Active Roles Policy Scope
window for the Policy Object you are managing.
2. Click Add and select the domain, OU, or Managed Unit where you want to
apply the policy.
You can also use the Remove button to remove items where you want the policy to
no longer be applied.
For more information on how to apply a Policy Object, see Applying Policy Objects and
Managing policy scope earlier in this chapter.
l With a single rule that does not use a uniqueness number, Active Roles simply
attempts to assign the generated name to the user account. The operation may fail if
the generated name is not unique, that is, the same pre-Windows 2000 user logon
name is already assigned to a different user account. If the policy allows manual
edits of policy-generated names, the name can be corrected by the operator who
creates the user account.
l With multiple rules or with a rule that uses a uniqueness number, Active Roles adds a
button at the client side, next to the User logon name (pre-Windows 2000) field
on the user creation and modification forms.
l To generate a name, the client user (operator) must click that button, which is also
the case where the generated name is in use. Clicking the Generate button applies a
subsequent rule or increases the uniqueness number by one, thereby allowing the
name to be made unique.
l The policy defines a list of characters that are unacceptable in pre-Windows
2000 user logon names. The following characters are not allowed: " / \ [ ] : ; |
=, + *? < >
l The policy causes Active Roles to deny processing of operation requests that assign
the empty value to the pre-Windows 2000 user logon name.
l When checking user accounts for policy compliance (see later in this document),
Active Roles detects, and reports of, the pre-Windows 2000 user logon names that
are set up not as prescribed by the user logon name generation policy.
On the User Logon Name (pre-Windows 2000) Generation Rules page, you can set
up a list of generation rules. Each entry in the list includes the following information:
l Priority. The policy applies generation rules in the order of their priority, as they
stand in the list: first read, first applied.
l Rule. Syntax that defines the rule.
l Uniqueness Number. Displays Yes or No, indicating whether the rule includes a
uniqueness number entry.
l Add. Opens the Configure Value dialog box, discussed earlier in this chapter (see
How to configure a Property Generation and Validation policy). Use that dialog box to
configure a value for the ‘Logon Name (pre-Windows 2000)’ must be condition,
in the same way as you do when configuring a Property Generation and Validation
policy. For more information, see Configuring a logon name generation rule later in
this section.
l Remove. Deletes the rules you select from the list.
By selecting the Allow manual edits of pre-Windows 2000 logon name check box,
you authorize the operator who creates or updates the user account to make changes to
the policy-generated name. If this check box is cleared, Active Roles displays the User
logon name (pre-Windows 2000) field as read-only on the user creation and
modification forms.
By selecting the Always option, you authorize the operator to modify the pre-Windows
2000 logon name at their discretion. With the Only if a unique name cannot be
generated by this policy option, you limit manual changes to the situation where a
unique name cannot be generated in accordance with the policy rules.
Uniqueness Adds a numeric value the policy will increment in the event of a
Number naming conflict.
User Property Adds a selected property (or a part of a property) of the user
account to which the policy will assign the logon name.
Parent Domain Adds a selected property (or a part of a property) of the domain of
Property the user account to which the policy will assign the logon name.
Using this entry type, you can add an entry that represents a number the policy will
increment in the event of a naming conflict.
First, you need to choose when you want the policy to employ this entry. You have the
following options:
Next, you can specify how you want the entry to be formatted:
l To have the entry formatted as a variable-length string of digits, clear the Fixed-
length number, with leading zeroes check box. In most cases, this will result in
a single-digit entry.
l To have the entry formatted as a fixed-length string of digits, select the Fixed-
length number, with leading zeroes check box, and then specify the number of
digits you want the string to include. This will result in an entry prefixed with the
appropriate number of zeroes, such as 001, 002, 003, etc.
When you are done configuring an entry, click OK to close the Add Entry window. The
entry is added to the Configure Value dialog box.
1. On the Policy to Configure page, select User Logon Name Generation, and then
click Next.
2. On the User Logon Name (pre-Windows 2000) Generation Rules page, do the
following:
l Click Add, and complete the Configure Value dialog box by using the
procedure outlined later in this topic, to create a name generation rule.
l Select a rule and click Remove to delete the rule.
l Select a rule and click View/Edit to modify the rule.
l Select a rule and click Up or Down to move the rule higher or lower in the list,
in order to give the rule a higher or lower priority, respectively.
l Click Advanced to set some options that apply to all rules within the policy.
Complete the Advanced dialog box by using the procedure outlined later in
this topic.
l If you want the logon name to be allowed for manual edit, select Allow
manual edits of pre-Windows 2000 logon name. Then, do one of
the following:
l Click Always to authorize the operator who creates or updates the
user account to modify the pre-Windows 2000 logon name.
l Click Only if a unique name cannot be generated by this
policy to allow manual changes only in the situation where a
1. Click Add.
2. Configure an entry to include in the value (for instructions, see Steps for
configuring entries).
3. In the Configure Value dialog box, add more entries, delete or edit existing ones,
and then click OK.
The policy generates the name J1Smitso for the user John Smitson if the name JSmitson
is in use. If both JSmitson and J1Smitso are in use, the policy generates the name
J2Smitso, and so on.
To implement this scenario, you must perform the following actions:
1. Create and configure the Policy Object that defines the appropriate policy.
2. Apply the Policy Object to a domain, OU, or Managed Unit.
As a result, when assigning a pre-Windows 2000 user logon name to a user account in
the container you selected in Step 2, the Active Roles user interfaces provide a
Generate button to create a name in accordance with the policy rule. In the event of a
naming conflict, clicking the Generate button causes the policy to add a uniqueness
number to the name.
The following two sections elaborate on the steps to implement this scenario.
1. Click Add.
2. Configure the entry to include the first character of the user first name:
a. Under Entry type, click User Property.
b. Under Entry properties, click Select.
c. In the Select Object Property window, click First Name in the Object
property list, and then click OK.
d. Under Entry properties, click The first, and make sure the box next to that
option reads 1.
e. Click OK.
3. Click Add.
4. Configure the entry to optionally include a uniqueness number:
a. Under Entry type, click Uniqueness Number.
After you complete these steps, the list of entries in the Configure Value dialog box
should look like the following figure.
1. The first character of the user first name, followed by the user last name
2. The first two characters of the user first name, followed by the user last name
3. The first three characters of the user first name, followed by the user last name
The length of the policy-generated name is at most eight characters. If the name is longer,
trailing characters are truncated as needed.
Examples of names generated by this policy are as follows:
l JSmitson
l JoSmitso
l JohSmits
The policy generates the name JoSmitso for the user John Smitson if the name JSmitson is
in use. If both JSmitson and JoSmitso are in use, the policy generates the name JohSmits.
To implement this scenario, you must perform the following actions:
As a result, when assigning a pre-Windows 2000 user logon name to a user account in the
container you selected in Step 2, the Active Roles user interfaces provide a Generate
button to create the name in accordance with the policy rules. In the event of a naming
conflict, clicking the Generate button causes the policy to apply a subsequent rule.
The following two sections elaborate on the steps to implement this scenario.
1. On the Generation Rules tab, click Add to display the Configure Value
dialog box.
2. In the Configure Value dialog box, click Add to display the Add Entry window.
3. Configure the entry to include the first two character of the user first name:
a. Under Entry type, click User Property.
b. Under Entry properties, click Select.
c. In the Select Object Property window, click First Name in the Object
property list, and then click OK.
d. Under Entry properties, click The first, and enter 2 in the box next to
that option.
e. Click OK to close the Add Entry window.
4. In the Configure Value dialog box, click Add to display the Add Entry window.
5. Configure the entry to include the user last name:
a. Under Entry type, click User Property.
b. Under Entry properties, click Select.
c. In the Select Object Property window, click Last Name in the Object
property list, and then click OK.
d. Click OK to close the Add Entry window.
After you complete these steps, the list of rules on the Generation Rules tab should look
as follows:
Click OK to close the User Logon Name Generation Policy Properties dialog box.
1. On the Scope tab, click the Scope button to display the Active Roles Policy Scope
window for the Policy Object you are managing.
2. Click Add and select the domain, OU, or Managed Unit where you want to
apply the policy.
You can also use the Remove button to remove items where you want the policy to
no longer be applied.
For more information on how to apply a Policy Object, see Applying Policy Objects and
Managing policy scope earlier in this chapter.
On this page, you can choose the type of objects you want the policy to add or remove from
groups. By default, the object type is set to User. If you need to change this setting, click
Select to display the Select Object Type dialog box.
From the Object types list, select the type of objects you want the policy to
control. Click OK.
On the Object Type Selection page, click Next to display the Policy Conditions page.
On this page, you can set up policy conditions—criteria the policy uses to determine what
objects are to be added or removed from groups. If you specify no conditions, the policy
affects any objects of the type you have selected on the previous page. Otherwise, it only
affects the objects matching the conditions you specify using this page.
To configure a condition, click Add on the Policy Conditions page. This displays the Set
Up Condition dialog box.
In this dialog, you can configure a condition in the same way as you do for a Property
Generation and Validation policy. A condition includes an object property (for example,
City or Department), a requirement (for example, equals or begins with), and a value.
The term value has the same meaning as for a Property Generation and Validation policy.
First, click the Property button to display the Select Object Property dialog box where
you can select the object property you want to include in the condition.
Next, from the Operation list, select the requirement you want to apply to the
selected property.
Next, click the Configure value button to compose the value for which you want to apply
the selected requirement. This displays the Configure Value dialog box, discussed earlier
in this chapter (see How to configure a Property Generation and Validation policy). You can
use that dialog box to set up a value in the same way as for a Property Generation and
Validation Policy.
If you specify multiple conditions, you can combine them with a logical AND or OR operator
by clicking the AND or OR option, respectively.
Finally, click OK to close the Set Up Condition dialog box.
After you complete the list on the Policy Conditions page, click Next to display the
Policy Action page.
On this page, you can configure the policy to either add objects to groups or remove
objects from groups. For example, if you select the option Add object to groups if
object satisfies policy conditions, the policy populates groups with the objects that
match the conditions you set up in the previous step. Click Next to specify the groups you
want the policy to populate. This displays the Group Selection page.
3. On the Name and Description page, provide a unique Name for the new policy
object. Optionally, also provide a Description. To continue, click Next.
1. Create and configure a Policy Object that defines the appropriate policy.
2. Apply the Policy Object to a domain, OU, or Managed Unit.
As a result, when a user account in the container you selected in Step 2 has the
Department property set to Sales, Active Roles automatically adds that account in the
Sales group.
The following two sections elaborate on the steps to implement this scenario.
1. Click the Property button; then, select the Department property and click OK.
2. In the Value box, type Sales.
After you complete these steps, the Set Up Condition dialog box looks as shown in the
following figure.
l With a rule that does not use a uniqueness number, Active Roles simply attempts to
assign the generated alias to the user account. The operation may fail if the
generated alias is not unique, that is, the alias is already assigned to a different user
account. If the policy allows manual edits of policy-generated aliases, the alias can
be corrected by the operator who creates the user account.
l With a custom rule that uses a uniqueness number, Active Roles adds a button at the
client side, next to the Alias field on the user creation and modification forms.
To generate an alias, the client user (operator) must click that button, which also
applies if the generated alias is in use. Clicking the Generate button increases the
uniqueness number by one, thereby allowing the alias to be made unique.
l With a custom rule configured to include user properties that are normally not
displayed on the user creation forms, an extra page is added to the New Object -
User wizard in the Active Roles console, thus making it possible to specify the user
properties required to generate the alias.
l The policy defines a list of characters that are unacceptable in
e-mail aliases. Space characters and the following characters are not accepted :
@*+|=\;:?[],<>/
l The policy denies processing of operation requests that assign the empty value to the
e-mail alias.
l When checking user accounts for Active Roles policy compliance (described later in
this document), Active Roles detects, and reports on, the aliases that are not set up
as prescribed by the alias generation policy.
On the E-mail Alias Generation Rule page, you can select a pre-configured rule or
create a custom alias-generation rule. The first four options on the page are self-
explanatory. For example, the first option makes the e-mail alias the same as the user
logon name (pre-Windows 2000). The option Other combination of user properties,
discussed later in this section, allows you to configure a custom rule, including the addition
of uniqueness number.
By selecting the Allow manual edits of e-mail alias check box, you authorize the
operator who creates or updates the user account to make changes to the policy-generated
alias. If this check box is cleared, Active Roles displays the Alias field as read-only on the
user creation and modification forms.
By selecting the Always option, you authorize the operator to modify the alias at their
discretion. With the Only if a unique alias cannot be generated by this policy
option, you limit manual changes to the situation where a unique alias cannot be generated
in accordance with the policy rules.
Uniqueness Number Adds a numeric value the policy will increment in the event of an
alias naming conflict.
User Property Adds a selected property (or a part of a property) of the user
account to which the policy will assign the alias.
Parent Domain Adds a selected property (or a part of a property) of the domain
Property of the user account to which the policy will assign the alias.
Instructions on how to configure an entry depend on the type of the entry. For each type of
an entry, you can find the instructions earlier in this chapter:
l Text. Refer to the Entry type: Text subsection in the How to configure a Property
Generation and Validation policy section.
l Uniqueness Number. Refer to the Entry type: Uniqueness Number subsection in
the How to configure a User Logon Name Generation policy section.
l User Property. Refer to the Entry type: <Object> Property subsection in the How
to configure a Property Generation and Validation policy section.
l Parent OU Property. Refer to the Entry type: Parent OU Property subsection in the
How to configure a Property Generation and Validation policy section.
l Parent Domain Property. Refer to the Entry type: Parent Domain Property
subsection in the How to configure a Property Generation and Validation policy
section.
When you are done configuring a value, click OK to close the Configure Value dialog box.
This will add the value to the policy rule. If necessary, you can modify the value by clicking
1. Click Add.
2. Configure an entry to include in the value (for instructions, see Steps for
configuring entries).
3. In the Configure Value dialog box, add more entries, delete or edit existing ones,
and then click OK.
l John.Smith
l John001.Smith
l John002.Smith
The policy generates the alias John001.Smith for the user John Smith if the alias
John.Smith is in use. If both John.Smith and John001.Smith are in use, the policy generates
the alias John002.Smith, and so on.
To implement this scenario, you must perform the following actions:
1. Create and configure the Policy Object that defines the appropriate policy.
2. Apply the Policy Object to a domain, OU, or Managed Unit.
As a result, when assigning an e-mail alias to a user account in the container you selected
in Step 2, the Active Roles user interfaces provide a Generate button to create the alias in
accordance with the policy rule. In the event of an alias naming conflict, clicking the
Generate button causes the policy to add a uniqueness number to the alias.
The following two sections elaborate on the steps to implement this scenario.
1. Click Add.
2. Configure the entry to include the user first name:
a. Under Entry type, click User Property.
b. Under Entry properties, click Select.
c. In the Select Object Property window, click First Name in the Object
After you complete these steps, the list of entries in the Configure Value dialog box
should look like the following figure.
l If the policy specifies a single store, mailboxes are created in that store. A different
store cannot be selected by the operator who creates or updates the user account.
l If the policy specifies multiple stores, the store is selected either automatically (by
Active Roles) or manually (by the operator who creates or updates the user account),
depending on policy options.
In case of multiple stores, the policy provides these options to govern the selection
of a store:
l Manually. Allows the operator to select a store from the list defined by the policy.
l By using the round-robin method. Redirects mailbox creation requests
sequentially across the stores, selecting the first store for the first request, the
second store for the second request and so on. After the last store is reached, the
next request is passed to the first store in the sequence.
On this page, you can select the servers and mailbox stores or databases to be allowed for
mailbox creation. Select mailbox stores from a single Exchange organization. If you select
multiple stores, you can specify how to choose a store upon a mailbox creation request.
From the Pick a store list, select one of these options:
l Manually
l By using the round-robin method
l Containing the least number of mailboxes
When you are done, click Next and follow the instruction in the wizard to create the
Policy Object.
3. On the Enforce Policy page, you can specify objects to which this Policy Object is to
be applied:
l Click Add, and use the Select Objects dialog box to locate and select the
objects you want.
4. Click Next, and then click Finish.
1. Create and configure a Policy Object that defines the appropriate policy.
2. Apply the Policy Object to a domain, OU, or Managed Unit.
As a result, when creating a mailbox for a user account that resides in the container you
selected in Step 2, Active Roles chooses the least loaded store among those where mailbox
creation is allowed.
The following two sections elaborate on the steps to implement this scenario.
Click Next, and follow the instructions in the wizard to create the Policy Object.
IMPORTANT: Starling Connect policy have to be applied on the container for any SaaS
operations to take place.
SaaS operations for each connector may vary from each other. Each connector may
have a set of mandatory attributes to perform any operation.
The operation will fail in case any of the mandatory attributes are missing in the
particular request. The notification will report the information of all the mandatory
attributes missing in that event which caused the failure.
In that case, you must create the corresponding virtual attributes, customize the Web
Interface to enter the value for the virtual attribute during the specified operation.
Using this approach, the attribute value is passed as a part of the request.
1. From the Active Roles Console, create a Policy Object. For instructions on creating a
policy object, see the section Creating a Policy Object, in the Active Roles
Administration Guide.
2. In Active Roles Console, on the Policy to Configure page, select OneDrive
Provisioning.
3. In the New Provisioning Policy Object Wizard > OneDrive folder Management page,
enter the SharePoint Admin URL and the storage size, and click Next.
NOTE:
l If the policy conditions are not satisfied, such as an incorrect SharePoint
Admin URL or a storage size that is not within the acceptable range, an
error is displayed.
l Policy accepts a minimum storage size of 1GB and it can span up to a
maximum of 10TB.
4. In the Enforce Policy page, select the Organizational Unit (OU) on which the policy
must be applied.
5. Click Next.
6. Click Finish.
l A valid network path must begin with the UNC name of a network file share, such as
\\Server\Share\, and should normally include the %username% notation. For
example, with the Connect: Z: To: \\Server\Share\%username% option, the
policy can configure a user account in Active Directory so that the Home Drive
property of the user account is set to Z: and the Home Directory property of the
user account is set to \\Server\Share\LogonName where LogonName stands for the
pre-Windows 2000 logon name of the user account.
l The path must include a common share at one level above the home folders. For
example, if you type \\Comp\Home\%username%, the policy creates home
folders on the share Home on the server Comp, with the name of the folder being
the same as the user logon name (pre-Windows 2000). The path
\\Comp\%username% is invalid.
l The folder on the network file share in which you want the policy to create home
folders must be listed in the Home Folder Location Restriction policy. For instructions
on how to view or modify the list see Configuring the Home Folder Location
Restriction policy later in this section.
l It ensures that the path and name of the home folder is in compliance the policy
settings. If a different path or name is specified upon creation or modification of a
user account, the policy does not allow the changes to the home folder path and
name to be committed to the directory.
l The Check Policy command causes the policy to verify the existing home folder
settings. The policy check results inform about policy violations, if any, and provide
the ability to fix the home folder path and name settings on user accounts so as to
bring them into compliance with the policy settings.
By selecting the Enforce this home folder setting in Active Directory check box, you
ensure that the home folders on user accounts are set in compliance with this policy.
By clearing the check box, you get the option of applying a Property Generation and
Validation policy in order to generate and validate the Home Drive and Home Directory
properties, and thus have Active Roles create and assign home folders in accordance
with the flexible, highly customizable rules provided by a Property Generation and
Validation policy.
To have the policy create home shares, select the Create home share when home
folder is created or renamed check box.
When you configure the policy to create home shares, you can specify the prefix and suffix
for the home share names.
Specifying a prefix and suffix allows you to establish a naming convention for home shares.
Suppose you want home shares to be displayed at the top of the list of shares. To do so,
you can use an underscore as the prefix. You may also assign a suffix to distinguish home
shares created by the policy. For example, to distinguish the home shares of users from
the Sales department, you could use the suffix _s. Then, when you create a user account
with the pre-Windows 2000 logon name set to JohnB, the policy will map the user’s home
folder to the selected drive and specify \\Server\_JohnB_s as the path to the home
folder. The policy will also create the share _JohnB_s that points to the folder
\\Server\Home\JohnB.
Optionally, in the Description box, you can type a comment about the home share. The
users will see it when viewing share properties.
You can also limit the number of users that can connect to the share at one time. Click
Maximum allowed or Allow this number of users. With the latter option, specify a
number in the box next to the option.
NOTE: For more information about the Home Folder AutoProvisioning policy
configuration options, see How to configure a Home Folder AutoProvisioning policy
earlier in this chapter.
If you have any other Policy Objects containing policies of the Home Folder
AutoProvisioning category, then you need to configure them as appropriate: Select or clear
the Create or rename home folder on file server as needed check box in each of
those policies depending on whether or not Active Roles should attempt creation or
renaming of home folders for user accounts that fall within the scope of the respective
Policy Object.
Another scenario may require Active Roles to create or rename home folders for user
accounts that are outside a certain scope (such as a certain domain, organizational unit,
or Managed Unit), whereas creation or renaming of home folders should not be
attempted on user accounts that fall within that particular scope. In this scenario, ensure
that the Create or rename home folder on file server as needed option is selected
in the built-in Policy Object. Then, create and configure a Policy Object containing a
policy of the Home Folder AutoProvisioning category with the Create or rename home
folder on file server as needed option un-selected, and apply that Policy Object to
the scope in question.
When adding a folder to the list, specify the UNC name of the folder. If you specify
the name in the form \\<Server>\<Share>, home folders can be created in any
folder on the network file share specified. If you specify the name in the form
\\<Server>\<Share>\<PathtoFolder>, home folders can be created in any sub-
folder of the folder.
1. Verify that the network file share on which you want the policy to create home
folders is listed in the Home Folder Location Restriction policy.
2. Create and configure a Policy Object that defines the appropriate policy.
3. Apply the Policy Object to a domain, OU, or Managed Unit.
As a result, when creating a user account in the container you selected in Step 3, Active
Roles creates the user home folder and assigns that folder to the user account.
The following sub-sections elaborate on the steps to implement this scenario.
l In the Connect box, select the drive letter to assign to the home folder (for
example, Z:).
l In the To box, type the path in the form \\server\share\%username% where
\\server\share is a valid UNC path to a network file share. For example, if you have
a network file share set up on the comp server, with the share name set to home,
you may specify the following path: \\comp\home\%username%
l Select the Apply this home folder setting when user account is
created check box.
As a result, the Home Folder Management page should look like the following figure.
Click Next and follow the steps in the wizard to create the Policy Object.
For more information on how to set up a Script Execution policy, see Steps for configuring
a Script Execution policy
TIP: Consider the following when planning to use custom scripts for your provi-
sioning policies:
l To help you configure Script Execution policies, Active Roles also ships with several
built-in Script Modules that you can use to set up your own Script Execution
policies. Find these built-in Script Modules in the following node of the Active
Roles MMC console:
Configuration > Script Modules > Builtin
l If the directory of your organization contains any cloud-only Azure users, then
use the built-in Generate User Password - Azure only script module to set
up a password generation policy for cloud-only Azure users that meets the
password strength criteria of both your organization and Microsoft Azure Active
Directory (AD).
NOTE: Policy Object settings specific to Azure cloud-only objects (such as cloud-only
Azure users, guest users, or contacts) are available only if your Active Roles deployment
is licensed for managing cloud-only Azure objects. Contact One Identity support for more
information.
Importing a script
To import a script file, in the console tree, right-click Script Modules, and click Import.
This displays the Import Script dialog box where you can select and open a script file.
Creating a script
To create a new script module, in the console tree, right-click Script Modules and select
New | Script Module. This opens the New Object - Script Module wizard.
TIP: It is advisable to store custom script modules in a separate container. You can
create a container as follows: Right-click Script Modules in the console tree, and
select New | Scripts Container. After you have created a container, you can have
the wizard add a script module to that container rather than directly to Script
Modules: right-click the container in the console tree and select New | Script
Module.
The first page of the wizard looks as shown in the following figure.
Type a name and description for the new script module, and select script language. Then
click Next. The next page looks as shown in the following figure.
On this page, select a type of the script module. Select Policy script to create a script that
will be used as part of the Policy Object. The other options are:
l Scheduled Task script. Script that you can schedule to run on the
Administration Service.
l Library script. Script to be used by other script modules. You can collect
commonly used functions into a standalone script module and include it in other
modules requiring those functions. This allows you to re-use some pieces of existing
scripts, thus reducing development effort and time.
On this page, select functions to be used in the script, and click Next. Then, click Finish to
create the script module.
For instructions and guidelines on how to develop policy scripts, refer to the Active Roles
Software Development Kit (SDK).
In the Active Roles console, you can view and modify scripts, both imported and
newly created.
Editing a script
To edit a script, select it in the console tree under Configuration/Script Modules. You
can view and modify the script in the details pane. To start editing the script, right-click the
script module and click Edit Script. Then, click Yes to confirm the operation. You can
make changes to the script in the details pane.
When you are editing the script, a red asterisk is displayed next to the name of the script
module in the console tree. This indicates the changes you are making to the script are not
saved. You can undo your changes or save them:
l To undo changes, press CTRL+Z. (The redo function is also available: press CTRL+Y.)
l To undo all unsaved changes, right-click the script module and click Discard
Changes. (This operation is irreversible: if you perform this command, your
changes to the script are lost.)
l To save the changes, right-click the script module and click Save Script on Server.
When the script module is ready, you can proceed to configuring a script policy that will use
the prepared script module.
On this page, click Select a script module and select the script module. Then, click Next
and follow the instructions in the wizard to create the Policy Object.
1. On the Policy to Configure page, select Script Execution, and then click Next.
2. On the Script Module page, do one of the following:
l To use an existing script module, click Select a script module, and select the
script module in the box beneath this option.
l To create a new script module, click Create a new script module, and click
Next. Then, specify a name for the script module, and click Next. Then, select
the event handlers you want the script module to include.
3. Click Next.
4. On the Policy Parameters page, do the following:
a. If necessary, from the Function to declare parameters list, choose the
function that defines the parameters specific to this policy.
The list contains the names of all script functions found in the selected Script
Module. The policy has the parameters that are defined by the function
specified in the Function to declare parameters box. Normally, this is a
function named onInit.
a. Under Parameter values, view or change the values of the policy
parameters. To change the value of a parameter, select the name of the
parameter and click Edit.
Clicking Edit displays a page where you can add, remove, or select a value or
values for the selected parameter. For each parameter, the function that is
used to declare parameters defines the name of the parameter and other
characteristics, such as a description, a list of possible values, the default
value, and whether a value is required. If a list of possible values is defined,
then you can only select values from that list.
5. On the Enforce Policy page, you can specify objects to which this Policy Object is to
be applied:
l Click Add, and use the Select Objects dialog box to locate and select the
objects you want.
6. Click Next, and then click Finish.
1. In the console tree, under Configuration | Script Modules, locate and select the
folder in which you want to add the script module.
You can create a new folder as follows: Right-click Script Modules and select New
| Scripts Container. Similarly, you can create a sub-folder in a folder: Right-click
the folder and select New | Scripts Container.
1. In the console tree, under Configuration | Script Modules, locate and select the
folder in which you want to add the script module.
You can create a new folder as follows: Right-click Script Modules and select New
| Scripts Container. Similarly, you can create a sub-folder in a folder: Right-click
the folder and select New | Scripts Container.
As a result, the Active Roles console or Web Interface cannot be used to set the universal
group scope option when creating a new group or changing an existing group in the
container you selected in Step 3. For example, if you choose the Universal option under
Group scope and then click Next in the New Object - Group wizard, the Active Roles
console presents you with an error message stating that creation of universal groups is
not allowed.
The following sections elaborate on the steps to implement this scenario.
Click Next and follow the instructions in the wizard to create the Policy Object.
l Validate the selected Azure tenants for Azure users, guest users, O365 Groups
and contacts.
l Select O365 Licenses for Azure users and guest users.
l Select O365 Roles for Azure users and guest users.
l Preprovision OneDrive for Azure users.
Prerequisites
Consider the following before configuring an O365 and Azure Tenant Selection policy:
l The OneDrive settings of this policy are applicable to hybrid Azure users only, and
will work only if you have already enabled OneDrive for your Azure tenant in the
Azure AD Configuration > Modify (Tenant details) window of the Active Roles
Configuration Center. For more information on enabling OneDrive for Azure users in
an Azure tenant, see Enabling OneDrive in an Azure tenant.
l To configure an O365 and Azure Tenant Selection policy, your Organizational
Unit (OU) must already have the Azure - Default Rules to Generate Properties
built-in policy configured. For more information on configuring the policy, see
Configuring the Azure - Default Rules to Generate Properties policy.
1. From the Web interface, assign, or modify the Office 365 license for an Azure
AD User.
The Policy is triggered for any Azure AD user in the Organization Unit for which the
O365 and Azure Tenant selection policy is applied.
If the policy conditions are not satisfied while assigning or modifying Azure AD User
licenses, the following policy violation error is displayed:
Provisioning policy failure. The 'O365 and Azure Tenant Selection' policy encountered
an error. Exception in Azure Tenant Management Policy violation: The Azure user
License(s) O365_BUSINESS_ESSENTIALS-PROJECTWORKMANAGEMENT, cannot be
assigned. The policy prescribes that this Azure User requires only the specified
license in the policy object to be assigned.
2. Right-click and click Check Policy to check if there are any policy violations
For a container object, this displays the Check Policy dialog box.
3. Review the options in the Check Policy dialog box and click OK.
The Policy Check Results window is displayed.
IMPORTANT: Office 365 user license management now allows Administrator to
select a subset of the licenses selected in policy during user creation or
modification.
1. From the Web interface, create an Azure AD User, and assign a valid SharePoint
Online license.
2. After the user is created, the OneDrive provisioning process is performed in the
background and after some time the process is completed.
NOTE:
l If the SharePoint Admin URL is incorrect then the OneDrive provisioning is
not successful.
l For an existing Azure AD user, during modification of user properties:
When configuring a policy of this category, you specify how you want Active Roles to
modify the user’s account in Active Directory upon a request to deprovision a user so
that once the deprovision operation is completed, the deprovisioned user cannot log on to
the network.
You may also configure a policy to update any user properties, such as those that regulate
users’ membership in Active Roles Managed Units. In this way, the policy can automate the
addition or removal of deprovisioned users from Managed Units.
l Certain portions of account information are removed from the directory by resetting
specified properties to empty values.
l Certain properties of user accounts are set to new, non-empty values.
Thus, when deprovisioning a user, Active Roles modifies the user’s account in Active
Directory as determined by the User Account Deprovisioning policy that is in effect.
On this page, you can select options that make the account ineligible for logon. The option
names are self-explanatory:
Select check boxes next to the options you want the policy to apply.
User Property Adds a selected property (or a part of a property) of the user
account being deprovisioned.
Parent Domain Adds a selected property (or a part of a property) of the domain
Property of the user account being deprovisioned.
Date and Time Adds the date and time when the account was deprovisioned.
Initiator ID Adds a string that identifies the Initiator, that is, the user who
originated the deprovisioning request. This entry is composed of
Initiator-related properties, retrieved from the directory.
Instructions on how to configure an entry depend on the type of the entry. You can use the
instructions outlined in the How to configure a Property Generation and Validation policy
section earlier in this chapter to configure an entry of any of these types:
Using this entry type, you can add an entry that represents the date and time when the
user account was deprovisioned.
In the list under Date and time format, click the date or time format you want. Then,
click OK to close the Add Entry window.
With this entry type, you can add a string that identifies the Initiator, that is, the user who
originated the deprovisioning request. The policy generates the Initiator ID based on
certain properties of the Initiator’s account, such as the user logon name. A custom rule
can be configured to use other properties.
You can choose a pre-configured rule or configure a custom rule to generate the Initiator
ID. The pre-configured rules allow you to set the Initiator ID to one of the following:
l The pre-Windows 2000 user logon name of the Initiator, in the form
DomainName\UserName
l The user logon name of the Initiator
A custom rule allows you to compose the Initiator ID of other Initiator-related properties.
Table 22: Available entries for Configuring a custom rule to build the Initiator
ID
Parent Domain Adds a selected property (or a part of a property) of the domain
Property of the Initiator’s user account.
Instructions on how to configure an entry depend on the type of the entry. For each type of
entry, you can find the instructions in the How to configure a Property Generation and
Validation policy section, earlier in this chapter:
When you are done configuring a value for the ‘Initiator ID’ must be condition, click
OK to close the Configure Value dialog box. This will add the value to the Initiator ID
entry properties. If necessary, you can modify the value by clicking the Configure
button in the Add Entry window and then managing the list of entries in the Configure
Value dialog box.
When you are done configuring the Initiator ID entry, click OK to close the Add Entry
window. The entry is added to the Configure Value dialog box for the ‘name’ must
be condition.
When you are done configuring a value for the ‘name’ must be condition, click OK to
close the Configure Value dialog box. This will add the rule to the Options to Prevent
Logon page of the wizard. If necessary, you can modify the rule by clicking the
Configure button on that page and then managing the list of entries in the Configure
Value dialog box.
Once you have completed the Options to Prevent Logon page, click Next to display the
Properties to Be Updated page.
On this page, you can set up a list of user properties you want the policy to update. Each
entry in the list includes the following information:
l Property. When deprovisioning a user, Active Roles will update this property of the
user’s account.
l LDAP Display Name. Uniquely identifies the property to be updated.
l Value to Assign. After the deprovisioning operation is completed, the property has
the value defined by this syntax.
You can use these buttons to manage the list on this page:
l Add. Allows you to select a user property and configure an update rule for that
property. A property update rule specifies how to generate the new value to assign to
the property.
l Remove. If you want the policy to no longer update a given property, select the
property from the list and click Remove.
l View/Edit. Allows you to modify the update rule for the property you select
from the list.
Clicking the Add button displays the Select Object Property dialog box where you can
choose user properties you want to the policy to update. To choose a property, select the
check box next to the property name, and then click OK.
You can select multiple check boxes. If you do so, the properties you have selected are
added to the list on the wizard page, with the update rule configured to clear those
properties, that is, to assign them the empty value.
If you select a single property in the Select Object Property dialog box, you are
presented with the Add Value dialog box so you can proceed to configuring a property
update rule.
l Clear value. Causes the policy to assign the empty value to the property.
l Configure value. Allows you to configure a value for the ‘property’ must
be condition.
With the second option, you must configure a value the policy will assign to the property
upon the user deprovisioning. You can configure a value in the same way as you do
when configuring a property update rule for the user name: Click the Configure button
and follow the instructions provided earlier in this section (see Configuring a property
update rule).
When you are done configuring a value, click OK to close the Add Value dialog box. The
property name along with the property update rule is added to the wizard page. If
necessary, you can modify the update rule by clicking the View/Edit button beneath the
list of properties. This displays a dialog box, similar to the Add Value dialog box, allowing
you to choose a different update option or set up a different value for the ‘property’ must
be condition.
Once you have set up the list on the wizard page, click Next and follow the instructions in
the wizard to create the Policy Object.
1. On the Policy to Configure page, select User Account Deprovisioning, and then
click Next.
2. On the Option to Prevent Logon page, select the options you want the policy to
apply when deprovisioning a user account. You can select any combination of these
options:
l Disable the user account
l Set the user’s password to a random value
1. Click Add.
2. Configure an entry to include in the value (for instructions, see Steps for
configuring entries).
3. In the Configure Value dialog box, add more entries, delete or edit existing ones,
and then click OK.
1. From the Object property list, select an object property, and then click OK. The
Add Value dialog box appears.
If you select multiple properties, the Add Value dialog box is not displayed. The
properties you have selected are added to the list on the Properties to Be
Updated page, with the update rule configured to clear those properties, that is, to
assign them the “empty” value.
For example, the policy changes the user name John Smith to John Smith -
Deprovisioned 12/11/2010.
To implement this scenario, you must perform the following actions:
1. Create and configure the Policy Object that defines the appropriate policy.
2. Apply the Policy Object to a domain, OU, or Managed Unit.
As a result, when deprovisioning a user account in the container you selected in Step 2,
Active Roles disables and renames the user account as prescribed by this policy.
The following two sections elaborate on the steps to implement this scenario.
Then, click the Configure button, and use the following instructions to complete the
Configure Value dialog box.
1. Click Add.
2. In the Add Entry window, click User Property under Entry type, and configure
the entry as follows:
a. Click Select and choose the Name property.
b. Click All characters of the property value.
After you complete these steps, the list of entries in the Configure Value dialog box
should look like the following figure.
Click OK to close the Configure Value dialog box. Then, click Next and follow the
instructions in the wizard to create the Policy Object.
As a result, after deprovisioning a user account in the container you selected in Step 3,
Active Roles automatically adds that account to the Managed Unit you created in Step 1.
The following sections elaborate on the steps to implement this scenario.
1. In the console tree, under Configuration, right-click Managed Units, and select
New | Managed Unit.
2. In Name, type a name for the Managed Unit. For example, you might type
Deprovisioned Users.
3. Click Next.
4. Configure the membership rule to have the Managed Unit include the
deprovisioned user accounts from all domains that are registered with Active Roles
(managed domains):
a. On the wizard page, click Add.
b. In the Membership Rule Type dialog box, click Include by Query, and
then click OK.
c. Use the Create Membership Rule window to set up the rule:
l In Find, click Users.
l Click Browse and select Active Directory.
l Click the Advanced tab.
l Click the Field button, and then click Notes.
l In Condition, click Is (exactly).
l In Value, type Deprovisioned.
At this stage, the window should look like the following figure.
Click OK to close the Group Object Deprovisioning Policy Properties dialog box.
1. On the Scope tab, click the Scope button to display the Active Roles Policy Scope
window for the Policy Object you are managing.
2. Click Add and select the domain, OU, or Managed Unit where you want to
apply the policy.
3. Click OK to close the Active Roles Policy Scope window.
4. Click OK to close the Properties dialog box for the Policy Object.
For more information on how to apply a Policy Object, see Applying Policy Objects and
Managing policy scope earlier in this chapter.
NOTE:
1. On the Policy to Configure page, select Office 365 License Retention, and then
click Next.
2. On the Office 365 Licenses Retention page, select the options you want the policy to
apply when deprovisioning the Azure AD user.
l Select the tenant from which the licenses have to be retained for the user from
the drop-down list.
l Select the check box corresponding to Retain all the licenses option to enable
the deprovisioned Azure AD user to retain all the Office 365 licenses after
successful deprovisioning.
l Select the check boxes corresponding to the specific Office 365 subscription
plans and licenses that the deprovisioned Azure AD must retain after successful
deprovisioning.
3. Click Next.
IMPORTANT: The deprovisioned users are automatically removed from all Dynamic
Groups, regardless of the Group Membership Removal policy settings.
A Group Membership Removal policy includes separate rules for security groups and for
mail-enabled groups. For each category of groups, a rule can instruct Active Roles to
perform one of the actions that are summarized in the following table.
Security Do not remove The deprovisioned user remains in all security groups it
groups from groups. was a member of as of the time of deprovisioning,
except for the Dynamic Groups.
Remove from all The deprovisioned user is removed from all security
groups. groups.
Remove from all The deprovisioned user is not removed from the
groups except specified security groups, with the exception of
for the specified Dynamic Groups. The user is removed from all the
ones. other security groups.
Mail- Do not remove The deprovisioned user is not removed from distribution
enabled from groups. groups or mail-enabled security groups, except for the
groups Dynamic Groups.
Remove from all The deprovisioned user is removed from all distribution
groups. groups and from all mail-enabled security groups.
Remove from all The deprovisioned user is not removed from the
groups except specified distribution or mail-enabled security groups,
for the specified with the exception of Dynamic Groups. The user is
ones. removed from all the other distribution and mail-
enabled security groups.
In the event of a conflict in policy implementation, the remove action takes precedence.
For example, with a rule configured to remove the user account from all security groups,
the user account is removed from all security groups even if there is another rule
according to which Active Roles does not remove the user account from mail-enabled
security groups.
Another conflict may occur in the situation where a policy of this category attempts to
remove a deprovisioned user from a group that is configured as Active Roles’ Dynamic
Group (see the Dynamic Groups chapter, later in this document). The Dynamic Group
policy detects the removal, and might add the deprovisioned user back to the Dynamic
Group. To avoid such a situation, Active Roles does not allow Dynamic Groups to hold
deprovisioned users. Once a user is deprovisioned, the user’s account is removed from all
Dynamic Groups.
On this page, you can configure a rule on how to remove a deprovisioned user from
security groups.
Select one of these options:
l Click Do not remove from security groups for the policy not to make changes to
security group memberships of the user account.
l Click Remove from all security groups, with optional exceptions for the
policy to remove the user account from all security groups.
With the second option, you can specify whether you want the policy not to remove the
user account from certain security groups. To set up a list of such groups, select the Keep
the user account in these security groups check box, and then click the Add button
and select the groups you want to include in the list.
When you are done configuring the rule for security groups, click Next to display the
Removal from Mail-enabled Groups page.
This page is similar to the previous one. It allows you to configure a rule on how to remove
a user account from both distribution groups and mail-enabled security groups, which are
collectively referred to as mail-enabled groups.
Select one of these options:
l Click Do not remove from mail-enabled groups for the policy not to make
changes to mail-enabled group memberships of the user account.
l Click Remove from all mail-enabled groups, with optional exceptions for the
policy to remove the user account from all mail-enabled groups.
With the second option, you can specify whether you want the policy not to remove the
user account from certain mail-enabled groups. To set up a list of such groups, select the
Keep the user account in these mail-enabled groups check box, and then click the
Add button and select the groups you want to include in the list.
When you are done configuring the rule for mail-enabled groups, click Next and follow the
instructions in the wizard to create the Policy Object.
1. On the Policy to Configure page, select Group Membership Removal, and then
click Next.
As a result, when deprovisioning a user account in the container you selected in Step 2,
Active Roles removes the user account from all groups.
The following two sections elaborate on the steps to implement this scenario.
When configuring a policy of this category, you specify how you want Active Roles to
modify the user’s account and mailbox upon a request to deprovision a user. The purpose is
to reduce the volume of e-mail sent to the mailbox of the deprovisioned user, and to
authorize designated persons to monitor such e-mail.
Hide the mailbox from Prevents the deprovisioned user from appearing in your
the Global Address List Exchange organization’s address lists. If you select this option,
(GAL) the deprovisioned user is hidden from all address lists.
This option renders the mailbox inaccessible. You cannot log
on to Exchange Server as the mailbox user or otherwise
access the hidden mailbox.
Grant the user’s Provides the person designated as the deprovisioned user’s
manager full access to manager with full access to the mailbox of that user. The
the mailbox manager is determined based on the Manager attribute of the
deprovisioned user account in Active Directory.
Grant the selected users Provides the specified users or groups with full access to the
or groups full access to deprovisioned user’s mailbox.
the mailbox
recipients
Forward all incoming E-mail addressed to the deprovisioned user is forwarded to the
messages to the user’s user’s manager. The manager is determined based on the
manager Manager attribute of the deprovisioned user account in Active
Directory.
Don’t change the Active Roles makes no changes to the Automatic Replies
mailbox autoreply configuration of the mailbox. Thus, if the mailbox is configured
settings to send automatic replies, deprovisioning the mailbox user
does not cause the mailbox to stop sending automatic replies.
Automatically reply with Active Roles configures the mailbox to send the Automatic
the following messages Replies messages specified by the policy. This option provides
(once for each sender) for the following policy settings:
On this page, you can select the Exchange mailbox deprovisioning options you want Active
Roles to apply when deprovisioning a user. The names of the first four options are self-
explanatory (also see the table above):
l Hide the mailbox from the global address list (GAL), to prevent access to the
mailbox.
l Prevent non-delivery reports (NDR) from being sent.
l Grant the user’s manager full access to the mailbox.
l Grant the selected users or groups full access to the mailbox.
Select check boxes next to the options you want to apply. The fourth option requires that
you click the Select button to choose users or groups. The users and groups you select will
be authorized to access the mailboxes of the deprovisioned users.
You can also configure the policy to modify the forwarding address for the deprovisioned
users. If you select the Modify configuration of the e-mail forwarding check box, the
policy sets the forwarding address to one of the following:
l None. To specify that e-mail messages addressed to a deprovisioned user are not to
be forwarded, click Disallow forwarding messages to alternate recipients.
l User’s manager. To specify that e-mail messages addressed to a deprovisioned
user are to be sent to the manager of that user, click Forward all incoming
messages to the user’s manager.
The second option allows you to specify whether e-mail messages addressed to the
deprovisioned user should be delivered to the mailbox of that user:
Click Next to display the Automatic Replies, and choose from the following options
on that page:
l Don’t change the mailbox autoreply settings. Leaves the Automatic Replies
configuration of the mailbox intact. Thus, if the mailbox is configured to send
automatic replies, deprovisioning the mailbox user does not cause the mailbox to
stop sending automatic replies.
l Automatically reply with the following messages (once for each sender).
Changes the Automatic Replies configuration of the mailbox to send automatic
replies. You can specify separate autoreply messages for people inside and outside
the user’s organization.
When you are done, click Next and follow the instructions in the wizard to create the
Policy Object.
1. Create and configure the Policy Object that defines the appropriate policy.
2. Apply the Policy Object to a domain, OU, or Managed Unit.
As a result, when deprovisioning a user account in the container you selected in Step 2,
Active Roles hides the deprovisioned user from the Exchange address lists and configures
the forwarding address for that user as prescribed by this policy.
The following two sections elaborate on the steps to implement this scenario.
l Hide the mailbox from the global address list (GAL), to prevent access to the
mailbox.
l Modify configuration of the e-mail forwarding.
Make sure that no other check boxes on the page are selected. Then, click Forward all
incoming messages to the user’s manager and clear the Leave copies in the
mailbox check box.
When you are done, click Next and follow the instructions in the wizard to create the
Policy Object.
When configuring a policy in this category, you specify how you want Active Roles to
modify security on the user’s home folder upon a request to deprovision a user, and
whether you want Active Roles to delete home folders upon user account deletion. The
purpose is to prevent deprovisioned users from accessing their home folders, and to
authorize designated persons to access deprovisioned home folders.
Remove the user’s Modifies the home folder security so that the deprovisioned
permissions on the home user cannot access his or her home folder.
folder
Grant the user’s manager Makes it possible for the person designated as the
read access to the home deprovisioned user’s manager to view and retrieve data
folder from the home folder of that user. The manager is
determined based on the Manager attribute of the
deprovisioned user account in Active Directory.
Grant selected users or Makes it possible for the specified users or groups to view
groups read access to the and retrieve data from the deprovisioned user’s home
home folder folder.
Make the selected user or Designates the specified user or group as the owner of the
group the owner of the deprovisioned user’s home folder. The owner is authorized
home folder to control how permissions are set on the folder, and can
grant permissions to others.
Delete the home folder Upon the deletion of a user account, analyzes whether the
when the user account is user’s home folder is empty, and then deletes or retains the
deleted home folder, depending on the policy configuration. A policy
can be configured to only delete empty folders. Another
option is to delete both empty and non-empty folders.
On this page, you can select the home folder deprovisioning options you want Active Roles
to apply when deprovisioning a user.
The names of the first four options are self-explanatory. These refer to the policy options
summarized in the table above:
l If home folder is empty. Prevents Active Roles from deleting not empty
home folders. If a given home folder contains any data, the policy does not
delete that folder.
l Always. Allows Active Roles to delete both empty and not empty home folders.
Regardless of whether a given home folder contains any data, the policy deletes that
folder upon user account deletion.
When you are done, click Next and follow the instructions in the wizard to create the
Policy Object.
1. On the Policy to Configure page, select Home Folder Deprovisioning, and then
click Next.
2. On the Options to Deprovision Home Folder page, select the options you want
the policy to apply when deprovisioning a user account. You can select any
combination of these options to deprovision the home folder for the deprovisioned
user account:
l Remove the user’s permissions on the home folder.
l Grant the user’s manager read-only access to the home folder.
l Grant these users or groups read-only access to the home folder.
l Make this user or group the owner of the home folder.
l Delete the home folder when the user account is deleted.
l Removes all permissions the user had to his or her home folder.
l Designates the Administrators group as the owner of deprovisioned home folders.
1. Create and configure the Policy Object that defines the appropriate policy.
2. Apply the Policy Object to a domain, OU, or Managed Unit.
As a result, when deprovisioning a user account in the container you selected in Step 2,
Active Roles modifies the security on the user’s home folder as prescribed by this policy.
The following two sections elaborate on the steps to implement this scenario.
On this page, you can choose whether you want the policy to move deprovisioned user
accounts, and select the destination container for the move operation.
First, select one of these options:
l Click Do not move the object for the policy to leave deprovisioned user accounts
in their original locations. With this option, each deprovisioned user account remains
in the organizational unit it was in when it was deprovisioned.
l Click Move the object to this container for the policy to place deprovisioned user
accounts to a certain container. With this option, each deprovisioned user account is
moved from its original location to a specified organizational unit.
The second option requires that you specify the organizational unit to which you want the
policy to move deprovisioned user accounts. Click the Select button, and then choose the
organizational unit you want.
When you are done, click Next and follow the instructions in the wizard to create the
Policy Object.
1. Create and configure the Policy Object that defines the appropriate policy.
2. Apply the Policy Object to a domain, OU, or Managed Unit.
As a result, after deprovisioning a user account in the container you selected in Step 2,
Active Roles automatically moves that account to the organizational unit determined by
the policy configuration. The following two sections elaborate on the steps to implement
this scenario.
On this page, you can choose whether you want the policy to schedule deprovisioned
user accounts for deletion, and specify the number of days to retain deprovisioned
user accounts.
First, select one of these options:
If you select the second option, you must specify a number of days in the box beneath that
option. Once a user account has been deprovisioned, and the specified number of days has
passed, the policy causes Active Roles to delete the user account in Active Directory.
If you select the third option, you should apply this policy to domains that have Active
Directory Recycle Bin enabled; otherwise, the policy will have no effect. With this option,
once a user account has been deprovisioned, the policy causes Active Roles to delete the
user account immediately. In a domain where Active Directory Recycle Bin is enabled, this
deletion merely means that the account is marked as deleted and moved to a certain
container from which it can be restored, if necessary, without any data loss.
1. Create and configure the Policy Object that defines the appropriate policy.
2. Apply the Policy Object to a domain, OU, or Managed Unit.
As a result, after deprovisioning a user account in the container you selected in Step 2,
Active Roles retains the deprovisioned account for 90 days and then it deletes that account.
In addition, the policy can be configured to change or clear any other properties of a group,
such as the pre-Windows 2000 name, e-mail addresses, or description.
l Properties of the group being deprovisioned, retrieved from the directory prior to
starting the process of the group deprovisioning
l Properties of the user who originated the deprovisioning request
l Date and time when the group was deprovisioned
Thus, when deprovisioning a group, Active Roles modifies the group object in Active
Directory as determined by the Group Object Deprovisioning policy that is in effect.
l Change the group type from Security to Distribution. Revokes access rights
from deprovisioned groups. This option is applicable only to security groups.
l Hide the group from the Global Address List (GAL). Prevents access to
deprovisioned groups from Exchange Server client applications. This option is
applicable to distribution groups or mail-enabled security groups.
l Rename the group to. Changes the name of the group.
Select the check box next to each option you want the policy to apply.
By selecting the Rename the group to check box, you direct the policy to change the
name of the group. This option allows you to configure a property update rule that specifies
how to modify the group name. Click the Configure button and follow the instructions
provided in the Configuring a property update rule section, earlier in this chapter.
Once you have completed the Disable Group page, click Next to display the Remove
Members page.
On this page, you can configure a rule on how to remove members from
deprovisioned groups.
Select one of these options:
l Click Do not remove members from the group if you want the policy not to
remove members from deprovisioned groups.
l Click Remove all members, with optional exceptions if you want the policy to
remove members from deprovisioned groups.
With the second option, you can specify whether you want the policy not to remove certain
objects from deprovisioned groups. To set up a list of such objects, select the Keep these
objects in the group check box, and then click the Add button and select the objects you
want to include in the list.
Once you have completed the Remove Members page, click Next to display the Change
Properties page.
On this page, you can set up a list of group properties you want the policy to update. Each
entry in the list includes the following information:
l Property. When deprovisioning a group, Active Roles will update this property of the
group object in Active Directory.
l LDAP Display Name. Uniquely identifies the property to be updated.
l Value to Assign. After the deprovisioning operation is completed, the property has
the value defined by the rule specified.
You can use these buttons to manage the list on this page:
l Add. Allows you to select a property and configure an update rule for that
property. A property update rule specifies how to generate the new value to assign
to the property.
l Remove. If you want the policy to no longer update a given property, select the
property from the list and click Remove.
l View/Edit. Allows you to modify the update rule for the property you select
from the list.
Clicking the Add button displays the Select Object Property dialog box where you can
choose group properties you want to the policy to update. To choose a property, select the
check box next to the property name, and then click OK.
You can select multiple check boxes. If you do so, the properties you have selected are
added to the list on the wizard page, with the update rule configured to clear those
properties, that is, to assign them the empty value.
l Clear value. Causes the policy to assign the “empty” value to the property.
l Configure value. Allows you to configure a value for the ‘property’ must
be condition.
With the second option, you must configure a value the policy will assign to the property
upon the group deprovisioning. You can configure a value in the same way as you do when
configuring a property update rule for the user name: Click the Configure button and
follow the instructions provided in the Configuring a property update rule section, earlier in
this chapter.
When you are done configuring a value, click OK to close the Add Value dialog box. The
property name along with the property update rule is added to the wizard page. If
necessary, you can modify the update rule by clicking the View/Edit button beneath the
list of properties. This displays a dialog box, similar to the Add Value dialog box, allowing
you to choose a different update option or set up a different value for the ‘property’ must
be condition.
Once you have set up the list on the wizard page, click Next and follow the instructions in
the wizard to create the Policy Object.
1. On the Policy to Configure page, select Group Object Deprovisioning, and then
click Next.
2. On the Disable Group page, select the options you want the policy to apply when
deprovisioning a group. You can select any combination of these options to prevent
1. Click Add.
2. Configure an entry to include in the value (for instructions, see Steps for
configuring entries).
3. In the Configure Value dialog box, add more entries, delete or edit existing ones,
and then click OK.
1. From the Object property list, select an object property, and then click OK. The
Add Value dialog box appears.
If you select multiple properties, the Add Value dialog box is not displayed. The
properties you have selected are added to the list on the Change Properties page,
with the update rule configured to clear those properties, that is, to assign them the
empty value.
l When deprovisioning a security group, change the type of the group to Distribution.
l When deprovisioning a distribution group, remove the group from the Global
Address List.
l Append this suffix to the group name: - Deprovisioned, followed by the date when
the group was deprovisioned.
For example, the policy changes the group name of Partner Marketing to Partner
Marketing - Deprovisioned 12/11/2013.
To implement this scenario, you must perform the following actions:
1. Create and configure the Policy Object that defines the appropriate policy.
2. Apply the Policy Object to a domain, OU, or Managed Unit.
As a result, when deprovisioning a group in the container you selected in Step 2, Active
Roles disables and renames the group as prescribed by this policy.
The following two sections elaborate on the steps to implement this scenario.
Then, type the following text in the box beneath the Rename the group to option:
%<name> - Deprovisioned {@date(M/d/yyyy)}
Click Next and follow the instructions in the wizard to create the Policy Object.
As a result, after deprovisioning a group in the container you selected in Step 3, Active
Roles automatically adds that group to the Managed Unit you created in Step 1.
The following sections elaborate on the steps to implement this scenario.
Click OK to close the Group Object Deprovisioning Policy Properties dialog box.
On this page, you can choose whether you want the policy to move deprovisioned group
objects, and select the destination container for the move operation.
First, select one of these options:
l Click Do not move the object for the policy to leave deprovisioned group objects
in their original locations. With this option, each deprovisioned group object remains
in the organizational unit it was in when it was deprovisioned.
l Click Move the object to this container for the policy to place deprovisioned
group objects to a certain container. With this option, each deprovisioned group
object is moved from its original location to a specified organizational unit.
1. Create and configure the Policy Object that defines the appropriate policy.
2. Apply the Policy Object to a domain, OU, or Managed Unit.
As a result, after deprovisioning a group in the container you selected in Step 2, Active
Roles automatically moves that group to the organizational unit determined by the
policy configuration. The following two sections elaborate on the steps to implement
this scenario.
On this page, you can choose whether you want the policy to schedule deprovisioned
groups for deletion, and specify the number of days to retain deprovisioned group objects.
First, select one of these options:
If you select the second option, you must specify a number of days in the box beneath that
option. Once a group has been deprovisioned, and the specified number of days has
passed, the policy causes Active Roles to delete the group object in Active Directory.
If you select the third option, you should apply this policy to domains that have Active
Directory Recycle Bin enabled; otherwise, the policy will have no effect. With this option,
once a group has been deprovisioned, the policy causes Active Roles to delete the group
object immediately. In a domain where Active Directory Recycle Bin is enabled, this
deletion merely means that the object is marked as deleted and moved to a certain
container from which it can be restored, if necessary, without any data loss.
1. On the Policy to Configure page, select Group Object Permanent Deletion. and
the click Next.
2. On the Deletion Options page, do one the following:
l Click Do not automatically delete the object if you want the policy not to
delete deprovisioned groups.
l Click Delete the object after retention period if you want the policy to
schedule deprovisioned groups for deletion. Then, in Retention period
(days), specify the number of days to retain the deprovisioned group before it
is deleted.
l Click Delete the object to Active Directory Recycle Bin immediately if
you want the policy to move deprovisioned group objects to Recycle Bin.
Click Next.
If you select the third option, you should apply this policy to domains that have
Active Directory Recycle Bin enabled; otherwise, the policy will have no effect. With
this option, once a group has been deprovisioned, Active Roles deletes the
deprovisioned group immediately. In a domain where Active Directory Recycle Bin is
enabled, this means that the group object is marked as deleted and moved to a
certain container from which it can be restored, if necessary, without any data loss.
3. On the Enforce Policy window, you can specify objects to which this Policy Object is
to be applied:
1. Create and configure the Policy Object that defines the appropriate policy.
2. Apply the Policy Object to a domain, OU, or Managed Unit.
As a result, after deprovisioning a group in the container you selected in Step 2, Active
Roles retains the deprovisioned group object for 90 days and then it deletes that object.
Notification Distribution
Policies in this category are intended to automatically generate and send e-mail
notifications upon deprovisioning requests. The primary purpose of such a policy is to
notify designated persons about a request to deprovision a given object so as to take
NOTE: By default, the Outgoing mail server (SMTP) list includes a single entry.
You can add more entries to the list using the Active Roles console. In the console
tree, expand Configuration/Server Configuration, right-click Mail
Configuration, select New | Mail Configuration, and then follow the instructions
in the wizard.
Each e-mail configuration specifies an SMTP server and provides information required to
connect to that server. You can view and modify configuration parameters by clicking the
Settings button.
l Outgoing mail server (SMTP). Specify the fully qualified address of the SMTP
server to use, such as smtp.mycompany.com.
l Port number Specify the port number to connect to on the SMTP server. Normally,
the SMTP server has this port number set to 25.
When you are done configuring the e-mail server-related settings, click OK to close the
Properties dialog box for the e-mail configuration. Then, click Next and follow the
instructions in the wizard to create the Policy Object.
Report Distribution
Policies in this category are intended to automatically send a report on deprovisioning
results upon completion of a deprovisioning operation. The primary purpose of such a
policy is to inform designated persons about problems, if any encountered, when
processing deprovisioning requests. These reports are discussed later in this chapter (see
the Report on deprovisioning results section).
Reports are delivered via e-mail. When configuring a Report Distribution policy, you can
set up a list of report recipients, customize the subject of report messages, and specify
whether to send a report if no errors occurred.
NOTE: Active Roles retrieves the attribute value prior to starting the deprovisioning
operation so the value is current as of the time the deprovisioning process begins.
Even if you have a deprovisioning policy configured to update a given attribute, the
message reads the original rather than updated value of that attribute.
If you want the policy to send out the report regardless of whether or not the
deprovisioning operation is completed without any errors, clear the Send out the report
only if any errors occur check box; otherwise, the report is not sent if the object was
deprovisioned without errors.
When you are done, click Next to display the Outgoing Mail Server page.
This page is similar to the respective wizard page for Notification Distribution policies (see
How to configure a Notification Distribution policy). You can select the e-mail configuration
you want the policy to use, and view or modify e-mail settings in the selected
configuration.
First, from the Outgoing mail server (SMTP) list, select the e-mail configuration you
want the policy to use.
NOTE: By default, the Outgoing mail server (SMTP) list includes a single entry.
You can add more entries to the list using the Active Roles console. In the console
tree, expand Configuration/Server Configuration, right-click Mail
Configuration, select New | Mail Configuration, and then follow the instructions
in the wizard.
Each e-mail configuration specifies an SMTP server and provides information required to
connect to that server. You can view and modify configuration parameters by clicking the
Settings button. For instructions, see Configuring e-mail settings earlier in this chapter.
When you are done, click Next and follow the instructions in the wizard to create the
Policy Object.
1. On the Policy to Configure page, select Report Distribution Policy, and then
click Next.
2. On the Report Recipients and Message page, do the following, and then
click Next:
l Click the button next to Report recipients, and then select one or more e-
mail recipients.
l In Message Subject, type the subject of the message that the specified
recipients will receive upon completion of a deprovisioning operation.
l Select the Send out the report only if any errors occur check box if you
want the policy not to send the report if no errors occurred during the
deprovisioning operation. Clear the check box if you want the policy to send the
report regardless of whether or not any errors occurred.
3. On the Outgoing Mail Server page, select the e-mail configuration you want the
policy to use. In the Outgoing mail server (SMTP) list, click the appropriate
mail settings.
4. If you want to view or modify the selected mail settings, click Settings, and use the
Mail Setup tab (see Configuring e-mail settings earlier in this document).
5. Click Next.
6. On the Enforce Policy page, you can specify objects to which this Policy Object is to
be applied:
l Click Add, and use the Select Objects dialog box to locate and select the
objects you want.
7. Click Next, and then click Finish.
Deployment considerations
Active Roles enforces policies by applying Policy Objects to promote data integrity
throughout the directory. This is done by generating and validating the data entered into
the directory. Each Policy Object is basically a container that holds one or more policy
l Any policies that are intended to affect the entire domain should be included into a
Policy Object linked at the domain level. If needed, filtering can be used to
exclude specific objects or containers (Organizational Units) from being processed
by these policies.
l If more than one object or containers needs to be excluded from the effect of a
domain-wide policy, it is best to include those objects or containers explicitly into a
Managed Unit and then apply policy filtering to that Managed Unit by using the Block
Inheritance option.
From here, the best way to apply policies is at the top level of the directory tree they will
affect. Usually, however policies are only needed to affect certain Organizational Units
within the tree. In this case, a Managed Unit is the most effective way to apply the policies.
Include the desired Organizational Units explicitly into a Managed Unit, and then link the
Policy Object to that Managed Unit.
A policy consists of three major components. These are:
Typically, a single Policy Object includes all the entries for a specific set of policies. It is
not efficient to create one entry per Policy Object since this defeats the purpose of having
separation between the Policy Object and policy entries.
A policy cannot be filtered for specific sets of administrators. Once applied to a given
object or container, a policy will be in effect for every administrator under every condition.
This is unless a Script Execution policy is included as a policy entry that utilizes the
IEDSEffectivePolicyRequest interface to override the policies determined by other
policy entries. This interface is documented in Active Roles SDK.
Script Execution polices are policy entries that utilize scripts written in a scripting language
such as Microsoft Windows PowerShell or VBScript. Policy scripts use event handles that
are executed before or after every action that can happen in the directory. See the
following table for a list of these handlers.
Name Description
In addition, you can save policy check results to a file, print them out, or send them to an
e-mail recipient.
To check an object for policy compliance, right-click the object and click Check Policy.
For a container object, this displays the Check Policy dialog box. Review the options in
the Check Policy dialog box and click OK.
The Policy Check Results window appears and the operation starts. The check results
are displayed in the right pane of the window. The objects that violate a policy are
displayed in the left pane. When you click an object in the left pane, the right pane
describes the policy violation in detail.
By default, the right pane in the Policy Check Results window only displays basic
options. You can display more choices by clicking the Details column heading.
By using links in the right pane, you can perform the following tasks:
l Modify the property value violating the policy: Click the edit link next to the
Property value label.
l Remove the object from the policy scope: Click the block policy inheritance
link next to the Policy Object label. If you do so, the policy no longer
controls the object.
l Modify the policy: Click the properties link next to the Policy Object label. This
displays the Properties dialog box for the Policy Object, described in Adding,
modifying, or removing policies earlier in this chapter.
l Administer the object violating the policy: Click the Properties button in the upper-
right corner of the right pane.
l Administer the object to which the Policy Object is applied: Click the properties link
next to the Applied to label.
You can use the following instructions to see how checking for policy compliance works in
the Active Roles console:
1. Create and configure a Policy Object with the property validation and generation
policy for the Department property of user objects, specifying the policy rule as
follows: Value must be specified and must be Sales or Production.
2. Apply (link) that Policy Object to an organizational unit that already holds some user
objects with no department specified.
3. Right-click the organizational unit and click Check Policy. In the Check Policy
dialog box, click OK.
Once you have performed these steps, the Policy Check Results window is
displayed. Its left pane lists objects violating the policy.
5. In the right pane, click the edit link next to the Property value label.
6. In the Properties dialog box, select one of the acceptable values (Production or
Sales) from the Department combo-box.
4. Use hypertext links in the right pane to perform the following tasks:
l Modify the property value violating the policy: Click the edit link next to the
Property value label.
NOTE: The Check Policy command on a Policy Object performs a check on all the
objects found in the policy scope of the Policy Object. Use the Check Policy
command on a Policy Object to find all objects that are not in compliance with the
policies defined by that Policy Object.
Policy Options
Exchange Mailbox l Hide the user mailbox from Exchange address lists, thus
Deprovisioning preventing access to the mailbox.
Home Folder l Revoke access to the user home folder from the user account.
Deprovisioning
l Give the user’s manager read access to the user home folder.
l Designate Administrators as the home folder owner.
User Account l Do not move the user account from the organizational unit in
Relocation which the account was located at the time of deprovisioning.
The following table summarizes the default deprovisioning policy options for groups,
defined by the Built-in Policy - Group Default Deprovisioning Policy Object.
Table 29: Policy options for groups: Built-in Policy - User Default
Deprovisioning
Policy Options
Group Object l Do not move the group from the organizational unit in which
1. In the Active Roles console, right-click the container and click Delegate Control to
display the Active Roles Security window.
2. In the Active Roles Security window, click Add to start the Delegation of Control
wizard. Click Next.
3. On the Users or Groups page, click Add, and then select the users or groups to
which you want to delegate the deprovision task. Click Next.
4. On the Access Templates page, expand the Active Directory folder and then do
the following:
l To delegate the task of deprovisioning users, select the check box next to
Users - Perform Deprovision Tasks.
l To delegate the task of deprovisioning groups, select the check box next to
Groups - Perform Deprovision Tasks.
5. Click Next and follow the instructions in the wizard, accepting the default settings.
After you complete these steps, the users and groups you selected in Step 3 are authorized
to deprovision users or groups in the container you selected in Step 1, as well as in any
sub-container of that container.
Report contents
The following tables list the possible report items, one table per report section. The items
in each section describe results of the actions that were taken in accord with the respective
deprovisioning policy. Report items also inform about success or failure of each action. In
the event of a failure, the report item includes an error description.
Not all the listed items must necessarily be present in a report. An actual report only
includes the report items corresponding to the configured policy options. For example, if
the policy is not configured to disable user accounts, the report does not include the item
regarding this action.
The user password is reset to a random Failed to reset the user password.
value.
The user logon name is changed to a Failed to change the user logon name.
random value.
The user logon name (pre-Windows 2000) Failed to change the user logon name (pre-
is changed to a random value. Windows 2000).
User properties are changed. List: Failed to change user properties. List:
The user is removed from all security Failed to remove the user from some
groups. Details: security groups. Details:
l Security groups from which the user l Security groups from which the user
is removed is removed
l Security groups from which the user
is not removed due to an error
In accord with policy, the user is retained in Failed to remove the user from some
some security groups. Details: security groups. Details:
l Security groups from which the user l Security groups from which the user
is removed is removed
l Security groups from which the user l Security groups from which the user
is not removed in accord with policy is not removed in accord with policy
l Security groups from which the user
is not removed due to an error
The user is removed from all distribution Failed to remove the user from some
groups and mail-enabled security groups. distribution groups or mail-enabled security
Details: groups. Details:
In accord with policy, the user is retained in Failed to remove the user from some
some distribution groups or mail-enabled distribution groups or mail-enabled security
security groups. Details: groups. Details:
The user mailbox is removed (hidden) from Failed to remove (hide) the user mailbox
the Global Address List (GAL). from the Global Address List (GAL).
The user mailbox is configured to suppress Failed to configure the user mailbox to
non-delivery reports (NDR). suppress non-delivery reports (NDR).
The user’s manager is provided with full Failed to provide the user’s manager with
access to the user mailbox. access to the user mailbox.
Manager name: name Manager name: name
The required users and groups are provided Failed to provide the required users or
with full access to the user mailbox. List: groups with access to the user mailbox.
List:
l Users and groups
l Users and groups
The user mailbox is configured to forward Failed to configure the user mailbox to
incoming messages to the user’s manager. forward incoming messages to the user’s
manager.
The user mailbox is configured to forward Failed to configure the user mailbox to
incoming messages to the user’s manager, forward incoming messages to the user’s
with the option to leave message copies in manager.
the mailbox.
The user’s rights on the home folder are Failed to remove the user’s rights on the
removed. home folder.
The user’s manager is provided with read- Failed to provide the user’s manager with
only access to the user home folder. read-only access to the user home folder.
Manager name: name Manager name: name
The required users and groups are provided Failed to provide the required users or
with read-only access to the user home groups with read-only access to the user
folder. List: home folder. List:
The new owner is assigned to the user Failed to assign the new owner to the user
home folder. home folder.
Owner name: name Failed to set this owner name: name
The user account is moved to new location. Failed to move the user account to new
Original location: name of container location.
Original location: name of container
New location: name of container
Failed to move to this location: name of
container
The user account is scheduled for deletion. Failed to schedule the user account for
Will be deleted on this date: date deletion.
The user account is deleted to Active Failed to delete the user account to Active
Directory Recycle Bin. Directory Recycle Bin. Verify that Active
Directory Recycle Bin is enabled.
The type of the group is changed from Failed to change the type of the group from
Security to Distribution. Security to Distribution.
The group is removed (hidden) from the Failed to remove (hide) the group from the
Global Address List (GAL). Global Address List (GAL).
The members are removed from the group. Failed to remove some members from the
Details: group. Details:
l List of the members removed from l List of the members removed from
the group the group
l List of the members that are not
In accord with policy, some members are Failed to remove some members from the
retained in the group. Details: group. Details:
l List of the members removed from l List of the members removed from
the group the group
l List of the members retained in the l List of the members retained in the
group group in accord with policy
l List of the members that are not
removed from the group due to an
error
Group properties are changed. List: Failed to change group properties. List:
The group is moved to new location. Failed to move the group to new location.
Original location: name of container Original location: name of container
New location: name of container Failed to move to this location: name of
container
The group is scheduled for deletion. Failed to schedule the group for deletion.
Will be deleted on this date: date
The group is deleted to Active Directory Failed to delete the group to Active
Recycle Bin. Directory Recycle Bin. Verify that Active
Directory Recycle Bin is enabled.
l Recipients
l Recipients l Recipients
l Recipients
Deprovisioning report was sent to the listed Due to an error, deprovisioning report was
recipients. List: not sent to the listed recipients. List:
l Recipients l Recipients
Similar behavior is in effect for the other policies of the Deprovisioning category:
l If the Deprovision operation revokes user access to resources such as the home
folder or Exchange mailbox, then the Undo Deprovisioning operation attempts to
restore user access to the resources.
l If the Deprovision operation removes a user account from certain groups, the Undo
Deprovisioning operation can add the user account to those groups, restoring the
original group memberships of the user account.
l Restores the original membership list of the group, as it was at the time of
deprovisioning
l Renames the group, restoring the original name of the group
l Moves the group to the container that held the group at the time of deprovisioning
Similar behavior is in effect for the other group deprovisioning policy options:
l If the Deprovision operation hides the group from the Global Address List (GAL),
Undo Deprovisioning restores the visibility of the group in the GAL.
l If the Deprovision operation changes the group type from Security to Distribution,
Undo Deprovisioning sets the group type back to Security.
l If the Deprovision operation changes any other properties of the group, Undo
Deprovisioning restores the original property values.
Both the Active Roles console and Web Interface provide the Undo Deprovisioning
command on deprovisioned users or groups. When selected on a deprovisioned object, this
command originates a request to restore the object. Upon receipt of the request, Active
Roles performs all necessary actions to undo the results of deprovisioning on the object,
Note that regardless of whether this option is selected, once a deprovisioned user
account is restored, Active Roles automatically adds the account to the appropriate
Dynamic Groups and Group Families depending on properties of the account.
Since the built-in Policy Object is normally applied to the Active Directory node in the
Active Roles namespace, the policy options are in effect on any deprovisioned user
account. If you need different policy options for different domains or containers, create a
copy of the built-in Policy Object, and then configure and apply the copy as appropriate.
1. In the Active Roles console, right-click the container and click Delegate Control to
display the Active Roles Security window.
2. In the Active Roles Security window, click Add to start the Delegation of Control
wizard. Click Next.
3. On the Users or Groups page, click Add, and then select the users or groups to
which you want to delegate the task. Click Next.
4. On the Access Templates page, expand the Active Directory folder and then do
the following:
a. To delegate the task of restoring deprovisioned users, select the check box
next to Users - Perform Undo Deprovision Tasks.
b. To delegate the task of restoring deprovisioned groups, select the check box
next to Groups - Perform Undo Deprovision Tasks.
5. Click Next and follow the instructions in the wizard, accepting the default settings.
After you complete these steps, the users and groups you selected in Step 3 are authorized
to restore deprovisioned users in the container you selected in Step 1, as well as in any
sub-container of that container.
1. In the Active Roles console, right-click the user account, and then click Undo
Deprovisioning.
2. In the Password Options dialog box, choose the options to apply to the password of
the restored account, and then click OK.
For information about each option, open the Password Options dialog box, and
then press F1.
1. In the Active Roles console, right-click the group, and then click Undo
Deprovisioning.
2. Wait while Active Roles restores the group.
The operation progress and results are displayed in the Results of Undo Deprovisioning
window, which is similar to the Deprovisioning Results window discussed earlier in this
chapter. When the operation is completed, the window displays the operation summary,
and allows you to examine operation results in detail.
Report contents
The following tables list the possible report items, one table per report section. The items
in each section describe the results of the actions taken to undo the changes made by the
respective deprovisioning policy. Report items also inform about success or failure of each
action. In the event of a failure, the report item includes an error description.
Not all the listed items must necessarily be present in a report. An actual report only
includes the report items related to the deprovisioning policies that were in effect when the
user or group was deprovisioned.
The user password is reset to a known value Failed to reset the user password.
with the following password options: <List of
options>
User properties are restored. List: Failed to restore user properties. List:
The user’s membership in security groups Failed to restore the user’s membership in
is restored. Details: some security groups. Details:
l Security groups to which the user is l Security groups to which the user is
added added
l Security groups to which the user is
not added due to an error
The original state of the user mailbox is Failed to restore the original state of the
restored in the Global Address List (GAL). user mailbox in the Global Address List
(GAL).
The original settings for non-delivery Failed to restore the original settings for
reports sending are restored on the user non-delivery reports sending on the user
mailbox. mailbox.
The original configuration of the e-mail Failed to restore the original configuration
forwarding is restored on the user mailbox. of the e-mail forwarding on the user
mailbox.
The original security settings are restored Failed to restore the original security
on the user mailbox. settings on the user mailbox.
The original security settings are restored Failed to restore the original security
on the user home folder. settings on the user home folder.
The user account is moved to its original Failed to move the user account to its
location. original location.
Former location: name of container Current location: name of container
Restored original location: name of Failed to move to this location: name of
container container
Scheduled deletion of the user account is Failed to cancel scheduled deletion of the
canceled. user account.
The account is going to be deleted on this
date: date
The group is changed back to the Security Failed to change the group back to the
group type. Security group type.
The group is restored in the Global Address Failed to restore the group in the Global
List (GAL). Address List (GAL).
The membership list of the group is Failed to restore the membership list of the
restored. Details: group. Details:
List of the members added to the group List of the members added to the group
List of the members that are not added to
the group due to an error
Group properties are restored. List: Failed to restore group properties. List:
The group is moved to its original location. Failed to move the group to its original
Former location: name of container location.
Restored original location: name of Current location: name of container
container Failed to move to this location: name of
container
l First, Active Roles builds a list of all the objects found in the container (subordinate
objects), and then starts deleting the listed objects one by one.
l Then, for every object in the list, Active Roles performs an access check to
determine if the user or process that requested the deletion has sufficient rights to
delete the object. If the access check allows the deletion, then the object is deleted;
otherwise, Active Roles does not delete the object, and proceeds to deletion of a
subsequent object in the list.
l Finally, once all the subordinate objects are deleted, Active Roles deletes the
container itself. If any of the subordinate objects are not deleted, the container is not
deleted as well.
As a result of this behavior, an administrator who has full control over an organizational
unit in Active Roles can accidentally delete the entire organizational unit, with all its
contents, within a single operation. To prevent this, Active Roles provides for a certain
policy to deny deletion of non-empty containers.
The Container Deletion Prevention policy defines a configurable list of names of object
types as specified by the Active Directory schema (for example, the Organizational Unit
object type). When an Active Roles client requests the deletion of a particular container,
the Administration Service evaluates the request in order to determine whether the type of
the container is in the list defined by the policy. If the container type is in the list and the
container holds any objects, the Administration Service denies the request, preventing the
deletion of the container. In this case, the client prompts to delete all objects held in the
container before attempting to delete the container itself.
l On the object to protect, adds a link to the Objects - Deny Deletion Access Template
for the Everyone group.
The links are configured to apply the Access Template permission entries not only in Active
Roles but also in Active Directory. This adds the following access control entries (ACEs) in
Active Directory:
l On the object to protect, adds explicit Deny ACEs for the Delete and Delete Subtree
permissions for the Everyone group.
l On the parent container of the object, adds an explicit Deny ACE for the “Delete All
Child Objects” permission for the “Everyone” group. (Active Roles does not add this
ACE if it detects that an ACE of the same configuration already exists.)
If you clear the Protect object from accidental deletion check box for a given object,
Active Roles the updates the object to remove the link to the “Objects - Deny Deletion”
Access Template in Active Roles along with the explicit Deny ACEs for the “Delete” and
“Delete Subtree” permissions for the “Everyone” group in Active Directory. As a result, the
object is no longer guarded against deletion. Note that clearing the check box for a
particular object removes the Access Template links and ACEs from only that object,
leaving the Access Template links and ACEs on the parent container intact. This is because
the parent container may hold other objects that are protected from deletion. If the
container does not hold any protected objects, you could remove the link to the “Objects -
Deny Deletion of Child Objects” Access Template by using the Delegate Control
command on that container in the Active Roles console, which will also delete the
corresponding ACE in Active Directory.
It is possible to configure Active Roles so that the Protect container from accidental
deletion check box will be selected by default on the pages for creating organizational
units in the Active Roles console or Web Interface. To enable this behavior within a domain
or container, apply the “Built-in Policy - Set Option to Protect OU from Deletion” Policy
Object to that domain or container. This Policy Object ensures that organizational units
created by Active Roles are protected from deletion regardless of the method used to
create them. Thus, organizational units created using Active Roles script interfaces will
also be protected by default.
l Controlled property and object type. Specifies the object class and the
attribute intended to store the picture. The policy fires upon a request to save a
picture in the specified attribute of an object of the specified object class. By
default, the policy controls the thumbnailPhoto attribute of the user, contact, or
group object class. You can choose a different attribute for each object class
separately. For instance, you can configure the policy to control the thumbnailLogo
or jpegPhoto user attribute while retaining control of the thumbnailPhoto attribute
of groups and contacts.
l Maximum allowed size, in pixels. Specifies the maximum allowed dimensions
of the picture. If the width or height of a given picture is greater than specified by
this option, then the policy prevents the picture from being applied. The policy has
the option to resample pictures of large size. You can configure the policy so that
Active Roles automatically reduces the size of the original picture to meet the policy
requirements and then applies the resulting picture.
l Minimum allowed size, in pixels. Specifies the minimum allowed dimensions of
the picture. If the width or height of a given picture is less than specified by this
option, then the policy prevents the picture from being applied.
l Enable automatic picture resizing. Causes Active Roles to resample the
pictures whose dimensions exceed the maximum allowed size. If you select this
option, Active Roles reduces the dimensions of the picture as appropriate and then
applies the resulting picture; otherwise, Active Roles merely rejects the pictures
that are too big.
By default, the built-on Policy Object is applied to the Active Directory node in the Active
Roles namespace, so the policy options affect all users, groups and contacts in the
managed domains. If you need different policy options for different domains or containers,
create a copy of the built-in Policy Object, and then configure and apply the copy as
appropriate.
Design elements
The policy extensibility feature is designed around two interactions: policy type
deployment and policy type usage.
l Create a new custom policy type, either from scratch or by importing a policy type
that was exported from another environment.
l Make changes to the definition of an existing custom policy type.
l Add a policy of a particular custom type to a Policy Object, making the necessary
changes to the policy parameters provided for by the policy type definition.
Normally, an Active Roles expert develops a custom policy type in a separate environment,
and then exports the policy type to an export file. An Active Roles administrator deploys
the policy type in the production environment by importing the export file. After that, the
Active Roles console can be used to configure and apply policies of the new type.
l Display name. Identifies the policy type represented by the Policy Type object.
This name is displayed on the wizard page where you select a policy to configure
when creating a new Policy Object or adding a policy to an existing Policy Object.
l Description. A text describing the policy type. This text is displayed when you
select the policy type in the wizard for creating a new Policy Object or in the wizard
for adding a policy to an existing Policy Object.
To create a custom policy type, you first need to create a Script Module that holds the
policy script. Then, you can create a Policy Type object referring to that Script Module.
When you import a policy type, Active Roles automatically creates both the Script Module
and the Policy Type object for that policy type. After the Policy Type object has been
created, you can add a policy of the new type to a Policy Object.
For more information about Policy Type objects, including instructions on scripting for
Policy Type objects, refer to the Active Roles SDK.
2. In the New Object - Policy Type wizard, type a name, a display name and, optionally,
a description for the new object.
The display name and description are displayed on the page for selecting a policy, in
the wizards that are used to configure Policy Objects.
3. Click Next.
4. Click Browse and select the Script Module containing the script that will be run by
the policies of this policy type.
The Script Module must exist under the Configuration/Script Modules container and
hold a policy script. For information about policy scripts, see the Active Roles SDK
documentation.
6. From the Function to declare parameters list, select the name of the script
function that defines the parameters specific to this type of administration policy.
The list contains the names of all the functions found in the script you selected in
Step 4. Every policy of this type will have the parameters that are specified by the
function you select from the Function to declare parameters list. Normally, this
is a function named onInit (see the Active Roles SDK documentation).
7. Click Policy Type Icon to verify the image that denotes this type of policy. To
choose a different image, click Change and open an icon file containing the
image you want.
8. Click Next and follow the steps in the wizard to complete the creation of the new
Policy Type object.
Name of the Right-click the object and The name is used to identify the object,
object click Rename. and must be unique among the objects
held in the same Policy Type container.
Display name or Right-click the object, Changing the display name or description
description click Properties and also changes the policy name or
make the necessary description on the page for selecting a
changes on the General policy in the Policy Object management
tab. wizards.
Script Module Right-click the object, You can change the script in the Script
click Properties, click Module that is currently associated with
the Script tab, click the Policy Type object instead of selecting
Browse, and then select a different Script Module. To view or
the Script Module you change the script, find and select the
want. Script Module in the Active Roles console
tree, under Configuration/Script
Modules.
Changing the script affects all the existing
policies of this policy type. If you add a
policy to a Policy Object and then change
the script for the Policy Type object based
on which the policy was created, the
policy will run the changed script.
Policy Type Right-click the object, Changing this option changes the
category click Properties, click appearance of the respective policy type
the Script tab, and then in the Policy Object management wizards.
click either Provisioning For example, once the option has been
or Deprovisioning. changed from Provisioning to
Deprovisioning, the policy type is no
longer displayed in the wizard for
configuring a provisioning Policy Object;
instead, it appears in the wizard for
configuring a deprovisioning Policy
Object.
However, changing the Policy Type
category does not affect the existing
policies of this policy type. For example,
once a policy is added to a provisioning
Policy Object, the policy is retained in that
Policy Object after changing the Policy
Type category from Provisioning to
Deprovisioning in the respective Policy
Type object.
Function to Right-click the object, Changing this setting changes the list of
declare click Properties, click the policy parameters specific to this
parameters the Script tab, and then policy type. The changes do not affect the
choose the appropriate parameters of the existing policies of this
function from the type. When you add a new policy based
Function to declare on this policy type, the list of the policy
parameters list. parameters is built using the new function
to declare parameters.
Policy Type icon Right-click the object, Changing this setting changes the image
click Properties, click that appears next to the display name of
the Script tab, click the policy type in the Policy Object
Policy Type Icon, and management wizards, on the page that
then do one of the prompts you to select a policy to
following: configure.
2. In the New Object - Policy Type Container wizard, type a name and, optionally, a
description for the new container.
The name and description are displayed on the page for selecting a policy, in the
wizards that are used to configure Policy Objects.
3. Click Next and follow the steps in the wizard to complete the creation of the
new container.
l Right-click the Policy Type object or container, click Export and specify a file to hold
the export data.
You can select multiple Policy Objects to export, or you can select a container to export all
Policy Type objects and containers held in that container. In either case, the Export
operation creates a single XML file that can later be imported to any container under the
Policy Types node.
Exporting Policy Type objects creates an XML file representing both the objects and the
Script Modules containing the policy scripts for each policy type being exported. During an
import, Active Roles creates the Policy Type objects and the Script Modules based on the
data found in the XML file. As a result of the import, the policy types are replicated to the
new environment and can be used the same way as in the environment from which they
were exported.
This will create new Policy Type objects and containers in the selected container. In
addition, new Script Modules will be created in the Configuration/Script Modules
container and associated with the newly created Policy Type objects.
l For a policy type of the Provisioning category, a policy of that type can be added only
to a Provisioning Policy Object.
l For a policy type of the Deprovisioning category, a policy of that type can be added
only to a Deprovisioning Policy Object.
1. Follow the steps in the wizard for creating a new Policy Object or in the wizard for
adding a policy to an existing Policy Object.
For example, if the policy type is of the Provisioning category, you could use the New
Provisioning Policy Object wizard opened by the New | Provisioning Policy
command on a container under Configuration/Policies/Administration in the
Active Roles console.
2. On the Policy to Configure page in the wizard, click the type of the policy
you want.
The Policy to Configure page lists the custom policy types together with the pre-
defined Active Roles policy types. Each custom policy type is identified by the display
name of the respective Policy Type object.
3. On the Policy Parameters page, set parameter values for the policy: Click the
name of a parameter in the list, and then click Edit.
Parameters control the behavior of the policy. When Active Roles executes the
policy, it passes the parameter values to the policy script. The actions performed by
the script, and the results of those actions, depend upon the parameter values.
Clicking Edit displays a page where you can add, remove or select a value or values
for the selected parameter. For each parameter, the policy script defines the name
of the parameter and other characteristics, such as a description, a list of acceptable
values, the default value, and whether a value is required. If a list of acceptable
values is defined, then you can only select values from that list.
l You can delete a Policy Type object only if no policies of the respective policy type
exist in any Policy Object. Examine each Policy Object and remove the policies of
that type, if any, from the Policy Object before deleting the Policy Type object.
l Deleting a Policy Type object permanently deletes it from the Active Roles database.
If you want to use this policy type again, you should export the Policy Type object to
an XML file before deleting the object.
l Deleting a Policy Type object does not delete the Script Module associated with that
object. This is because the Script Module may be used by other policies. If the Script
Module is no longer needed, it can be deleted separately.
l Right-click the Policy Type object in the Active Roles console and click Delete.
Workflows
l Understanding workflow
l Workflow activities overview
l Configuring a workflow
l Example: Approval workflow
l Email based approval
l Automation workflow
l Activity extensions
Understanding workflow
Active Roles provides a rich workflow system for directory data management automation
and integration. Based on Microsoft’s Windows Workflow Foundation technology, this
workflow system enables IT to define, automate, and enforce management rules quickly
and easily. Workflows extend the capabilities of Active Roles by delivering a framework
that combines versatile management rules such as provisioning and de-provisioning of
identity information in the directory, enforcement of policy rules on changes to identity
data, routing data changes for approval, email notifications of particular events and
conditions, as well as the ability to implement custom actions using script technologies
such as Microsoft Windows PowerShell or VBScript.
Suppose you need to provision user accounts based on data from external systems. The
data is retrieved and then conveyed to the directory by using feed services that work in
conjunction with Active Roles. A workflow can be created to coordinate the operations in
account provisioning. For example, different rules can be applied for creating or updating
accounts held in different containers.
Workflows may also include approval rules that require certain changes to be authorized
by designated persons (approvers). When designing an approval workflow, the
administrator specifies which kind of operation causes the workflow to start, and adds
approval rules to the workflow. The approval rules determine who is authorized to
approve the operation, the required sequence of approvals, and who needs to be notified
of approval tasks or decisions.
Workflow
A workflow is a model describing a process that consists of steps or activities. Workflows
describe the order of execution and relationships between activities required to perform
particular operations. In Active Roles, workflows provide a way to customize operations of
provisioning and overall administration of directory data. Thus, workflows can be used to
add approvals to user provisioning processes or integrate user provisioning processes with
external systems.
Workflow definition
Workflow definition is a representation of the workflow structure. The definition of a
workflow is stored as a single object in the Active Roles configuration data store, and can
be structured as an XML document defining the workflow start conditions, the activities, the
parameters for the activities, and the order in which the activities should run.
Workflow instance
Starting a workflow creates a workflow instance based on the settings found in the
workflow definition. Each workflow instance stores the runtime data indicating the current
state of a single workflow that is in progress.
Workflow Designer
The Workflow Designer is a graphical tool provided by Active Roles for constructing
workflows. The tool represents the workflow definition as a process diagram, with icons
denoting workflow activities and directional arrows denoting transitions between activities.
Users drag activities from the activities panel onto the process diagram and configure them
using the pages provided by the designer interface. Separate pages are provided for
configuring workflow start conditions.
Workflow engine
Active Roles leverages Microsoft’s Windows Workflow Foundation runtime engine for
creating and maintaining workflow instances. The engine can support multiple workflow
instances running concurrently. When a workflow is started, the engine monitors the state
of the workflow instance, coordinates the routing of activities in the workflow instance,
determines which activities are eligible to run, and runs activities. The workflow engine is
hosted in-process with the Administration Service, which enables workflows to
communicate with Active Roles at run time.
E-mail Notifications
Users are notified via e-mail about specific situations that manifest within a workflow. A
notification message is generated and sent to the designated recipients to inform them that
a certain event has occurred, such as a new approval task has been submitted to the
approvers or the operation has been completed. A notification configuration involves such
elements as the event to notify of, the list of the notification recipients, and the notification
message template.
In the above example, the workflow manages the process of adding a user to a group
according to the rules defined at design time. The rules constitute the workflow definition,
and include the activities that occur within the process and the relationships between
activities. An activity in a process definition can be a pre-defined function available out of
the box, such as a request for approval or a notification of conditions that require user
interaction, or it can be a custom function created using script technologies.
A workflow process starts when the requested changes meet the conditions specified in the
workflow definition. In the above example, the conditions may set up so that the workflow
l Access check. In this phase, the Administration Service checks to see whether the
user or system that issued the request has sufficient rights to make the requested
changes. If there are insufficient rights, the operation is denied.
l Pre-execution. During this phase, the Administration Service first runs the pre-
execution workflow activities. These are the activities located in the upper part of
the workflow process diagram, above the Operation execution line. A typical
example includes Approval activities: It is at this point that approvers can permit or
reject the operation.
Then, after the pre-execution activities are completed so that the operation is not
rejected, the Administration Service runs the pre-execution policies. Typical
examples of such policies include property generation and validation rules and the
functions implementing so-called pre-event handlers in script policies.
The Administration Service runs the workflow activities one by one, in sequential order as
shown on the workflow process diagram, until the last activity finishes. If-Else activities
can be used to achieve conditional branching in workflows, which makes it possible to
switch the sequence of activities depending on the data involved in the request.
At the beginning of the pre-execution phase, the Administration Service determines the
workflows to start. The request is compared to all the existing workflow definitions. In
order for a workflow to start, the requested operation needs to satisfy the start conditions
defined for that workflow. If the start conditions are satisfied, the workflow is matched to
the request.
For a workflow that is matched to the request, the Administration Service runs the
activities found in that workflow during the corresponding phases of the operation
processing. One workflow or multiple workflows can be matched to a single request. In
case of multiple workflows, the Administration Service starts each of them one by one, and
first runs all the pre-execution activities included in those workflows. Then, during the
post-execution phase, the Administration Service runs all the post-execution activities
included in those workflows.
If multiple workflows are matched to a single request, then Active Roles uses the
edsaWorkflowPriority attribute of the workflow definition object to determine the order
in which to execute the workflows. The activities of the workflow with a lower value of that
attribute are executed prior to the activities of the workflow with a higher value of that
attribute. The workflows with the same priority value are executed in ascending order of
workflow names. The edsaWorkflowPriority attribute is set to 500 by default. If the
edsaWorkflowPriority attribute is not set, Active Roles assumes that the workflow has
the priority value of 500. You can change the value of the edsaWorkflowPriority attribute
to ensure that a given workflow takes precedence over other workflows. A lower value of
that attribute indicates a higher priority whereas a higher value indicates a lower priority.
To view or change the edsaWorkflowPriority attribute, use the Advanced Properties
command on the workflow definition object in the Active Roles console.
Upon a request for any operation that meets all the start conditions specified on a
workflow, the Administration Service matches the workflow to the request and runs the
activities found in the workflow.
l Name. The name is used to identify the activity on the workflow diagram.
l Description. This optional text can be helpful to distinguish the activity. The
description is displayed when you point with the mouse to the activity on the
process diagram.
The following sections elaborate on the types of activity that are included with Active Roles,
and provide information about the configurable settings specific to each activity type.
Approval activity
An Approval activity, also referred to as an approval rule, represents a decision point in a
workflow that is used to obtain authorization from a person before continuing the workflow.
Workflow start conditions determine which operations start the workflow and the approval
rules added to the workflow determine who is designated to approve the operation, the
l List of approvers. Specifies the users or groups of users that are designated as
approvers for the approver level in question.
A valid approval rule must, at a minimum, specify a list of approvers for the initial
approver level. Active Roles first assigns the approval task to the approvers of that
level. To enable escalation, a separate list of approvers must be specified for one or
more escalation levels.
l Approval task has no time limit. When this option is selected, the approval rule
does not require that the approvers of the given level complete the approval task
within a certain time period.
l Approval task has a time limit of <number> days <number> hours. When this
option is selected, the approval rule requires that the approvers of the given level
complete the approval task within the specified time period.
If the approval task is not completed within the specified time period, then,
depending upon the selected configuration option, the approval rule can either cancel
the operation waiting for approval or escalate the approval task. The latter option
requires a list of approvers to be specified for the subsequent escalation level.
l Show this instruction to the approver. When performing the approval task, the
approver will see this instruction on the page intended to review, supply, or change
the properties that are subject to the approval task. You can supply an instruction on
how to perform the task.
l Request the approver to supply or change these properties. When
performing the approval task, the approver will be prompted to supply or change the
properties specified in this option.
l Show the original request to the approver. This option adds a separate
section on the pages for performing the approval task that lists the properties
submitted for approval.
l Allow the approver to modify the original request. Unless this option is
selected, the approver is only allowed to view the properties submitted for approval.
You could select this check box to allow the approver to change those properties.
Customization
You can configure the Approval activity to specify how the approval tasks created by that
activity are to be identified in the Approval section of the Web Interface. The Approval
section contains a list of approval tasks, with each task identified by a header that provides
basic information about the task, including the title of the task and information about the
l Display this title to identify the approval task. When performing the approval
task, the approver will see this instruction on the page intended to review, supply or
change the properties that are subject to the approval task. You can supply an
instruction on how to perform the task.
l Display these properties of the object submitted for approval. These
properties will be displayed in the task's header area on the pages for performing the
approval task. You can add properties to help the approver identify the target object
of the operation submitted for approval.
l Display the operation summary in the task header area. This option extends
the approval task’s header area to provide summary information about the changes
that are subject to approval, including the type of the changes and the reason for
the changes.
You can configure the Approval activity to specify the actions the approver can take on the
approval task. On the pages for performing the approval task, in the Approval section of
the Web Interface, the task header contains the action buttons that are intended to apply
the appropriate resolution to the task, such as Approve or Reject. The action buttons are
located at the bottom of the header area. Which buttons are displayed depends upon
configuration of the Approval activity.
The pages for configuring an Approval activity in the Active Roles console provide the
following customization options related to the action buttons:
l Customize action buttons. Action buttons appear on the pages for performing
the approval task. Each button applies a certain action to the task. Normally, two
built-in buttons, titled Approve and Reject by default, are displayed for each
approval task. Other buttons may be displayed depending on the configuration of the
approval activity. You can add buttons to create custom actions. Depending on the
button’s action type, clicking a custom action button causes the workflow to allow
(Complete action type) or deny (Reject action type) the operation that is subject to
approval. If-Else activities can refer to a custom action button by the button’s title
and elect the appropriate branch of the workflow when the approver clicks that
custom action button.
l Show this instruction for action buttons. You can use this option to supply an
instruction on how to use action buttons. The approver will see this instruction above
the action buttons on the pages for performing the approval task.
l Suppress the confirmation dialog upon completion of approval task. If
this option is not selected, Active Roles requests the approver to fill in a
confirmation dialog box every time the approver performs an approval task. You
can select this option to prevent the confirmation dialog box from appearing so that
the approver can complete the task without having to supply a reason for the
completion of the task.
Notification recipients
Notification recipients are the users or groups to which the activity sends e-mails. A
recipient can be any mailbox-enabled user or mail-enabled group. There are also a
number of options allowing you to select recipients based on their role, such as operation
requestor, approver, manager of operation requestor, or manager of object affected by
the operation.
Notification delivery
The delivery options determine whether notifications are to be sent immediately or on a
scheduled basis. The option of immediate delivery causes the activity to generate a
separate message upon every occurrence of the event to notify of. The option of scheduled
delivery can be used for aggregating notifications. If you select the scheduled delivery
option, all notifications about the event occurrences within a time period of your choice are
grouped and sent as a single message.
Notification message
Notification messages are based on a message template that determines the format and
contents of an e-mail notification message, including the message subject and body. A
template is an HTML-formatted document that you can view or change as required to
customize notification messages. The template text may include dynamic content that is
generated at run time by retrieving information from the running instance of the workflow
process. Notification messages are created, and normally sent, in HTML format. You can
optionally configure the activity to format and send notification messages as plain text.
Notification activity
A Notification activity in a workflow is used to subscribe recipients to the notifications of
the following events:
l Executing this activity. This event occurs upon execution of the notification
activity. When configured to notify of this event, the activity creates and instantly
sends an e-mail message informing about the fact of executing the notification
activity. Notification of this event is normally intended to inform that the workflow
execution process has reached the notification activity.
l Workflow completed successfully. When configured to notify of this event, the
activity creates a message to be sent upon workflow completion. When the workflow
is completed, Active Roles will send that message if no considerable errors occurred
during execution of the workflow.
l Workflow encountered an error. When configured to notify of this event, the
activity creates a message to be sent upon workflow completion. When the workflow
is completed, Active Roles will send that message if some errors occurred during
execution of the workflow.
l Operation performed. When configured to notify of this event, the activity creates
a message to be sent upon workflow completion. When the workflow is completed,
Active Roles will send that message if the operation that started the workflow is
successfully performed.
The configuration of a Notification activity specifies the event to notify of, and notification
recipients. When executed by the workflow, the Notification activity prepares a notification
message appropriate to the specified event. Active Roles retains the message prepared by
the activity, and sends the message to the specified recipients upon occurrence of that
event. The configurable settings of a Notification activity are similar to the notification
settings of an Approval activity, and include the following.
Notification recipients
Notification recipients are the users or groups to which the activity sends e-mails. A
recipient can be any mailbox-enabled user or mail-enabled group. There are also a
number of options allowing you to select recipients based on their role, such as operation
requestor, approver, manager of operation requestor, or manager of object affected by
the operation.
E-mail server
The e-mail server setting determines the name and other parameters of the e-mail server
that is used for delivery of notification messages.
Script activity
Script activities are typically used to perform automated steps in a workflow process. A
Script activity is defined by a Script module created in Active Roles. Each Script module
contains script code implementing certain functions. New Script modules can freely be
added and the Script contained in a Script module can be developed and revised as
necessary. This provides a mechanism for creating custom functions, enabling the
extensibility of actions performed by a workflow.
Script activity has the following basic configuration settings:
l Script to use. Identifies the Script module to be used by the activity. Normally, the
script held in the Script Module implements at least two functions: the function that
will be run by the activity and the function that defines the activity parameters.
l Function to run. Identifies the script function that will be run by the activity.
l Function to declare parameters. Identifies the Script function that defines the
activity parameters. For each parameter, this function defines the name of the
parameter and other characteristics, such as a description, a list of possible values,
More information and instructions that apply to designing, implementing and using scripts,
script modules, and script activities can be found in the Active Roles SDK documentation.
Notification
You can configure a Script activity to subscribe recipients to the notifications of the
following events:
The notification settings specify the event to notify of, and notification recipients. When
executed by the workflow, the activity prepares a notification message appropriate to the
specified event. Active Roles retains the message prepared by the activity, and sends the
message to the specified recipients upon occurrence of that event. The notification settings
are similar to the notification settings of a Notification activity (see Notification activity
earlier in this document).
Error handling
When configuring a Script activity, you can choose whether to suppress errors encountered
by that activity. The following option is available: Continue workflow even if this
activity encounters an error. If this option is not selected (default setting), then an
error condition encountered by the activity causes Active Roles to terminate the workflow.
If you select this option, the workflow continues regardless of whether or not the activity
encounters an error condition.
If-Else activity
An If-Else activity is used to conditionally run one of two or more alternative branches
depending on the conditions defined on the branches. It contains an ordered set of
branches and runs the first branch whose condition evaluates to TRUE. You can add as
The situation where no condition is defined on a branch is treated as if the branch had a
constant TRUE condition. Therefore, the final (rightmost) branch should normally have no
condition, which means it always evaluates to TRUE. In this way, the final branch acts as
the Else branch that runs if the conditions on the other branches are not fulfilled. It is
advisable to define a condition on each branch in an If-Else activity except the last branch,
to ensure that the activity always executes a certain branch.
l AND group evaluates to TRUE if all conditions in the group are TRUE.
l OR group evaluates to TRUE if any condition in the group is TRUE.
l NOT AND group evaluates to TRUE if any condition in the group evaluates to FALSE.
l NOT OR 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.
Within a change workflow, the following options are available in addition to the options
listed above:
Once you have specified the entity or field that you want the condition to evaluate, you
can choose a comparison operator and specify a 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.
For a brief description of comparison operators and comparison value options, see
Search filter.
Error handling
When configuring an If-Else activity, you can choose whether to suppress errors
encountered by that activity. The following option is available: Continue workflow even
if this activity encounters an error. If this option is not selected (default setting), then
an error condition encountered by the activity causes Active Roles to terminate the
workflow. If you select this option, the workflow continues regardless of whether or not the
If-Else activity or any activity within the If-Else activity encounters an error condition.
Stop/Break activity
A Stop/Break activity is used to immediately end all activities of a running workflow
instance. You can use it within a branch of an If-Else activity, so as to terminate the
workflow once a certain condition occurs.
l You can specify whether the report section is intended to display information about
successful operation or error condition. In the latter case, the text of the header and
the body of the report section is displayed in red.
l You can compose the header text of data entries that will be calculated during
execution of the activity. The activity offers various data 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.
l You can configure the body text to include multiple strings, with each string
composed by using the same options that are available for the header text string.
Thus, in addition to literal text strings and formatting characters, the body text may
include information about object properties and other string values the activity will
calculate in workflow run time.
You can also add the Add Report Section activity to a certain If-Else branch to have the
report indicate that the workflow executed that branch of activities.
Search activity
A Search activity allows you to perform searches against directory data to find objects,
such as users or groups, that match the criteria you specify based on object properties,
object location, and other information available in the execution environment of the
workflow, and to pass these objects to other activities so that the workflow can perform
the appropriate actions on them. You can insert activities into a Search activity and have
those activities process the objects found by the Search activity.
The following topics cover the configurable settings of a Search activity:
Search scenario
You can configure a Search activity to:
Object type
You can specify the type of the objects you want the activity to search for. The list from
which to select the object type varies depending on the search scenario you have selected.
l Contacts
l Groups
l Computers
l Printers
l Organizational Units
l Shared Folders
l Exchange Recipients
l Inactive Accounts
l All Objects
Search scope
The search scope determines where to search for the objects of the specified type. The
search scope settings depend upon the search scenario, and are as follows.
Search the group for l Workflow target object. Search for members of the
its members. group that is the target object of the request that started
the workflow.
l Object identified by workflow parameter. Search
the group specified by the value of a certain parameter of
the workflow. You can choose the desired parameter
when you configure a Search activity.
l Object from workflow data context. Search for
members of the group object that will be selected by the
Search activity on the basis of the data found in the
workflow environment at the time of executing the
workflow. When configuring a Search activity, you can
specify which group object you want the activity to select
at workflow run time.
l Object identified by DN-value rule expression.
Search the group whose Distinguished Name (DN) is
specified by the string value of a certain 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. You can create the desired rule expression
when you configure a Search activity.
Search for direct l Workflow target object. Search for direct reports of
reports of the user. the target object of the request that started the workflow.
l Object identified by workflow parameter. Search
for direct reports of the object specified by the value of a
certain parameter of the workflow. You can choose the
desired parameter when you configure a Search activity.
l Object from workflow data context. Search for
direct reports of the object that will be selected by the
Search activity on the basis of the data found in the
workflow environment at the time of executing the
workflow. When configuring a Search activity, you can
specify which object you want the activity to select at
workflow run time.
Search options
The activity provides various options allowing you to refine your search. Which options are
available depends upon the search scenario and the object type to search for, as shown in
the tables that follow.
The following table summarizes the search scenario-specific search options.
Managed By property.
l Retrieve objects for which the user or group is a
secondary owner. Use this option to search for objects
that have the given user or group specified in the
Secondary Owners property.
l Retrieve objects managed or owned due to
membership in groups (indirect ownership). Use
this option to search for objects for which the given user
or group is a direct or indirect member of the group
specified in the Managed By or Secondary Owners
property.
Search the group for l Also retrieve indirect members. Use this option for
its members. your search results to include indirect members of the
given group. With this option, the activity searches not
only for objects that are directly added to the group
(direct members) but also for indirect members-objects
that belong to the group because of their membership in
other groups which are direct or indirect members of the
given group.
l Also retrieve pending members. Use this option for
your search results to include objects that are scheduled
to be added to the group by using the Temporal Group
Memberships capability of Active Roles.
Search within the l Search within this attribute. Specifies the attribute
object's attribute (ASQ for the ASQ search. This must be an attribute that stores
search). Distinguished Names, such as the Member Of or Managed
By attribute. The search is performed against the objects
that are identified by the Distinguished Names found in
that attribute. For example, a search within the Member
Of attribute of a user account looks for groups in which
the user is a member.
The following table lists the search options that are specific to the object type. The search
results contain only the objects that match the options you selected.
l Account type to search for. You can choose to search for user accounts only,
search for computer accounts only, or search for both user and computer accounts.
l Search for accounts that haven’t logged on in the past number of days.
This option allows you to specify the period, in days, that an account is not used to
log on, after which the account is considered inactive. The search retrieves a given
account if no successful logons to that account have occurred for more days than
specified by this option.
The search activity uses the lastLogonTimeStamp attribute to determine the last time
that a given user or computer successfully logged on. Active Directory updates that
attribute only periodically, rather than every time that a user or computer logs on.
Normally, the period of update is 14 days. This means that the lastLogonTimeStamp
value could be off by as much as 14 days, so the true last logon time is later than
lastLogonTimeStamp. Hence, it is advisable to choose the logon inactivity period of
more than 14 days.
l Search for accounts whose password has not changed in the past number
of days. This option allows you to specify the password age, in days, after which an
account is considered inactive. The search retrieves a given account if the password
of the account remains unchanged for more days than specified by this option.
l Search for accounts that expired more than a certain number of days
before the current date. This option allows you to specify the number of days
after which an expired account is considered inactive. The search retrieves a given
account if the account remains in the expired state for more days than specified by
this option.
The option to search for inactive accounts is also available when you configure the activity
to search for the Users or Computers object type. You can restrict the search to inactive
accounts by choosing the appropriate options to determine what accounts are considered
inactive. These options are the same as with the Inactive Accounts object type.
Search filter
The search filter option allows you to refine your search in order to locate directory objects
based on the properties (attributes) of the objects. For example, you may want to find all
the team members in a certain department that report to the manager named John Smith
or you may be interested in computer accounts that were not used for a certain time
period. In either case, you can use a search filter to look for specific values in the object
properties, thereby ensuring that the search results contain only the objects with the
desired properties.
A search filter is composed of conditions combined using And or Or logic. Each condition is
a certain statement that specifies the criteria the activity should use to determine whether
does not equal The property value of the object does not match the
comparison value.
greater or equal The property value of the object is greater than or equal to
the comparison value.
less or equal The property value of the object is less than or equal to the
comparison value.
contains The property value of the object contains the text specified by
the comparison value.
does not contain The property value of the object does not contain the text
specified by the comparison value.
starts with The text specified by the comparison value occurs at the
beginning of the object’s property value.
does not start with The text specified by the comparison value does not occur at
the beginning of the object’s property value.
ends with The text specified by the comparison value occurs at the end
of the object’s property value.
does not end with The text specified by the comparison value does not occur at
the end of the object’s property value.
bitwise and Each bit of the object’s property value matches the
corresponding bit of the comparison value.
The comparison values from which you can choose when configuring a filter condition are
as follows.
Text string A literal string of characters. You can type the desired string
when you configure a filter condition.
Property of workflow The value of a certain property of the target object of the
target object request that started the workflow. You can select the desired
property when you configure a filter condition. Normally, this
should be a string-value property.
Property of workflow The value of a certain property of the user whose request
initiator started the workflow. You can select the desired property
when you configure a filter condition. Normally, this should be
a string-value property.
Property of object from The value of a certain property of the object that will be
workflow data context selected by the Search activity on the basis of the data found
in the workflow environment at the time of executing the
workflow. When you configure a filter condition in a Search
activity, you can 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 The string value of a certain rule expression. By using a rule
expression 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.
Fixed object in directory A certain object, such as a user, group, or computer. You can
select the desired object in Active Directory when you
configure a filter condition. This comparison value is
applicable to filter conditions for DN-value properties.
Object from workflow The object that will be selected by the Search activity on the
data context basis of the data found in the workflow environment at the
time of executing the workflow. When you configure a filter
condition in a Search activity, you can specify which object
you want the activity to select upon evaluating the condition
at workflow run time. This comparison value is applicable to
filter conditions for DN-value properties.
Object identified by DN- The object whose Distinguished Name (DN) is specified by the
value rule expression string value of a certain 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. You can
create the desired rule expression when you configure a filter
condition. This comparison value is applicable to filter
conditions for DN-value properties.
Object identified by The object specified by the value of a certain parameter. You
workflow parameter can choose the desired parameter when you configure a filter
condition. This comparison value is applicable to filter
conditions for DN-value properties.
Workflow initiator object The user account of the user whose request started the
workflow. This comparison value is applicable to filter
conditions for DN-value properties.
Workflow target object The target object of the request that started the workflow.
This comparison value is applicable to filter conditions for DN-
value properties.
Fixed date and time A literal date and time value. You can choose the desired date
and time when you configure a filter condition. This
comparison value is applicable to filter conditions for
Date/Time-value properties.
Workflow date and time A certain point in time relative to the date and time of the
Search activity run. You have the option to specify a date that
occurs a particular number of days before or after the Search
activity run. This comparison value is applicable to filter
Value generated by The value returned by a certain script function. You can
script choose the desired script function when you configure a filter
condition. The Search activity will execute that script function
upon evaluating the condition at workflow run time.
Workflow parameter The value of a certain workflow parameter. You can choose
value the desired parameter when you configure a filter condition.
Notification
You can configure a Search activity to subscribe recipients to the notifications of the
following events:
The notification settings specify the event to notify of, and notification recipients. When
executed by the workflow, the activity prepares a notification message appropriate to the
specified event. Active Roles retains the message prepared by the activity, and sends the
message to the specified recipients upon occurrence of that event. The notification settings
are similar to the notification settings of a Notification activity (see Notification activity
earlier in this document).
Error handling
When configuring a Search activity, you can choose whether to suppress errors
encountered by that activity. The following option is available: Continue workflow even
if this activity encounters an error. If this option is not selected (default setting), then
an error condition encountered by the activity causes Active Roles to terminate the
workflow. If you select this option, the workflow continues regardless of whether or not the
Search activity or any activity within the Search activity encounters an error condition.
Additional settings
A Search activity has the following additional configuration options:
l Terminate the search activity if the search returns more than <number>
objects. Use this option to specify the maximum number of objects the activity is
allowed to return when performing a search. If you want to receive all the objects
that match the search conditions, you can disable this option.
l Exclude or include request controls from the activity operation request.
Request controls are certain pieces of data in an operation request that can be used
to pass additional information to Active Roles on how to process the request. Request
controls are optional. If no request controls are added to a request, then Active Roles
determines how to process the request based solely on the type of the request. You
can configure the activity to add certain controls to its operation requests (include
request controls) or to ensure that certain controls never occur in the activity
operation requests (exclude request controls). For information about Active Roles
request controls, see the Active Roles SDK documentation.
CRUD activities
Active Roles offers a number of workflow activities, collectively referred to as CRUD
activities, intended to create new objects, and modify or delete existing objects in Active
Directory. The CRUD abbreviation designates the key operations that can be performed by
The following topics in this section provide an overview of the configuration settings that
are common to CRUD activities:
l Notification Active Roles can notify via e-mail about whether or not the activity has
encountered an error condition at run time.
l Error handling Determines whether or not the workflow is allowed to continue if the
activity has encountered an error condition at run time.
l “Run as” options Determines the user account under which to run the activity.
l Additional settings Some advanced configuration options that allow you to adjust the
processing of the operation requested by the activity.
“Create” activity
“Create” activity is intended to create an object, such as a user, computer, or group in
Active Directory. The activity allows you to configure the following characteristics of the
object to be created:
l Container. You can specify the Organizational Unit (OU) or container in which you
want the activity to create an object. The following options are available:
l Fixed container in directory. Create an object in the given OU or
container. You can select the desired OU or container in Active Directory when
you configure a Create activity.
“Create” activity also has a number of configuration settings that are common to CRUD
activities:
l Notification Active Roles can notify via e-mail about whether or not the activity has
encountered an error condition at run time.
l Error handling Determines whether or not the workflow is allowed to continue if the
activity has encountered an error condition at run time.
l “Run as” options Determines the user account under which to run the activity.
“Update” activity
“Update” activity is intended to make changes to particular properties of a certain object.
This activity has the following configuration options:
l Activity target. This option lets you specify the object whose properties you want
the activity to change. You can select the object when you configure the activity, or
you can configure the activity to select the appropriate object at workflow run time.
See Activity target for further details.
l Target properties. You can define how you want the activity to change the
properties of the object. When you configure an Update activity, you can choose the
properties you want the activity to change and, for each property, specify the new
value to be assigned to that property. For a multi-value property, you can choose to
add or remove the value from that property. The following options are available:
l Text string. Use the given string of characters as the value of the property.
You can specify the desired string when you configure an Update activity.
l Property of workflow target object. In case of a change workflow, use
the value of a certain property of the target object of the request that started
the workflow. You can select the desired property when you configure an
Update activity.
l Property of workflow initiator. Use the value of a certain property of the
user whose request started the workflow. You can select the desired property
when you configure an Update activity.
l Changed value of workflow target object property. In case of a change
workflow, use the value that is requested to be assigned to a certain property
of the workflow target object. You can select the desired property when you
configure an Update activity.
l Workflow parameter value. Use the value of a certain parameter of the
workflow. You can choose the desired parameter from the workflow definition
when you configure an Update activity.
l Property of object from workflow data context. Use the value of a
certain property of the object that will be selected by the Update activity on the
basis of the data found in the workflow environment at the time of executing
the workflow. When you configure an Update activity, you can choose the
desired property and specify which object you want the activity to select at
workflow run time.
l Value generated by rule expression. Use the string value of a certain 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. You can create the desired rule expression when
you configure an Update activity.
l Notification Active Roles can notify via e-mail about whether or not the activity has
encountered an error condition at run time.
l Error handling. Determines whether or not the workflow is allowed to continue if the
activity has encountered an error condition at run time.
l “Run as” options. Determines the user account under which to run the activity.
l Additional settings Some advanced configuration options that allow you to adjust the
processing of the operation requested by the activity.
l Activity target. This option lets you specify the object you want the activity to add
to groups. You can select the object when you configure the activity, or you can
configure the activity to select the appropriate object at workflow run time. See
Activity target for further details.
l Groups. This option lets you define the groups to which you want the activity to add
the object. When you configure an “Add to group” activity, you can specify a list of
groups. For each of the groups in the list, the activity will add the object to that
group. To add a group to the list, you can choose from the following options:
l Fixed group in directory. You can select the desired group in Active
Directory when you configure an “Add to group” activity. A unique identifier of
the group is saved in the configuration of the activity. The activity will use that
identifier to select the group when calculating the list of groups at workflow
execution time.
l Object from workflow data context. The group will be selected by the
activity on the basis of the data found in the workflow environment at the
time of executing the workflow. When configuring an “Add to group” activity,
you can specify which group you want the activity to select at workflow
execution time.
l Object identified by DN-value rule expression. The Distinguished Name
(DN) of the group is specified by the string value of a certain 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. You can create the desired rule expression when you configure
an “Add to group” activity.
“Add to group” activity also has a number of configuration settings that are common to
CRUD activities:
l Activity target. This option lets you specify the object you want the activity to
remove from groups. You can select the object when you configure the activity, or
you can configure the activity to select the appropriate object at workflow run time.
See Activity target for further details.
l Groups - Remove the object from all groups. This options configures the
activity to remove the object from all groups in Active Directory. Note that an object
cannot be removed from the object’s primary group, so the activity will remove the
object from all groups except the object’s primary group.
l Groups - Remove the object from these groups. This option lets you list the
groups from which you want the activity to remove the object. You can specify a list
of groups when you configure a “Remove from group” activity. For each of the groups
in the list (with the exception of the object’s primary group), the activity will remove
the object from that group. To add a group to the list, you can choose from the
following options:
l Fixed group in directory. You can select the desired group in Active
Directory when you configure a “Remove from group” activity. A unique
identifier of the group is saved in the configuration of the activity. The activity
will use that identifier to select the group when calculating the list of groups at
workflow execution time.
l Object from workflow data context. The group will be selected by the
activity on the basis of the data found in the workflow environment at the time
of executing the workflow. When configuring a “Remove from group” activity,
you can specify which group you want the activity to select at workflow
execution time.
l Object identified by DN-value rule expression. The Distinguished Name
(DN) of the group is specified by the string value of a certain 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. You can create the desired rule expression when you configure a
“Remove from group” activity.
l Notification Active Roles can notify via e-mail about whether or not the activity has
encountered an error condition at run time.
l Error handling Determines whether or not the workflow is allowed to continue if the
activity has encountered an error condition at run time.
l “Run as” options Determines the user account under which to run the activity.
l Additional settings Some advanced configuration options that allow you to adjust the
processing of the operation requested by the activity.
“Move” activity
“Move” activity is intended to move a certain object to a particular container in Active
Directory. The activity has the following configuration options:
l Activity target. This option lets you specify the object you want the activity to
move. You can select the object when you configure the activity, or you can configure
the activity to select the appropriate object at workflow run time. See Activity target
for further details.
l Destination container. You can specify the Organizational Unit (OU) or container
to which you want the activity to move the object. The following options are
available:
l Fixed container in directory. Move the object to the given OU or container.
You can select the desired OU or container in Active Directory when you
configure a Move activity.
l Parent OU of workflow target object. In case of a change workflow,
move the object to the OU that holds the target object of the request that
started the workflow.
l Activity target object. Move the object to the OU or container created or
otherwise processed by another CRUD activity at the time of executing the
workflow. You can select the desired CRUD activity from the workflow
definition when you configure a Move activity.
l Object identified by workflow parameter. Move the object to the OU or
container specified by the value of a certain parameter of the workflow. You
can choose the desired parameter from the workflow definition when you
configure a Move activity.
l Object from workflow data context. Move the object to the OU or
container that will be selected by the Move activity on the basis of the data
found in the workflow environment at the time of executing the workflow.
When configuring a Move activity, you can specify which OU or container you
want the activity to select at workflow run time.
l Object identified by DN-value rule expression. Move the object to the
OU or container whose Distinguished Name (DN) is specified by the string
value of a certain rule expression. By using a rule expression you can compose
“Move” activity also has a number of configuration settings that are common to CRUD
activities:
l Notification. Active Roles can notify via e-mail about whether or not the activity has
encountered an error condition at run time.
l Error handling. Determines whether or not the workflow is allowed to continue if the
activity has encountered an error condition at run time.
l “Run as” options Determines the user account under which to run the activity.
l Additional settings Some advanced configuration options that allow you to adjust the
processing of the operation requested by the activity.
“Deprovision” activity
“Deprovision” activity is intended to apply the Active Roles deprovisioning policies to a
particular user or group. This activity causes Active Roles to perform all the tasks
prescribed by the deprovisioning policies, thereby deprovisioning the user or group.
The activity allows you to specify the user or group object you want the activity to
deprovision. You can select the object when you configure the activity, or you can configure
the activity to select the appropriate object at workflow run time. See Activity target for
further details.
“Deprovision” activity also has a number of configuration settings that are common to
CRUD activities:
l Notification Active Roles can notify via e-mail about whether or not the activity has
encountered an error condition at run time.
l Error handling Determines whether or not the workflow is allowed to continue if the
activity has encountered an error condition at run time.
l “Run as” options Determines the user account under which to run the activity.
l Additional settings Some advanced configuration options that allow you to adjust the
processing of the operation requested by the activity.
l Notification. Active Roles can notify via email about whether or not the activity has
encountered an error condition at run time.
l Error handling Determines whether or not the workflow is allowed to continue if the
activity has encountered an error condition at run time.
l “Run as” options Determines the user account under which to run the activity.
l Additional settings Some advanced configuration options that allow you to adjust the
processing of the operation requested by the activity.
“Delete” activity
“Delete” activity is intended to delete a particular object in Active Directory. The activity
allows you to specify the object you want the activity to delete. You can select the object
when you configure the activity, or you can configure the activity to select the appropriate
object at workflow run time. See Activity target for further details.
“Delete” activity also has a number of configuration settings that are common to CRUD
activities:
l Notification Active Roles can notify via e-mail about whether or not the activity has
encountered an error condition at run time.
l Error handling Determines whether or not the workflow is allowed to continue if the
activity has encountered an error condition at run time.
l “Run as” options Determines the user account under which to run the activity.
l Additional settings Some advanced configuration options that allow you to adjust the
processing of the operation requested by the activity.
Activity target
The execution of a CRUD activity results in a request to perform a certain operation on a
certain object. For example, an “Update” activity requests Active Roles to make changes to
the properties of a certain object, an “Add to group” activity requests Active Roles to add a
certain object to particular groups, and so forth. The object on which the operation is
requested by a CRUD activity is referred to as the target object of that activity, or simply
activity target.
When you configure a CRUD activity, you can use the following options to specify the
activity target for that activity:
l Fixed object in directory. The activity target is the given object. You can select
the desired object in Active Directory when you configure a CRUD activity.
Add to group The object to be added to the groups. An “Add to group” activity
requests Active Roles to add a certain object to particular groups.
That object is referred to as the activity target of the “Add to
group” activity.
Remove from group The object to be removed from the groups. A “Remove from group”
activity requests Active Roles to remove a certain object from
particular groups. That object is referred to as the activity target of
the “Remove from group” activity.
The notification settings specify the event to notify of, and notification recipients. When
executed by the workflow, the activity prepares a notification message appropriate to the
specified event. Active Roles retains the message prepared by the activity, and sends the
message to the specified recipients upon occurrence of that event. The notification settings
are similar to the notification settings of a Notification activity (see Notification activity
earlier in this document).
Error handling
When configuring a CRUD activity, you can choose whether to suppress errors encountered
by that activity. The following option is available: Continue workflow even if this
activity encounters an error. If this option is not selected (default setting), an error
encountered by the activity causes Active Roles to terminate the workflow.
If you configure a CRUD activity so that the workflow is allowed to continue in case of an
error encountered by that activity, then you can have the workflow take an appropriate
compensation action. This could be accomplished by using an If-Else activity with a branch
condition that evaluates the “Encountered an error” execution status of the CRUD activity.
Add an If-Else activity following the CRUD activity and configure a condition on an If-Else
branch to detect the “Encountered an error” execution status of that CRUD activity. Then,
configure that If-Else branch to contain the activities you want to perform the
compensation action. As a result, once the CRUD activity has encountered an error, the
“Encountered an error” branch condition evaluates to TRUE, causing the workflow to
execute the activities intended to perform the compensation action.
Additional settings
A CRUD activity has the following additional configuration options:
l Use this text instead of the original operation reason text. If the operation
requested by the CRUD activity is subject to approval, you can specify the operation
reason text to be shown to the approver instead of the reason text specified in the
operation request that started the workflow. The Use only if the operation
reason is not originally specified sub-option configures the activity to replace
the reason text only if the operation request that started the workflow does not have
any reason text specified.
l Allow the request created by this activity to start a new instance of the
workflow containing this activity. This option is normally disabled to prevent
recurrent execution of the CRUD activity in the situation where the operation
requested by that activity within a given workflow matches the start conditions of
that same workflow. Enabling this option could result in a loop of workflow instances
executing the same activity again and again, and eventually would cause an
overflow condition.
l Exclude or include request controls from the activity operation request.
Request controls are certain pieces of data in an operation request that can be used
to pass additional information to Active Roles on how to process the request. Request
controls are optional. If no request controls are added to a request, then Active Roles
determines how to process the request based solely on the type of the request. You
can configure the activity to add certain controls to its operation requests (include
request controls) or to ensure that certain controls never occur in the activity
operation requests (exclude request controls). For information about Active Roles
request controls, see the Active Roles SDK documentation.
l Activity target. This option lets you specify the object whose properties you want
the activity to save. You can choose to specify:
l Workflow target object. In a change workflow, the target object of the
request that started the workflow. For example, in a workflow that starts upon
a deletion request, this choice causes the activity to save the properties of the
object whose deletion is requested.
l Fixed object in directory. A particular object you select from Active
Directory.
l Object identified by workflow parameter. The object specified by the
value of a certain parameter of the workflow. You can choose the desired
parameter from the workflow definition.
l Object from workflow data context. The object will be selected by the
activity on the basis of the data found in the workflow environment at the time
of executing the workflow. You can specify which object you want the activity
to select at workflow execution time.
l Object identified by DN-value rule expression. The object whose
Distinguished Name (DN) is specified by the string value of a certain 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. You can create the desired rule expression when
you configure the activity.
l Target properties. This option lets you specify the object properties you want the
activity to save. The workflow designer proposes the default list of properties, and
allows you to change the list as needed. By default, the activity saves all single-value
non-constructed attributes found in the directory schema for the target object,
including custom virtual attributes added to the directory schema by Active Roles.
l Notification. You can configure the activity to subscribe recipients to the
notifications of the following events:
l Activity completed successfully. When configured to notify of this event,
the activity causes Active Roles to send a notification e-mail if no significant
errors occurred during execution of this activity.
l Error handling. You can choose whether to suppress errors encountered by the
activity. The following option is available: Continue workflow even if this
activity encounters an error. If this option is not selected (default setting), then
an error condition encountered by the activity causes Active Roles to terminate the
workflow. If you select this option, the workflow continues regardless of whether or
not the encounters an error condition.
l Target changes. You can define the property changes to add or remove from the
change request. When you configure this activity, you can choose the properties you
want the activity to change and, for each property, choose to remove the property
from the request, clear the property value in the request, or specify the new value to
be assigned to that property. For a multi-value property, you can choose to add or
remove a value from that property. The following options are available:
l Text string. Use the given string of characters as the value of the property.
You can type the desired string.
l Property of workflow target object. Use the value of a certain property of
the target object of the request that started the workflow. You can select the
desired property from a list of object properties.
l Property of workflow initiator. Use the value of a certain property of the
user whose request started the workflow. You can select the desired property
from a list of object properties.
l Changed value of workflow target object property. Use the value that
is requested to be assigned to a certain property of the workflow target object.
You can select the desired property from a list of object properties.
l Workflow parameter value. Use the value of a certain parameter of the
workflow. You can choose the desired parameter from a list of the workflow
parameters.
l Error handling. You can choose whether to suppress errors encountered by the
activity. The following option is available: Continue workflow even if this
activity encounters an error. If this option is not selected (default setting), then
an error condition encountered by the activity causes Active Roles to terminate the
workflow. If you select this option, the workflow continues regardless of whether or
not the encounters an error condition.
l Additional settings. You can configure the activity to:
l Change the container where to create new objects while ensuring that the
policies and workflows are applied from the container where the object will
actually be created rather than from the container that was originally specified
in the object creation request.
l Add or remove Active Roles controls from the request.
Controls are certain pieces of data that can be used to provide additional
information to Active Roles on how to process the request. If no controls are
added to a request, then Active Roles determines how to process the request
based solely on the type of the request. You can configure the activity to add
certain controls to the request (include controls) or to ensure that certain controls
never occur in the request (exclude controls). For information about Active Roles
controls, see Active Roles SDK.
2. In the details pane, click the Workflow options and start conditions button to
expand the area above the process diagram, and then click the Configure button.
3. Click the Conditions tab in the Change Workflow Options and Start Conditions
dialog box.
l Operation conditions
l Initiator conditions
l Filtering conditions
l “Run as” options
Operation conditions
The operation conditions specify:
1. In the Change Workflow Options and Start Conditions dialog box, go to the
Conditions tab, and click Select operation in the Operation Conditions area.
This opens the page where you can view or change the object type and operation
type settings.
2. To change the object type settings, select a type of object from the drop-down list.
To select an object type that is not included in the drop-down list, click the button
next to the drop-down list.
Initiator conditions
The initiator conditions specify:
1. In the Change Workflow Options and Start Conditions dialog box, go to the
Conditions tab, and observe the list in the Initiator Conditions area.
Each entry in the list represents a single initiator condition, with the first field
identifying the operation requestor and the second field identifying the container. If
the list is missing, no initiator conditions are defined.
Filtering conditions
A filter can be used to define any additional conditions on objects involved in an operation.
The workflow starts only if the operation satisfies those conditions. If no filter is set, then
no additional conditions are in effect.
When you configure a filter, you need to add at least one condition, but you are not limited
in the number of conditions that you can add. You can add, delete, and group conditions
using various operators. It is possible to nest condition groups within other condition
groups to achieve the results that you want.
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.
By default, a single condition group is created when you add a condition. You can create
additional condition groups to group a set of conditions and nest grouped conditions within
other condition groups.
In a condition group, conditions are connected using the AND, OR, NOT AND, or NOT OR
logical operator:
l AND group evaluates to TRUE if all conditions in the group are TRUE.
l OR group evaluates to TRUE if any condition in the group is TRUE.
l NOT AND group evaluates to TRUE if any condition in the group evaluates to FALSE.
l NOT OR 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.
When you add a condition, the workflow designer first prompts you to specify what you
want the condition to evaluate. The following options are available:
Once you have specified the entity or field that you want the condition to evaluate, you can
choose a comparison operator and specify a comparison value. The comparison operator
determines the operation of comparing the entity or field to evaluate with the comparison
value you specified, and causes the condition to evaluate to TRUE or FALSE depending on
the outcome of that operation.
You can choose from the following options to specify a comparison value:
l Text string. Performs comparison with a literal string of characters. You can type
the desired string when you configure a condition.
l Property of workflow target object. Performs comparison with the value of a
certain property of the target object of the request that started the workflow. You can
select the desired property when you configure a condition.
l Property of workflow initiator. Performs comparison with the value of a certain
property of the user whose request started the workflow. You can select the desired
property when you configure a condition.
l Changed value of workflow target object property. Performs comparison with
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. You can select the desired property
when you configure a condition.
l Workflow parameter value. Performs comparison with the value of a certain
parameter of the workflow. You can select the desired parameter from the workflow
definition when you configure a condition.
l Property of object from workflow data context. Performs comparison with the
value of a certain property of the object that will be selected on the basis of the data
found in the workflow environment at the time of evaluating the workflow start
conditions. When you configure a condition, you can choose the desired property and
l In the condition builder, 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 the Delete condition button labeled X
on the right side of the list item representing the condition in the condition builder.
l Click the name of the condition group, point to Insert condition group, and then
click an option to specify the logical operator:
l AND group. The condition group evaluates to TRUE if all conditions in the
group are TRUE.
l OR group. The condition group evaluates to TRUE if any condition in the
group is TRUE.
l NOT AND group. The condition group evaluates to TRUE if any condition in
the group evaluates to FALSE.
l 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
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:
l Click Property of workflow target object to evaluate a certain property of
the workflow target object. Then, click to choose the target property.
l Click Property of workflow initiator to evaluate a certain property of the
workflow initiator. Then, click to choose the target property.
l Click Changed value of workflow target object property to evaluate
requested changes to a certain property of the workflow target object. Then,
click to choose the target property.
l Click Workflow parameter value to evaluate the value of a certain
parameter of the workflow. Then, click to choose the desired parameter.
l Click Property of object from workflow data context to evaluate a
certain property of a certain object involved in the workflow. Then, click to
choose the target object and the target property.
l Click Value generated by rule expression to evaluate the string value
generated by a certain rule expression. Then, click to add entries to the rule
expression.
2. Click the current comparison operator, if needed, and then click the operator you
want the condition to use.
By default, a condition is configured to use the equals operator.
3. Click Define value to compare to, and then choose from the following options to
specify the desired comparison value:
l Click Text string to performs comparison with a literal string of characters.
Then, type the desired string.
l Click Property of workflow target object to perform comparison with the
value of a certain property of the workflow target object. Then, click to choose
the target property.
l Click Property of workflow initiator to perform comparison with the
value of a certain property of the workflow initiator. Then, click to choose the
target property.
l Click Changed value of workflow target object property to perform
comparison with the value that is requested to be assigned to a certain
property of the workflow target object. Then, click to choose the target
property.
1. In the condition builder, click the name 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 box, click Add entry and then click
Value generated by script.
4. Use the Configure Entry dialog box to select the appropriate script module and
script function.
5. Click OK to close the Configure Entry dialog box.
6. Click OK to close the Configure Rule Expression dialog box.
7. In the condition builder, verify that comparison operator equals is selected.
8. Click Define value to compare to, and then click Text string.
9. In the Configure Entry dialog box, under Text string, type TRUE.
10. Click OK to close the Configure Entry dialog box.
11. Click OK to close the Change Workflow Options and Start Conditions
dialog box.
12. Save your changes to the workflow definition.
As a result of these steps, the workflow will start if the function specified in Step 4 returns
TRUE upon evaluating the condition at workflow start time.
For more information and instructions, see “Developing Script Condition Functions” in the
Active Roles SDK documentation.
l The service account of Active Roles. The workflow runs under the service
account of the Administration Service that executes the workflow.
l The account of the user who started the workflow. The workflow runs
under the Windows account of the user who requested the operation that started
the workflow.
All activities within the workflow normally run under the account identified by the “run as”
options for the workflow. However, each activity can be configured to use individual “run
as” options. The property page for the activity contains the “Run as” options link allowing
you to override the workflow “run as” setting on a per-activity basis.
When running under the account of the Administration Service, the workflow activities have
the same rights and permissions as the Administration Service itself and thus can perform
any tasks allowed for the Administration Service.
When running under the account of the user who started the workflow, the activities can
perform only the tasks that Active Roles allows for that user account. The Administration
Service processes the activity operation requests as if they were submitted by that user via
an Active Roles user interface, so the activities have the rights and permissions the user
account is given in Active Roles.
Enforce approval
The Enforce approval option determines whether to apply approval rules to the changes
requested by the workflow running under a privileged account. When selected, this option
causes the approval-pending changes requested by the workflow activities to be submitted
for approval regardless of the account under which the workflow is running. Otherwise, the
changes are applied without waiting for approval if the workflow is running under the
service account of Active Roles, under the account of the approver, or under the account of
an Active Roles administrator. This option setting can be overridden on a per-activity basis.
l Workflow start conditions. When configuring workflow start conditions, you can
create a filter that causes the workflow to start if the properties of the operation
request match the value of a certain parameter.
l If-Else branch conditions. When configuring conditions for an If-Else branch, you
can set up a condition that causes the workflow to choose that branch if a certain
parameter has a particular value.
l Search container. When configuring a Search activity, you can choose the option
that causes the activity to search in the Organizational Unit or container identified by
the value of a certain parameter.
l Search filter. When configuring a Search activity, you can set up a search filter
condition that causes the activity to search for objects whose properties match the
value of a certain parameter.
l Creation container. You can configure a Create activity with the option to
create objects in the Organizational Unit or container identified by the value of a
certain parameter.
l Setting object properties. You can configure a Create activity or Update activity
with the option to set or change the properties of the object based on the value of a
certain parameter.
l Selecting target object. You can configure an activity to make changes to the
object identified by the value of a certain parameter. This applies to activities
intended to make changes to objects in Active Directory, such as Update activity,
"Add to group" activity, Move activity, and so on.
l Destination container. You can configure a Move activity to move the object to
the Organizational Unit or container identified by the value of a certain parameter.
Each parameter has a number of properties that define the parameter, including:
l Name. Each parameter must have a unique name in the workflow definition.
l Description. You can use this property to describe the purpose of the parameter.
l Display name. This property specifies the user-friendly name of the parameter.
l Syntax. This property determines the data type of the parameter value.
l String. This syntax indicates that the parameter value is a string of
characters. You can type the string when you set the value of the parameter.
l DateTime. This syntax indicates that the parameter stores a date and time
value. You can use the date and time picker to supply the parameter value.
l DN. This syntax indicates that the parameter value is the Distinguished
Name of a certain object. You can use the object picker to supply the
parameter value.
l ObjectGUID. This syntax indicates that the parameter value is the Globally
Unique Identifier (GUID) of a certain object. You can use the object picker to
supply the parameter value.
2. In the details pane, click the Workflow options and start conditions button to
expand the area above the process diagram, and then click the Configure button.
3. Click the Parameters tab in the dialog box that opens.
4. On the Parameters page, click the Add button to open the Parameter Definition
dialog box.
5. In the Parameter Definition dialog box, complete the following fields:
l Name. In this box, type the name you want to assign to the parameter. The
name must be unique in the workflow definition.
l Description. Use this box to type a description of the parameter. This field
is optional.
l Display name. In this box, type the user-friendly name you want to assign to
the parameter.
l Syntax. From this list, select the syntax you want to the parameter to have.
See a list of syntax options earlier in this topic.
Parameters are used to specify certain data when configuring or starting the workflow and
then pass that data to workflow activities when the workflow is running. The data is
represented as parameter values. To assign a value to a given parameter, select the
parameter from the list on the Parameters tab, and then click the View or change
parameter value button.
2. In the details pane, drag the activity from the left panel onto the process diagram.
3. Right-click the name of the activity in the process diagram and click Properties.
4. Use the Properties dialog box to configure the activity. See instructions later in
this chapter.
If you add an activity to the upper part of the diagram (above the Operation execution
line), the activity will be run in the pre-execution phase of operation processing (see
Workflow processing overview earlier in this chapter). If you add an activity to the lower
part of the diagram (beneath the Operation execution line), the activity will be run in the
post-execution phase of operation processing. Certain activities, such as an Approval
activity, which are intended to run in the pre-execution phase, cannot be added to the
lower part of the diagram.
In the Properties dialog box, you can change the name and description of the activity.
These settings are common to all activities. The name identifies the activity in the process
diagram. The description appears as a tooltip when you point to the activity in the process
diagram. To remove an activity from the process diagram, right-click the name of the
activity and click Delete.
Configure approvers
A valid approval rule must, at a minimum, specify a list of approvers for the initial
approver level. Active Roles first assigns the approval task to the approvers of that level.
You can configure additional approver levels to enable escalation of approval tasks.
2. In the process diagram, right-click the name of the Approval activity and click
Properties.
3. In the Properties dialog box, click the Approvers tab.
4. Verify that the Initial approver - level 0 item is selected in the Select approver
level to configure box.
5. Click the Designate approvers button.
6. On the Approvers Selection page, select check boxes to specify approvers.
7. If you have selected These users or groups, use the Add and Remove buttons to
configure the list of approvers.
If you enable escalation on the initial approver level (see Configure escalation), then you
have to specify approvers for escalation level 1 (the escalation level subsequent to the
initial approver level). Active Roles allows up to 10 escalation levels, each containing a
separate list of approvers. If you enable escalation on a given escalation level, then you
have to specify approvers for the subsequent escalation level.
1. In the Select approver level to configure list, click the escalation level you want
to configure.
To configure a particular escalation level, you must first specify approvers and
enable escalation on the preceding approver level.
l By selecting the Manager of person who requested operation check box, you
configure the Approval activity so that the operations requested by a given user
require approval from the manager of that user. With this option, the operation
initiated by the user submits the approval task to the person specified as the
manager of the user in the directory.
l By selecting the Manager of operation target object or Manager of
organizational unit where operation target object is located check box, you
configure the Approval activity so that the changes to a given object require approval
from the manager of that object or from the manager of the OU containing that
object, respectively. With these options, the operation requesting changes to a given
object submits the approval task to the person specified as the manager of the object
or OU in the directory.
l By selecting the Secondary owners of operation target object check box, you
configure the Approval activity so that the changes to the operation target object
require approval from any person who is designated as a secondary owner of that
object. Secondary owners may be assigned to an object, in addition to the manager
(primary owner), to load balance the management of the object.
l By selecting the Manager of person being added or removed from target
group check box, you configure the Approval activity so that the addition or removal
of an object from the operation target group requires approval from the manager of
that object. For example, given a request to add a user to the operation target group,
this option causes the Approval activity to submit the approval task to the person
specified as the manager of the user in the directory.
When you specify approvers for an escalation level, additional options are available:
The selection of approvers may also be based on a script function that chooses the
approver when the Approval activity is being executed. The function may access properties
of objects involved in the operation, analyze the properties, and return an identifier of the
user or group to be selected as an approver. For more information and instructions, refer
to the “Developing Functions for Designating Approvers” topic in the Active Roles SDK
documentation.
1. Specify approvers for the initial approver level (for instructions, see Configure
approvers earlier in this document).
2. Verify that the Initial approver - level 0 item is selected in the Select approver
level to configure box.
3. Select one or both of these options:
l Approval task has a time limit of <number> days <number> hours.
Specify the time period within which the initial approver has to complete the
approval task.
l Allow approver to escalate approval task. When selected, allows the
approvers of the initial level to reassign their approval tasks to the approvers
of escalation level 1.
4. If you have selected only the first option (a time limit for the task), then select the
Escalate approval task to Escalation level 1 option. Otherwise, escalation is
not enabled.
5. In the Select approver level to configure box, click Escalation level 1.
6. Specify approvers for escalation level 1 (for instructions, see Configure approvers
earlier in this document).
1. In the Select approver level to configure list, click the escalation level you want
to configure.
To configure a particular escalation level, you must first specify approvers and
enable escalation on the preceding approver level.
5. Specify approvers for the subsequent escalation level (for instructions, see Configure
approvers earlier in this document).
Note that each approver level has an individual configuration, so the escalation options of a
given level apply only to that level. Thus, each approver level has a separate time limit,
the option that determines whether to escalate the approval task after the time limit has
expired, and whether the approvers of the given level are allowed to escalate the approval
task manually.
1. Go to the Request for information tab in the Properties dialog box for the
Approval activity.
2. Add the desired properties to the Request the approver to supply or change
these properties list.
1. Go to the Request for information tab in the Properties dialog box for the
Approval activity.
2. Select the Show the original request to the approver check box to enable the
approver to review the properties submitted for approval.
3. Optionally, select the Allow the approver to modify the original request check
box to allow the approver to make changes to the properties submitted for approval.
When the Show the original request to the approver check box is selected, the
Object Properties tab of the Approval Task page in the Approval section of the Web
Interface displays the object properties submitted for approval. The property values are
shown read-only in the area under the Review the properties submitted for approval
heading. You can configure the Approval activity to allow the approver to change those
property values by selecting the Allow the approver to modify the original request
check box. If you do not want the approver to view the properties submitted for approval,
clear the Show the original request to the approver check box.
1. Go to the Customization tab in the Properties dialog box for the Approval activity.
2. Click Customize the task header area.
1. Under Customize the task header area, verify that the Display these
properties of the object submitted for approval check box is selected.
2. Use the Add and Remove buttons to configure the list of properties.
By default, the list contains the Friendly Name property, which causes Active Roles
to use the display name of the object. If the object does not have a display name,
then Active Roles uses the name of the object.
By default, the approval task’s header provides summary information about the changes
that are subject to approval, including the type of the changes and the reason for the
changes. You can configure the header not to display that information by clearing the
Display the operation summary in the task header area check box.
Changes to the configuration of the task’s header have an effect on the tasks created by the
Approval activity after the changes were made, and don’t affect the tasks created earlier.
1. Go to the Customization tab in the Properties dialog box for the Approval activity.
2. Click Customize action buttons.
3. Click the title of the button in the list, and then click Edit.
4. In the Action Button Properties dialog box, perform the following tasks:
l To rename the button, type the appropriate name in the Button title box.
l The new name will appear on the action button in the Web Interface.
l To hide the button, clear the Is visible on the pages for performing the
approval task check box.
l As a result, the Web Interface will not display the action button.
You can restore the action button in the Web Interface by selecting the Is visible on the
pages for performing the approval task check box. Note that this option is unavailable
for the Escalate or Delegate action type. The Web Interface displays the Escalate or
1. Go to the Customization tab in the Properties dialog box for the Approval activity.
2. Click Customize action buttons.
3. Click Add.
4. In the Action Button Properties dialog box, do the following:
a. In the Button title box, type the appropriate name of the button.
This name will appear on the action button in the Web Interface
b. From the Action type list, select the appropriate type of the action button.
When applied to an approval task, the Complete action type, causes the
workflow to continue, allowing the operation that is subject to approval; the
Reject action type button denies the operation.
c. Select the Is visible on the pages for performing the approval
task check box.
When you add a custom action button, you may want to include an instruction explaining
the meaning and purpose of the custom action. You can type the text of the instruction in
the Show this instruction for action buttons box in the Customize action buttons
area on the Customization tab in the Properties dialog box for the Approval activity. The
approver will see that text above the action buttons on the pages for performing the
approval task in the Web Interface.
To complete an approval task, the approver normally has to fill in a confirmation dialog
box. You can configure the Approval activity to prevent the confirmation dialog box from
appearing: Select the Suppress the confirmation dialog upon completion of
approval task check box in the Customize action buttons area on the Customization
tab in the Properties dialog box for the Approval activity.
2. In the process diagram, right-click the name of the activity and click Properties.
3. Click the Notification tab in the Properties dialog box.
l Events, recipients and messages In this area you can add, view, change, or remove
notifications, each of which determines an event to notify of, the recipients of the
notification message, the message delivery options, and the message template.
l Active Roles Web Interface This area is used to specify the address (URL) of the
Active Roles Web Interface, for constructing hyperlinks in the notification messages.
l E-mail server settings In this area you can view or change the name and other
settings of the e-mail server that is used for delivery of notification messages.
4. On the Notification Delivery tab, select the delivery options you want:
l Select the Immediate option for the notification message to be sent
immediately, on every occurrence of the event.
l Select the Scheduled option for the notification messages within a certain
time period to be grouped and sent as a single message; then, specify the
desired period. This option is available only for the Task created event in an
Approval activity.
5. On the Notification Message tab, click Modify to view or change the message
template, including the subject and the body of the notification message.
For the Task created event in an Approval activity, notification can be configured so that
notification messages are grouped together and sent out on a scheduled basis. If you select
the Scheduled option on the Notification Delivery tab, the messages within a certain,
scheduled period are accumulated in a temporary storage instead of being sent out
immediately upon event occurrences. Upon the expiration of that period, all the collected
messages are sent out as a single message. You can configure the activity to deliver
notification on a daily or hourly schedule.
Clicking Modify on the Notification Message tab opens a window where you can view
and modify e-mail notification templates. For each event type, the notification
configuration defines a default template based on which Active Roles composes e-mail
notification messages. Each template includes XHTML markup along with the text and
tokens representing information about the event.
To make notification messages more meaningful to the recipients, notification templates
provide the option for the messages to include tokens representing additional information
about the event. Click the Insert Token button to view a list of the available tokens. The
list provides a brief description for each token.
You can edit templates in order to customize the contents and format of notification e-
mails. The changes to templates are notification-specific and event-specific: When you
modify the template for a certain event within the configuration of a certain notification,
your changes have no effect on the other notifications or events. This allows different
notifications and events to have different, custom notification templates.
l Click an entry in the Events, recipients and messages list, click Edit, and use the
Notification Settings dialog box as described earlier in this topic.
To delete a notification
l Click an entry in the Events, recipients, and messages list, and then click
Remove.
1. In the edit box under Active Roles Web Interface, type the address (URL) of the
Active Roles Web Interface site (for example, http://<server>/ARServerAdmin).
2. Click Test to verify the address. If the address is correct, this opens the Web
Interface site in your Web browser.
l Click the name of the desired configuration in the Configuration of the outgoing
mail server list.
2. In the process diagram, right-click the name of the activity and click Properties.
3. Go to the General tab in the Script Activity Properties dialog box.
l Adding a branch
l Adding activities to a branch
l Configuring branch conditions (see Configuring conditions for an If-Else branch)
l Configuring error handling (see Steps to configure error handling)
2. In the process diagram, right-click the name of the If-Else activity and click
Add Branch.
This adds a branch with the default name of If-Else Branch. Right-click the name of the
branch and click Properties to change the name as necessary. You can delete a branch by
clicking the name of the branch and then clicking Delete.
l Drag the activity from the left panel onto the branch.
If you add an activity to the upper part of the diagram (above the Operation execution
line), the activity will be run in the pre-execution phase of operation processing (see
Workflow processing overview earlier in this chapter).
If you add an activity to the lower part of the diagram (beneath the Operation execution
line), the activity will be run in the post-execution phase of operation processing. Certain
1. In the process diagram, right-click the name of the If-Else activity and click
Properties.
2. Go to the Error handling tab in the If-Else Activity Properties dialog box, and
select or clear the Continue workflow even if this activity encounters an
error check box on that tab.
If the Continue workflow even if this activity encounters an error check box is not
selected (default setting), then an error condition encountered by the activity causes Active
Roles to terminate the workflow. If you select this check box, the workflow continues
regardless of whether or not the If-Else activity or any activity within the If-Else activity
encounters an error condition.
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
l In the Conditions box, 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 the Delete condition button labeled X
on the right side of the list item representing the condition in the Conditions box.
l 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:
l AND group. The condition group evaluates to TRUE if all conditions in the
group are TRUE.
l OR group. The condition group evaluates to TRUE if any condition in the
group is TRUE.
l NOT AND group. The condition group evaluates to TRUE if any condition in
the group evaluates to FALSE.
l 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:
l 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 workflow.
l 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.
l Changed value of workflow target object property. Evaluate the value
that is requested to be assigned to a certain property of the workflow target
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.
For a brief description of comparison operators and comparison value options, see
Search filter.
As a result of these steps, the If-Else branch you have configured will be selected if the
function specified in Step 4 returns TRUE at workflow run time. For more information and
instructions, see “Developing Script Condition Functions” in the Active Roles SDK
documentation.
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.
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:
l 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.
l 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:
l Text string. Add a literal string of characters. The Workflow Designer
prompts you to type the desired string.
l 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.
l 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.
l 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.
l Newline character (CR/LF). Add the end-of-line code to start a new string.
l Tab character. Add a tab character to the string.
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 the X button on the
right side of the list item representing that entry in the Body of the report section box.
2. In the details pane, drag the activity from the left panel onto Search activity in the
process diagram.
To configure a Search activity, right-click the name of that activity in the process diagram
and click Properties. Then, perform the following tasks in the “Search” Activity
Properties dialog box:
1. From the Use this activity to list, choose the option appropriate to your
search scenario:
l Choose Search in the Organizational Unit or container to search a
certain OU or container for objects that match your search criteria.
l Choose Search for resources managed or owned by the user or group
to search for the managed objects of a particular user or group that match your
search criteria. Managed objects of a user or group are those for which the
user or group is the primary owner (manager) or a secondary owner.
l Choose Search the group for its members to search for the members of a
certain group that match your search criteria.
l Choose Search for direct reports of the user to search for the direct
reports of a particular user that match your search criteria. Direct reports of a
given user are the users for which that user is the manager.
l Choose Search within the object's attribute (ASQ search) to search for
the objects listed in a certain attribute of a particular object that match your
search criteria.
2. From the Find list, choose the type of object to search for.
Depending on the search scenario option, you can choose from the following
object types:
l Users Search for user accounts.
l Contacts Search for contact objects.
l Groups Search for groups.
l Computers Search for computer accounts
l Printers Search for printer objects.
l Organizational Units Search for Organizational Units.
l Shared Folders Search for shared folder objects.
l Exchange Recipients Search for mailboxes or mail-enabled users, groups,
or contacts.
l Inactive Accounts Search for users computers that haven’t logged on for
more than a certain number of days, have the password age of more that a
certain number of days, or are expired for more than a certain number of days.
l All Objects Search for objects of any type.
Some of these object types are unavailable for certain search scenario options. For
example, with the option to search for direct reports, the only available object types
3. Click in the In box to specify where you want the activity to search.
The role of the object you configure in the In box depends upon your search
scenario option:
l With the Search in the Organizational Unit or container option, the
activity will search the OU or container specified in the In box.
l With the Search for resources managed or owned by the user or group
option, the activity will search for the managed objects of the user or group
specified in the In box.
l With the Search the group for its members option, the activity will search
for members of the group specified in the In box.
l With the Search for direct reports of the user option, the activity will
search for direct reports of the user specified in the In box.
l With the Search within the object's attribute (ASQ search) option, the
activity will search for objects listed in a certain attribute of the object
specified in the In box. You can choose the attribute to search.
l When you click in the In box, the workflow designer offers a number of options
for you to specify the desired object. Depending on your search scenario, you
can choose from the following options:
Search the group l Workflow target object. Search for members of the
for its members. group that is the target object of the request that started
the workflow.
l Object identified by workflow parameter. Search
the group specified by the value of a certain parameter
of the workflow. You can choose the desired parameter
when you configure a Search activity.
l Object from workflow data context. Search for
members of the group object that will be selected by the
Search activity on the basis of the data found in the
workflow environment at the time of executing the
workflow. When configuring a Search activity, you can
Search for direct l Workflow target object. Search for direct reports of
reports of the the target object of the request that started the
user. workflow.
l Object identified by workflow parameter. Search
for direct reports of the object specified by the value of a
certain parameter of the workflow. You can choose the
desired parameter when you configure a Search activity.
l Object from workflow data context. Search for
direct reports of the object that will be selected by the
Search activity on the basis of the data found in the
workflow environment at the time of executing the
workflow. When configuring a Search activity, you can
specify which object you want the activity to select at
workflow run time.
l Object identified by DN-value rule expression.
Search for direct reports of the object whose Distin-
guished Name (DN) is specified by the string value of a
certain 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. You can create the
desired rule expression when you configure a Search
activity.
l Also retrieve indirect members. Have your search results include indirect
members of the given group. With this option, the activity searches not only for
objects that are directly added to the group (direct members) but also for indirect
members-objects that belong to the group because of their membership in other
groups which are direct or indirect members of the given group.
l Also retrieve pending members. Have your search results include objects that
are scheduled to be added to the group by using the “Temporal Group Memberships”
capability of Active Roles.
If you chose to perform an ASQ search, then click in the Search within this
attribute box to select the attribute for the ASQ search. This must be an attribute
that stores Distinguished Names, such as the “Member Of” or “Managed By”
attribute. The search is performed against the objects that are identified by the
Distinguished Names found in that attribute. For example, a search within the
5. Click in the Search options box to restrict your search to objects with particular
characteristics. The available search options are specific to the object type you chose
to search for.
l Click the hyperlink under Retrieve only these Exchange recipients. to restrict
your search to Microsoft Exchange mailbox-enabled users or Microsoft Exchange
mail-enabled users.
l Click the hyperlink under Retrieve only inactive user accounts. to restrict your
search to user accounts that meet certain inactivity conditions. In the dialog box that
opens, you can choose the inactivity conditions as appropriate.
l Click the hyperlink under Retrieve only expiring user accounts to restrict your
search to user accounts that will expire within a certain number of days. In the dialog
box that opens, you can set the number of days you want.
l Click the hyperlink under Retrieve only these Exchange recipients. to restrict
your search to Microsoft Exchange mail-enabled contacts.
l Click the hyperlink under Retrieve only these Exchange recipients. to restrict
your search to Microsoft Exchange mail-enabled groups.
l Click the hyperlink under Retrieve only these group types. to restrict your
search to groups that meet certain conditions, such as groups of certain type and
scope, empty groups, deprovisioned groups, or groups controlled by Active Roles. In
the dialog box that opens, you can choose the conditions for groups as appropriate.
If you chose to search for computers:
l Click the hyperlink under Retrieve computers in this role. to restrict your search
to workstations or servers, or domain controllers.
l Click the hyperlink under Retrieve only inactive computer accounts. to restrict
your search to computer accounts that meet certain inactivity conditions. In the
dialog box that opens, you can choose the inactivity conditions as appropriate.
If you chose to search for printers:
l Click hyperlinks under Retrieve only printers with these features. to restrict
your search to printers with certain features, such as the printer model, paper size,
print resolution, print speed, and other capabilities including the ability to print
double-sided, the ability to print multiple colors, and the ability to staple. In the
dialog box that opens, you can choose the printer features as appropriate.
If you chose to search for Exchange recipients:
l Click the hyperlink under Retrieve only these Exchange recipients. to restrict
your search to recipients that meet certain conditions, such as users with Exchange
l Under Retrieve these account types, select the appropriate option depending on
whether you want to search for inactive user accounts only, inactive computer
accounts only, or both user and computer accounts that are inactive.
l Under Retrieve accounts that meet any of the selected conditions, choose
and configure the account inactivity conditions. Accounts that meet any of the
conditions you choose will be considered inactive. The following condition options
are available:
l Account has not logged on in the past <number> days This option allows
you to specify the period, in days, that an account is not used to log on, after
which the account is considered inactive. The search retrieves a given account
if no successful logons to that account have occurred for more days than
specified by this option.
The search activity uses the lastLogonTimeStamp attribute to determine the
last time that a given user or computer successfully logged on. Active
Directory updates that attribute only periodically, rather than every time that a
user or computer logs on. Normally, the period of update is 14 days. This
means that the lastLogonTimeStamp value could be off by as much as 14 days,
so the true last logon time is later than lastLogonTimeStamp. Hence, it is
advisable to choose the logon inactivity period of more than 14 days.
l Account’s password has not changed in the past <number> days This
option allows you to specify the password age, in days, after which an account
is considered inactive. The search retrieves a given account if the password of
the account remains unchanged for more days than specified by this option.
l Account expired more than <number> days before the current date
This option allows you to specify the number of days after which an
expired account is considered inactive. The search retrieves a given
account if the account remains in the expired state for more days than
specified by this option.
l 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 the Delete condition button labeled X
on the right side of the list item representing the condition in the Conditions box.
l In the Search options box, under Filter, click the name of the condition
group, point to Insert condition group, and then click an option to specify
the logical operator:
l AND group. The condition group evaluates to TRUE if all conditions in the
group are TRUE.
l OR group. The condition group evaluates to TRUE if any condition in the
group is TRUE.
l NOT AND group. The condition group evaluates to TRUE if any condition in
the group evaluates to FALSE.
l 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.
To configure a condition
1. Click Configure condition to evaluate, and then choose the property you want the
condition to evaluate.
2. Click the current comparison operator, if needed, and then click the operator you
want the condition to use.
By default, a condition is configured to use the equals operator. The list of operators
that are available depends upon the property you select in Step 1.
3. Click Define value to compare to, and then choose an option to specify the
desired comparison value. The following options are available:
Option Description
Text string A literal string of characters. You can type the desired string
when you configure a filter condition.
Property of workflow The value of a certain property of the target object of the
target object request that started the workflow. You can select the
desired property when you configure a filter condition.
Normally, this should be a string-value property.
Property of workflow The value of a certain property of the user whose request
initiator started the workflow. You can select the desired property
when you configure a filter condition. Normally, this should
be a string-value property.
Property of object The value of a certain property of the object that will be
from workflow data selected by the Search activity on the basis of the data
context found in the workflow environment at the time of executing
the workflow. When you configure a filter condition in a
Search activity, you can 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 The string value of a certain rule expression. By using a rule
rule expression expression you can compose a string value based on
Object from The object that will be selected by the Search activity on the
workflow data basis of the data found in the workflow environment at the
context time of executing the workflow. When you configure a filter
condition in a Search activity, you can specify which object
you want the activity to select upon evaluating the condition
at workflow run time. This comparison value is applicable to
filter conditions for DN-value properties.
Workflow initiator The user account of the user whose request started the
object workflow. This comparison value is applicable to filter
conditions for DN-value properties.
Workflow target The target object of the request that started the workflow.
object This comparison value is applicable to filter conditions for
DN-value properties.
Fixed date and time A literal date and time value. You can choose the desired
date and time when you configure a filter condition. This
comparison value is applicable to filter conditions for
Date/Time-value properties.
Workflow date and A certain point in time relative to the date and time of the
time Search activity run. You have the option to specify a date
that occurs a particular number of days before or after the
Search activity run. This comparison value is applicable to
filter conditions for Date/Time-value properties.
Value generated by The value returned by a certain script function. You can
script choose the desired script function when you configure a
filter condition. The Search activity will execute that script
function upon evaluating the condition at workflow run time.
Workflow parameter The value of a certain workflow parameter. You can choose
value the desired parameter when you configure a filter condition.
Configure notification
You can configure a Search activity to subscribe recipients to the notifications of the
following events:
1. In the process diagram, right-click the name of the Search activity and click
Properties.
2. Go to the Notification tab in the “Search” Activity Properties dialog box,
and use the steps for Configuring a Notification activity to configure the
notification settings.
The notification settings specify the event to notify of, and notification recipients. When
executed by the workflow, the activity prepares a notification message appropriate to the
specified event. Active Roles retains the message prepared by the activity, and sends the
message to the specified recipients upon occurrence of that event.
1. In the process diagram, right-click the name of the Search activity and click
Properties.
2. Go to the Error handling tab in the “Search” Activity Properties dialog box, and
select or clear the Continue workflow even if this activity encounters an
error check box on that tab.
If the Continue workflow even if this activity encounters an error check box is not
selected (default setting), then an error condition encountered by the activity causes Active
Roles to terminate the workflow. If you select this check box, the workflow continues
regardless of whether or not the Search activity or any activity within the Search activity
encounters an error condition.
1. In the process diagram, right-click the name of the Search activity and click
Properties.
2. Click the “Run as” options hyperlink at the bottom of the “Search” Activity
Properties dialog box.
3. To override the default “run as” setting for this activity, select the Run this
activity under check box, and then choose the account under which you want the
activity to run:
l Click The service account of Active Roles if you want this activity to run
under the service account of the Active Roles Administration Service.
l Click The account of the user who started the workflow if you want
this activity to run under the account of the user who caused the workflow to
start. Depending on the type of the workflow, this is either the user who
requested the operation that started the workflow or the user who started the
workflow on demand.
The account under which the activity is running determines the access rights of the activity
in the directory.
1. In the process diagram, right-click the name of the Search activity and click
Properties.
2. Click the Additional settings hyperlink at the bottom of the “Search” Activity
Properties dialog box.
3. To have the Search activity stop the search if the number of the objects found by the
search exceeds a certain threshold, select the Terminate the search activity if
the search returns more than check box, and specify the maximum number of
objects the activity is allowed to return when performing a search.
4. Add, change, or remove request controls in the Include or exclude these
controls from the activity operation requests list.
To add or change a control, click Add or Change, and then, in the dialog box that
opens, specify the name and, if applicable, the value of the control. If you want the
activity to add the control to the requests, click Include this control in the
activity operation requests. If you want to ensure that the control never occurs in
the requests created by this activity, click Exclude this control from the activity
operation requests.
Request controls are certain pieces of data in an operation request that can be used to pass
additional information to Active Roles on how to process the request. Request controls are
optional. If no request controls are added to a request, then Active Roles determines how
to process the request based solely on the type of the request. For information about
request controls, see the Active Roles SDK documentation.
The following topics in this section provide the steps for configuring the settings that are
common to CRUD activities:
l Configuring notification Active Roles can notify via e-mail about whether or not the
activity has encountered an error condition at run time.
l Configuring error handling. Determines whether or not the workflow is allowed to
continue if the activity has encountered an error condition at run time.
l Configuring “run-as” options Determines the user account under which to run
the activity.
l Configuring additional settings Some advanced configuration options that allow you
to adjust the processing of the operation requested by the activity.
“Create” activity
When you configure a Create activity, you can specify the Organizational Unit or container
where you want the activity to create objects, choose the object type and name, and
specify how you want the activity to populate the properties of the newly created objects.
Additional options are available such as notification, error handling, and “run as” options.
2. In the process diagram, right-click the name of the activity and click Properties.
3. Go to the Container tab in the “Create” Activity Properties dialog box.
4. Click in the Activity creates the object in this container box to specify the
Organizational Unit (OU) or container in which you want the activity to create an
object. The following options are available:
l Fixed container in directory. With this option, the activity creates an
object in the given OU or container. You can select the desired OU or container
in Active Directory when you configure the activity.
“Update” activity
When you configure an Update activity, you can specify the rules for selecting the object
whose properties you want the activity to change, and define how you want the activity to
change the properties of the object. Additional options are available such as notification,
error handling, and “run as” options.
2. In the process diagram, right-click the name of the activity and click Properties.
3. Go to the Activity target tab in the “Update” Activity Properties dialog box.
4. Click in the Activity performs the operation on this object box to specify the
object whose properties you want the activity to change. This object is referred to as
activity target. You can choose from the following options to specify the activity
target:
l Fixed object in directory. The activity target is the given object. You can
select the desired object in Active Directory when you configure the activity.
l Object identified by workflow parameter. The activity target is the
object specified by the value of a certain parameter of the workflow. You can
choose the desired parameter from the workflow definition when you configure
the activity.
2. In the process diagram, right-click the name of the activity and click Properties.
3. Go to the Activity target tab in the “Add to Group” Activity Properties
dialog box.
4. Click in the Activity performs the operation on this object box to specify the
object you want the activity to add to groups. This object is referred to as activity
target. You can choose from the following options to specify the activity target:
l Fixed object in directory. The activity target is the given object. You can
select the desired object in Active Directory when you configure the “Add to
group” activity.
l Object identified by workflow parameter. The activity target is the
object specified by the value of a certain parameter of the workflow. You can
choose the desired parameter from the workflow definition when you configure
To remove a group from the list, click the Delete button labeled X on the right side of
the list item representing that group.
2. In the process diagram, right-click the name of the activity and click Properties.
3. Go to the Activity target tab in the “Remove from Group” Activity Properties
dialog box.
4. Click in the Activity performs the operation on this object box to specify the
object you want the activity to remove from groups. This object is referred to as
the activity target. You can choose from the following options to specify the
activity target:
l Fixed object in directory. The activity target is the given object. You can
select the desired object in Active Directory when you configure the “Remove
from group” activity.
l Object identified by workflow parameter. The activity target is the
object specified by the value of a certain parameter of the workflow. You can
choose the desired parameter from the workflow definition when you configure
the “Remove from group” activity.
l Object from workflow data context. The activity target is selected by the
activity on the basis of the data found in the workflow environment at the time
of executing the workflow. When configuring the “Remove from group”
activity, you can specify which object you want the activity to select at
workflow run time.
l Object identified by DN-value rule expression. The Distinguished Name
(DN) of the activity target is specified by the string value of a certain 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. You can create the desired rule expression when
you configure the “Remove from group” activity.
5. Go to the Groups tab in the “Remove from Group” Activity Properties
dialog box.
6. Choose from these options:
l Remove the object from all groups. This option configures the activity to
remove the object from all groups in Active Directory. Note that an object
“Move” activity
When you configure a Move activity, you can specify the rules for selecting the object you
want the activity to move, and specify the container to move the object to (destination
container). Additional options are available such as notification, error handling, and “run
as” options.
2. In the process diagram, right-click the name of the activity and click Properties.
3. Go to the Activity target tab in the “Move” Activity Properties dialog box.
4. Click in the Activity performs the operation on this object box to specify the
object you want the activity to move. This object is referred to as activity target. You
can choose from the following options to specify the activity target:
l Fixed object in directory. The activity target is the given object. You
can select the desired object in Active Directory when you configure the
Move activity.
l Object identified by workflow parameter. The activity target is the
object specified by the value of a certain parameter of the workflow. You can
choose the desired parameter from the workflow definition when you configure
the Move activity.
l Object from workflow data context. The activity target will be selected by
the activity on the basis of the data found in the workflow environment at the
time of executing the workflow. You can specify which object you want the
activity to select at workflow run time.
l Object identified by DN-value rule expression. The Distinguished Name
(DN) of the activity target is specified by the string value of a certain 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. You can create the desired rule expression when
you configure the Move activity.
5. Go to the Destination container tab in the “Move” Activity Properties
dialog box.
6. Click in the Activity moves the object to this container box to specify the
container to which you want the activity to move the target object. You can choose
from the following options:
l Fixed container in directory. With this option, the activity moves the
object to the given OU or container. You can select the desired OU or container
in Active Directory when you configure the Move activity.
l Parent OU of workflow target object. With this option, the activity moves
the object to the OU that holds the target object of the request that started the
workflow. This option is unavailable in case of an automation workflow.
l Activity target object. With this option, the activity moves the object to the
OU or container created or otherwise processed by another CRUD activity at
the time of executing the workflow. You can select the desired CRUD activity
from the workflow definition when you configure the Move activity.
“Deprovision” activity
A Deprovision activity is intended to apply the Active Roles deprovisioning policies to a
particular user or group. This activity causes Active Roles to perform all the tasks
prescribed by the deprovisioning policies, thereby deprovisioning the user or group.
When you configure a Deprovision activity, you can specify the rules for selecting the
user or group you want the activity to deprovision. Additional options are available such as
notification, error handling, and “run as” options.
2. In the process diagram, right-click the name of the activity and click Properties.
3. Go to the Activity target tab in the “Deprovision” Activity Properties
dialog box.
4. Click in the Activity performs the operation on this object box to specify the
user or group you want the activity to deprovision. This object is referred to as
“Delete” activity
When you configure a Delete activity, you can specify the rules for selecting the object you
want the activity to delete in Active Directory. Additional options are available such as
notification, error handling, and “run as” options.
Configuring notification
You can configure a CRUD activity to subscribe recipients to the notifications of the
following events:
1. In the process diagram, right-click the name of the activity and click Properties.
2. Go to the Notification tab in the Properties dialog box, and use the steps for
Configuring a Notification activity to configure the notification settings.
The notification settings specify the event to notify of, and notification recipients. When
executed by the workflow, the activity prepares a notification message appropriate to the
specified event. Active Roles retains the message prepared by the activity, and sends the
message to the specified recipients upon occurrence of that event.
1. In the process diagram, right-click the name of the activity and click Properties.
2. Go to the Error handling tab in the Properties dialog box, and select or clear
the Continue workflow even if this activity encounters an error check box
on that tab.
If the Continue workflow even if this activity encounters an error check box is not
selected (default setting), then an error condition encountered by the activity causes Active
Roles to terminate the workflow. If you select this check box, the workflow continues
regardless of whether or not the activity encounters an error condition.
1. In the process diagram, right-click the name of the activity and click Properties.
2. Click the “Run as” options hyperlink at the bottom of the Properties dialog box.
3. To override the default “run as” setting for this activity, select the Run this activity
under check box, and then choose the account under which you want the activity to
run:
l Click The service account of Active Roles if you want this activity to run
under the service account of the Active Roles Administration Service.
4. View or change the settings under the Approval enforcement option heading.
The Approval enforcement option settings determine whether to apply approval rules
to the operation requested by the activity if the activity is executed under a privileged
account, such as the Active Roles service account, an Active Roles Admin account, or the
account of the user who is designated as an approver. The following settings are available:
l Inherit from the workflow options and start conditions Select this option if
you want the activity to use the approval enforcement option selected in the
workflow options and start conditions.
l Use the following option for this activity Click this option and then select or
clear the Enforce approval check box if you want this activity to override the
approval enforcement option selected in the workflow options and start conditions.
When selected, the Enforce approval check box causes the approval rules to be
applied, submitting the operation for approval regardless of the account under which
the activity is executed. Otherwise, the operation requested by the activity bypasses
approval rules if the activity is executed under the Active Roles service account, an
Active Roles Admin account, or the account of the user who is designated as an
approver, so the operation is not submitted for approval.
1. In the process diagram, right-click the name of the activity and click Properties.
2. Click the Additional settings link at the bottom of the Properties dialog box.
3. In the Additional Settings dialog box, view or change the following options:
l Use this text instead of the original operation reason text. If the
operation requested by the CRUD activity is subject to approval, you can
specify the operation reason text to be shown to the approver instead of the
reason text specified in the operation request that started the workflow.
l Select Use this text instead of the original operation reason text.
check box and type the appropriate reason text to replace the original reason
text. Select the Use only if the operation reason is not originally
specified check box if you want the activity to use your reason text only if the
2. In the process diagram, right-click the name of the activity and click Properties.
3. Go to the Activity target tab in the “Save Object Properties” Activity
Properties dialog box.
4. Click in the Activity saves properties of this object box to specify the object
whose properties you want the activity to save. This object is referred to as activity
target. You can choose from the following options to specify the activity target:
l Workflow target object. In a change workflow, the activity target is the
target object of the request that started the workflow. For example, in a
workflow that starts upon a deletion request, this choice causes the activity to
The Workflow Designer provides a default list of properties. You can remove all
properties from the list by clicking Clear list or revert to the default list by clicking
Restore default.
2. In the process diagram, right-click the name of the activity and click Properties.
3. Go to the Target changes tab in the “Modify Requested Changes” Activity
Properties dialog box.
4. Configure the list of the properties you want the activity to modify:
l To add a property to the list, click Add property, and then select the
desired property.
l To remove a property from the list, click the Delete button labeled X on the
right side of the list item representing that property.
5. After you have added a property, click in the Action field to specify the type of the
changes you want the activity to make to that property:
l Click Set to have the activity assign a new value to the property.
l Click Clear to have the activity remove the property from the object.
l In case of a multi-value property, click Add value or Remove value for the
activity to add or remove the value of the property.
l Click Remove from request if you want the workflow not to apply the
changes to the property that were specified in the request that started
the workflow.
6. If an action other than Clear or Remove from request is selected, click in the
Value filed to specify the property value you want the activity to set, add or remove.
The following options are available:
l Text string. Use the given string of characters as the value of the property.
You can type the desired string.
l Property of workflow target object. Use the value of a certain property of
the target object of the request that started the workflow. You can select the
desired property from a list of object properties.
l Property of workflow initiator. Use the value of a certain property of the
user whose request started the workflow. You can select the desired property
from a list of object properties.
l Changed value of workflow target object property. Use the value that
is requested to be assigned to a certain property of the workflow target object.
You can select the desired property from a list of object properties.
1. Select the workflow definition in the console tree to display the workflow as a
process diagram.
2. In the process diagram, right-click the activity and click Disable or Enable,
respectively.
While an activity is disabled in a given workflow, Active Roles skips that activity when
running that workflow. When you enable a disabled activity in a given workflow, you allow
Active Roles to execute that activity when running that workflow.
l Right-click the workflow definition in the console tree and click Disable Workflow
or Enable Workflow, respectively.
While a workflow is disabled, Active Roles does not run any activities included in that
workflow regardless of the workflow start conditions. When you enable a disabled
workflow, you allow Active Roles to run the activities included in that workflow.
l Load PowerShell modules and snap-ins. All activity scripts can use the modules
and snap-ins loaded in the initialization script, without having to load the prerequisite
modules or snap-ins on a per-activity basis.
The modules and snap-ins loaded in the initialization script are available to all script
activities at workflow runtime. For example, the Import-Module 'SmbShare' command
added to the initialization script makes the Server Message Block (SMB) Share-
specific commandlets available to all script activities within the workflow.
2. In the details pane, click the Workflow options and start conditions button to
expand the area above the process diagram, and then click the Configure button.
3. Click the Initialization script tab in the dialog box that opens.
The Initialization script tab displays the current script. You can add or modify the script
by typing in the edit box on that tab.
l The Workflow Designer for constructing workflows, available from the Active Roles
console. You use the Workflow Designer to configure an approval workflow by adding
approval activities to the workflow definition.
Definition of terms
This section summarizes some important definitions that apply to approval workflow.
Approval
A decision point in a workflow that is used to obtain authorization from a person
before continuing the workflow.
Approval task
A task created as part of the processing of an approval rule and assigned to an
approver. The approver is expected to complete the task by making a decision to
allow or deny the operation.
Approver
The person designated to perform an approval task. The setting that determines the
approvers is a configuration element of an approval rule. When processing an
approval rule, Active Roles creates an approval task and assigns it to the approvers
defined by the rule. The state of the task governs the workflow transition: the task
must receive the “Approve” resolution for the operation to pass through the approval
Initiator (requestor)
The identity of the user or service that has requested an operation in Active Roles.
For example, when the Active Roles console is used to change or create an object,
the console user is identified as the initiator of the respective operation. The initiator
of an operation is also referred to as the operation requestor.
Notification
The means used to notify a user or group of users about a specific predefined
situation that could manifest within a workflow. A notification message is generated
and sent to the designated recipients via e-mail to inform them that a certain event
has occurred, such as a new approval task has been submitted to the approvers or
the operation has been completed. A notification configuration, stored as part of an
approval rule, involves such elements as the event to notify of, the list of the
notification recipients and the notification message template. Active Roles also
provides a separate category of workflow activity for the purpose of notification, in
addition to approval rules.
Operation
A request for certain changes to be made to directory data, such as creating users or
adding users to groups. An operation can start an approval workflow, in which case
the requested changes are made only after they are approved.
How it works
Approval workflow is governed by workflow start conditions and approval rules. Workflow
start conditions determine which kind of operation causes the workflow to start, and the
Action: Approve
If the approver applies the Approve action to the task, Active Roles allows the operation to
be performed.
Multiple tasks
The number of approval tasks generated by a single workflow instance depends on how
many approval rules are included in the workflow (one task per each rule). Therefore, if a
If at least one of the tasks receives the Reject action, Active Roles cancels the operation.
Any operation that meets all the start conditions specified on a workflow causes the
workflow to start.
When configuring an approval rule within a workflow, you specify:
l A list of approvers, such as users or groups. This setting identifies the persons
who are authorized to allow or deny operations that start the workflow.
l Notification settings. This includes workflow events to notify of, notification
recipients, delivery options, and notification message template.
As a result of these conditions, the workflow will start whenever Active Roles is used to
create a user account in that organizational unit.
Specifying approvers
When constructing an approval workflow, you add one or more approval activities to the
workflow definition, thereby creating approval rules, and then configure those activities to
define approvers for each rule. The entities that can be designated as approvers include
manager of operation requestor, manager of operation target object, and manager of
container that holds operation target object. It is also possible to select any particular user
or group of users for the role of approver.
Example: Extending the previous example, suppose you want the creation of user
accounts to be approved by the manager of the organizational unit in which the accounts
are going to be created. You can implement this scenario by adding an approval activity to
the workflow and then using the Properties command on that activity to select the
corresponding option on the Approvers Selection page.
For step-by-step instructions, see Configuring an Approval activity earlier in this chapter.
Configuring notification
You can configure approval rules to notify approvers or other interested parties of specific
events that may occur in the approval process. For example, an approval rule can be
configured so that the approvers defined by the rule receive a notification e-mail whenever
an operation is requested that requires their approval. Other events to notify of include the
completion of an approval task indicating that an approver has either allowed or denied the
requested changes, the completion of the operation indicating that the requested changes
have been applied, and the operation failure because of an error condition.
Notification recipients
When configuring notification settings in an approval rule, you choose an event, and specify
who you want to receive email notification of that event-notification recipients. A recipient
can be any mailbox-enabled user or mail-enabled group. There are also a number of
options allowing you to select recipients based on their role, such as operation requestor,
approver, manager of operation requestor, or manager of operation target object. A single
rule can be configured to notify of one or more events, with an individual list of recipients
being defined for each event.
l Upon the receipt of a change request that requires approval, Active Roles sends a
notification message to the designated approvers, with the message body containing
the option to approve or reject the request.
l The approver replies to the notification message, choosing the desired option—
approve or reject. In the reply message the approver is expected to provide a
comment explaining the reason for that choice.
l Active Roles receives the reply massage from the approver, checks to see if the
approver elected to approve or reject the request, and then allows or denies the
requested changes accordingly.
l The e-mail client applications that can be used to manage approvals are not
restricted to Microsoft Office Outlook 2010 or later. It is possible to use, for instance,
earlier Outlook versions or e-mail applications on mobile devices.
l Active Roles Add-in for Outlook does not need to be installed on the computer running
the e-mail client application.
l The approval rule notification settings are configured so that the notification
messages originated by Active Roles have integration with the Web Interface turned
off. Ensure that the Send approval response by e-mail option is selected in the
properties of the e-mail configuration that is used by the approval rule (this is the
default setting).
l A change request that requires approval causes Active Roles to send a notification
message to the designated approver, with the message body containing the option to
approve or reject the request.
l The approver replies to the notification message by choosing the desired option
(either approve or reject) and typing in a text to explain the reason for that choice.
l Active Roles receives the reply message from the approver, checks to see if the
approver elected to approve or reject the request, and then allows or denies the
requested changes accordingly.
The use of Exchange Web Services calls for the following prerequisites:
l Exchange Server 2013 or later. Exchange Web Services is deployed with the Client
Access server role.
l Dedicated mailbox hosted on Exchange Server 2013 or later. The mailbox should be
reserved for the exclusive use of Active Roles.
Configuration settings
The following configuration settings are available with the Exchange Web Services option
for e-mail transport.
4. Verify that the Send approval response by e-mail option is selected on the
Mail Setup tab.
5. Select Approve or reject via Web Interface to manage emails through the
Web Interface.
6. When finished, click OK to close the Default Mail Settings Properties dialog box.
Automation workflow
Workflow refers to a sequence of actions that leads to the completion of a certain task. The
sequence is carried out according to a set of rules or policies. A workflow can be configured
to start upon a change request that satisfies the start conditions of the workflow. An
example is a workflow that coordinates the process of approving certain changes to
directory data such as creation of new users or population of security groups. In Active
Roles, this kind of workflow is referred to as a change workflow.
A workflow can perform some routine administrative tasks on a scheduled basis or on user
demand. In this case, workflow is not attached to any change request. With Active Roles,
you can configure a workflow to perform certain actions at a specific time. You can also
allow users to run a workflow at any time on demand. This workflow category is referred to
as an automation workflow.
Automation workflow can automate the completion of complex administrative tasks to help
you manage large task volumes. It also allows you to build checks or restrictions in
directory administration processes to ensure consistency and compliance with your
company policies and legal requirements. By using automation workflow, you can ensure
that directory administration tasks are performed in a consistent and efficient manner.
l One time. Lets you choose the date and time to run the workflow.
l Hourly. Lets you choose the date and time to run the workflow for the first time,
and the recurrence interval (in hours and minutes) for the workflow. Thus, an
interval of one hour causes the workflow to run every hour and an interval of two
hours causes the workflow to run every other hour.
l Daily. Lets you choose the date to run the workflow for the first time, the time of
the day to run the workflow, and the recurrence interval (in days) for the workflow.
Thus, an interval of one causes the workflow to run every day and an interval of two
causes the workflow to run every other day. The workflow will start at the specified
time each day.
l Weekly. Lets you choose the date to run the workflow for the first time, the time of
the day to run the workflow, the days of the week on which to run the workflow, and
the recurrence interval (in weeks) for the workflow. Thus, an interval of one causes
the workflow to run every week and an interval of two causes the workflow to run
every other week. The workflow will start at the specified time on each of the
specified days.
l Monthly. Lets you choose the date to run the workflow for the first time, the time of
the day to run the workflow, the months in which to run the workflow, and the day of
the month on which to run the workflow. You can choose either the number of the
day, or the first, second, third, fourth, or last occurrence of a certain day of the week
day during the month. The desired day of the week can be selected from a list.
The second option allows a new instance of the workflow to be started on demand even
though the workflow is already running. This option applies only to the case of running the
workflow on demand. In the case of a scheduled run Active Roles allows only one instance
of the workflow to run at a time.
l The service account of Active Roles. The workflow runs under the service
account of the Administration Service that executes the workflow.
l The account of the user who started the workflow. The workflow runs
under the Windows account of the user who requested the operation that started
the workflow.
All activities within the workflow normally run under the account identified by the “run as”
options for the workflow. However, each activity can be configured to use individual “run
Enforce approval
The Enforce approval option determines whether to apply approval rules to the changes
requested by the workflow running under a privileged account. When selected, this option
causes the approval-pending changes requested by the workflow activities to be submitted
for approval regardless of the account under which the workflow is running. Otherwise, the
changes are applied without waiting for approval if the workflow is running under the
service account of Active Roles, under the account of the approver, or under the account of
an Active Roles administrator. This option setting can be overridden on a per-activity basis.
Additional settings
The additional settings specify whether to terminate the workflow if it runs longer that a
certain time period. Click the Additional settings link on the Workflow Options and
Start Conditions page to view or change the following setting:
This setting allows you to limit the amount of time the workflow is allowed to run. Use this
setting to limit the automation workflow that might take a long period of time to execute,
causing an inconvenience to the user.
Parameters
When you configure workflow options and start conditions for an automation workflow, you
can set up workflow parameters and assign values to workflow parameters. Parameter
values are used by the workflow activities when the workflow is running. An activity may
retrieve the value of the desired parameter and perform the action depending upon the
parameter value.
By default, the workflow does not have any parameters defined. You can add, modify (edit)
or remove parameter definitions on the Parameters page. Once the definition of a
parameter has been added to the workflow, you can:
Each parameter has a number of properties that define it, including the parameter name,
parameter description, syntax of parameter values, a list of acceptable parameter values,
whether the parameter accepts a single value or multiple values, and whether the
parameter must have a value. The acceptable values can be determined either by a static
list of values or by using a script. In the latter case, the script calculates the list of the
acceptable values each time the workflow is started. A script can also be used to assign a
value to the parameter. The script calculates the value each time the workflow is started.
For further information about workflow parameters, see Configuring workflow parameters
earlier in this document.
Initialization script
When you configure an automation workflow, you can specify PowerShell commands you
want the workflow run-time engine to execute immediately after creation of the
PowerShell operating environment for the script activities held in that workflow. These
commands constitute the initialization script that the workflow engine runs prior to
performing script activities.
With the initialization script, you can:
l Load PowerShell modules and snap-ins. All activity scripts can use the modules and
snap-ins loaded in the initialization script, without having to load the prerequisite
modules or snap-ins on a per-activity basis.
l Initialize environment-specific variables, referred to as global variables. All activity
script can retrieve and update global variables, which makes it possible to exchange
data between different activity scripts.
For further information, see Using the initialization script earlier in this document.
Once you have created a workflow definition, you can open it in the Workflow Designer to
add workflow activities and specify workflow start conditions.
You can create containers to store related workflows and other containers. To create a
workflow container, right-click Workflow in the console tree and select New |
Container. To create an automation workflow definition in a given container, right-click
the container in the console tree, and select New | Workflow.
2. In the details pane, click the Workflow options and start conditions button to
expand the area above the process diagram, and then click the Configure button.
This opens the Workflow Options and Start Conditions page where you can view or
change the following:
l The schedule settings that determine the frequency with which to run the workflow.
To enable these settings, select the Run the workflow on a schedule check box.
This causes the workflow to run according to a schedule, and the options below the
check box allow you to set the schedule. For details, see Run the workflow on a
schedule earlier in this document.
l The workflow can be run on demand. By selecting the Allow the workflow to be
run on demand check box, you specify that users can manually run the workflow at
any time regardless of the schedule. For more information, see Allow the workflow
to be run on demand earlier in this document.
l The “run as” options determine the account under which to run the workflow. Click
the “Run as” options link to view or change the account setting. For details, see
“Run as” options earlier in this document.
l Choose whether to terminate the workflow if it runs longer that a certain time period.
Click the Additional settings link to view or change that setting. For details, see
Additional settings earlier in this document.
l Specify parameters to specify certain data when configuring or starting the workflow
and then pass that data to workflow activities when the workflow is running. The data
is represented as parameter values. To assign a value to a given parameter, click the
Parameters tab, select the parameter from the list, and then click the View or
change parameter value button. For more information, see Parameters earlier in
this document.
2. In the details pane, drag the activity from the left panel onto the process diagram.
3. Right-click the name of the activity on the process diagram and click Properties.
4. Use the Properties dialog box to configure the activity.
The steps for configuring an activity depend upon the type of the activity. See topics in the
Configuring a workflow section earlier in this document for instructions on how to configure
each activity type.
In the Properties dialog box, you can change the name and description of the activity.
These settings are common to all activities. The name identifies the activity on the
process diagram. The description appears as a tooltip when you point to the activity on the
process diagram.
You can remove activity from the workflow: Right-click the name of the activity in the
process diagram and then clicking Delete. This deletes all the configuration settings of the
activity from the workflow. It is possible to disable an activity, preserving the activity’s
configuration settings: Right-click the activity name and click Disable. Active Roles does
not execute the disabled activities when running the workflow. The ability to disable rather
than remove an activity is useful if you plan to temporarily turn off the activity within the
workflow. Later, you could easily re-enable a disabled activity by right-clicking its name
and then clicking Enabled.
Active Roles prompts you for parameter values if the workflow has any parameters that
need to be supplied by the user running the workflow on demand. If the workflow has no
parameters that require user input, then Active Roles will start the workflow without
prompting you for parameter values.
Once you have started an automation workflow, Active Roles opens a run history report,
allowing you to examine the progress of workflow execution. The report displays the
workflow execution status along with information about the activities performed during
workflow run. For a workflow that is in progress you have the option to cancel execution of
the workflow by clicking the Terminate button.
To view run history of an automation workflow from the Active Roles console
l Click the Terminate button on the page that displays the automation workflow’s
run history.
For instructions on how to access run history, see Viewing run history of an
automation workflow.
The Run History page displays both running and completed instances of the automation
workflow. The Terminate button is available on each instance that is currently running.
After you click the button to terminate a running instance of an automation workflow, you
may experience a delay (up to several minutes) before the workflow shuts down.
Terminating a running automation workflow does not roll back or cancel the workflow
activities that have already been performed; this only stops the workflow from running the
activities that are in progress or not yet started.
This section provides instructions on how to delegate these tasks to regular users or groups
that do not have administrator rights in Active Roles.
You can delegate full control of all automation workflows held in a certain container by
applying the Automation Workflow - Full Control Access Template to that container.
It is also possible to delegate full control of a single automation workflow by applying the
Access Template to the workflow definition object.
To delegate the task of viewing run history of all automation workflows held in
a certain container
It is also possible to authorize users or groups to view run history of a single automation
workflow by applying the Access Template to the workflow definition object.
Prerequisites
To create remote mailboxes via hybrid migration with the Sample Azure Hybrid Migration
script, your organization must meet the following requirements:
1. Depending on whether you want to enable or disable remote mailboxes, use one of
the following functions:
l EnableRemoteMailBox: Use this function to enable remote mailboxes for the
users in the workflow scope. Select EnterExchangeCreds_params as the
function to declare parameters in the script, then provide the Exchange user
name and password to run the EnableRemoteMailBox function in workflow.
l DisableRemoteMailBox: Use this function to disable remote mailboxes for
the users in the workflow scope. Select EnterExchangeCreds_params as
the function to declare parameters in the script, then provide the Exchange
user name, password and Exchange recipient type details to run the
DisableRemoteMailBox function in workflow.
2. Make sure to specify the Fully Qualified Domain Name (FQDN) of the Exchange
Server in the script, and that you modify the required code blocks. For more
By default, a remote mailbox is created for users with a valid Exchange Online license
and who have no on-premises Exchange mailbox. For more information on creating a
remote mailbox for new users, see Creating a new hybrid Azure user with the Active
Roles Web Interface.
NOTE: One Identity provides the Remote mailbox migration (RemoteMailbox.ps1) script as
a sample script to illustrate the required steps of creating remote mailboxes.
Do not use the script in a production environment without the required modifications and
enhancements. Using security credentials within a script in clear text is never secure.
When testing the script, consider the appropriate authentication and use of credentials.
After testing, do not leave any credentials in clear text in the script.
For more information, see Knowledge Base Article 310525.
l Exchange General
l View or change the alias
l View or change the option to use MAPI rich text format
l Hide the user or contact from Exchange address lists
l View or change custom attributes
l Exchange Advanced
l View or change the simple display name
l Downgrade high priority mail bound for X.400.
l View or change the Internet Locator Service (ILS) settings
l Email Address
l View, add, edit or remove e-mail addresses
l View or change the default reply address for each address type
l View or change the external e-mail address
l Set the option to update e-mail addresses based on e-mail address policy
l Mail flow Settings
l View or change message size restrictions and message delivery restrictions
For more information on Exchange Online Properties, see View or modify the Exchange
Online properties on the Active Roles Administration Guide.
l Microsoft Teams
l Azure AD
l Azure Az
l Exchange Online Management
1. In the Configuration > Script Modules node of the Active Roles Console (also
known as the MMC Interface), create the new O365 script that you want to run with
the new O365 automation workflow.
2. In the New Workflow wizard, configure the new O365 automation workflow.
3. With the O365 script execution configuration activity of the Workflow Designer,
specify the Azure tenant to which the configured workflow will apply.
4. Import the new O365 script into the workflow created in the first step.
NOTE: By default, Active Roles does not select any Azure tenants automatically after you
configured a new workflow with the New Workflow wizard. After the workflow is
created, configure one in the Workflow Editor, otherwise the workflow will fail with the
following error message:
Select a configured Azure tenant from the Select a Tenant to configure O365
Services drop-down list. Alternatively, under Parameter values, provide a valid
Tenant ID, Tenant Name, Application (Client) ID and Application (Client)
Certificate Thumbprint to override Azure tenant details from the workflow.
For more information on how to configure an O365 automation workflow, see Creating an
Office 365 automation workflow. For a list of sample O365 workflow scripts, see Sample
Office 365 workflow scripts.
Before starting the configuration of an O365 automation workflow, make sure that the
following conditions are met:
1. The following Windows PowerShell modules are installed on the system running
Active Roles:
l Microsoft Teams
l Azure AD
l Azure Az
l Exchange Online Management
If these PowerShell modules are not installed, Active Roles cannot run workflows
that include O365 PowerShell script execution activities.
NOTE: Consider the following when planning to use the Exchange Online Manage-
ment module:
l To run a Sample Azure Hybrid Migration script, an on-premises Microsoft
Exchange deployment must be available.
l As Exchange Online is connected to Exchange Online PowerShell, make
sure that the https://outlook.office365.com/powershell-liveid/ URL is
not blocked in your organization domain, and that network connectivity
is available.
2. You already created the O365 script module to use as a script activity with the O365
automation workflow. For more information, see Script activity.
1. In the Active Roles Console (also known as the MMC Interface), expand
Configuration > Policies.
2. To launch the New Workflow wizard, right-click Workflow, and select New >
Workflow in the context menu.
3. On the Name and Description page, enter a Name and optionally, a Description
for the new workflow.
4. On the Workflow Type page, under This workflow is intended to start, select
On user demand or on a scheduled basis (automation workflow).
5. On the Completion page, click Finish.
6. To configure the Azure tenant connection settings of the new O365 automation
workflow, double-click the workflow to open the Workflow Designer, then click Basic
Activities > O365 script execution configuration.
7. Specify the Azure tenant with one of the available methods:
l Under Select a Tenant to configure O365 Services, select the Azure
tenant you want to use with the automation workflow. This setting lists all
Azure tenants that are configured in the Active Roles Configuration Center, as
NOTE: The configured workflow will run successfully only if the specified script is well-
formed and complete.
$context.O365ImportModules(@(array-of-modules))
The O365ImportModules function lets you load an array of Azure and O365 Windows
PowerShell modules. The function supports loading the following modules:
l Microsoft Teams
l Azure AD
l Azure Az
l Exchange Online Management
Once the modules are loaded, the function creates a connection to the specified modules
with the connection details specified in the O365 script execution configuration
workflow activity. For more information, see Creating an Office 365 automation workflow.
function TestImportAll() {
$context.O365ImportModules(@("Az", "AzureAD",
"ExchangeOnlineManagement", "MicrosoftTeams"))
$context.O365ImportModule (module)
The O365ImportModule function lets you load a single O365 or Azure Windows PowerShell
module. If you have multiple versions of the specified module installed, you can also
specify the module version to load.
NOTE: The O365ImportModule function supports specifying major module versions only
(such as version 2.x).
In this example, the O365ImportModule function is used to import version 2.x of the
Microsoft Azure AD Windows PowerShell module.
function TestImportTeamsModule() {
$context.O365ImportModule("AzureAD", 2)
}
$context.O365ExecuteScriptCmd(string-or-cmd )
The O365ExecuteScriptCmd function passes any string or command specified in the script,
then runs and returns the results as a PSObject.
By default, the Create Office 365 Shared Mailboxes workflow is disabled, as One
Identity recommends using it as a template for custom workflows that uses the required
values in the script, such as Mailbox name, Mailbox display name, Alias, and
recipients to grant the Send As permission.
The Create Office 365 Shared Mailboxes workflow is located in the Configuration >
Policies > Workflow > Builtin container of the Active Roles Console (also known as the
MMC interface). The required Create Office 365 Shared Mailboxes script is located in
the Configuration > Policies > Script Modules > Builtin container.
By default, the Enabling Azure Roles workflow is disabled, as One Identity recommends
using it as a template for custom workflows that would use the required values in the
script, such as the directory role display name.
The Enabling Azure Roles workflow is located in the Configuration > Policies >
Workflow > Builtin container of the Active Roles Console (also known as the MMC
interface). The required Enabling Azure Roles script is located in the Configuration >
Policies > Script Modules > Builtin container.
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.
Design elements
The extensibility of workflow activity types is designed around two interactions: activity
type deployment and activity type usage.
l Create a new custom activity type, either from scratch or by importing an activity
type that was exported from another environment.
l Make changes to the definition of an existing custom activity type.
l Add an activity of a particular custom type to a workflow, making the necessary
changes to the activity parameters provided for by the activity type definition.
l Display name. Identifies the activity type in the Workflow Designer. This
name is displayed in the activities toolbox located on the left of the workflow
process diagram.
l Description. A text describing the activity type. This text is used as a default
description for every activity that is based on this Policy Type object.
l Reference to Script Module. Identifies the Script Module that will be used by the
workflow activities of this type. When adding an activity of a custom type to a
workflow, you effectively create an activity that runs a certain script function from
the Script Module specified by the respective Policy Type object.
l Policy Type category. The Policy Type objects that define custom workflow
activities fall in a separate policy type category named “workflow activity.”
l Workflow category. Determines whether the custom activity can be used in
change workflows only, automation workflows only, or both change and
automation workflows.
l Function to run. Identifies the script function that is run by the workflow activities
of this type. The function must exist in the Script Module selected for the policy type.
l Function to declare parameters. Identifies the script function that declares the
parameters for the workflow activities of this type. The function must exist in the
Script Module selected for the policy type. By default, it is assumed that the
parameters are declared by the function named onInit.
l Policy Type icon. The image that appears next to the display name of the activity
type in the Workflow Designer, to help identify and visually distinguish this activity
type from the other types of workflow activity.
To create a custom activity type, first create a Script Module that holds the script function
that will be run by the workflow activities of that type. Then, you can create a Policy Type
object referring to that Script Module. When you import an activity type, Active Roles
automatically creates both the Script Module and the Policy Type object for that activity
type. After the Policy Type object has been created, you can add an activity of the new type
to a workflow.
For more information about Policy Type objects, including instructions on scripting for
Policy Type objects, refer to the Active Roles SDK documentation.
2. In the New Object - Policy Type wizard, type a name, a display name and,
optionally, a description for the new object.
The display name identifies the activity type in the Workflow Designer. The
description text is used as a default description for every activity that is based on this
Policy Type object.
5. In the Policy Type category area, select the Workflow activity option.
6. From the Function to run list, select the name of the script function that will be run
by the workflow activities of this type.
The list contains the names of all the functions found in the script you selected in
Step 4. Every activity of this type will run the function you select from the Function
to run list.
7. From the Use in list, select the appropriate option to indicate the category of the
workflow in which the activity of this type can be used:
l Change workflow. The activity can be used only in change workflows, that
is, workflows intended to run upon operation requests that meet certain
conditions.
l Automation workflow. The activity can be used only in automation
workflows, that is, workflows intended to run on a scheduled basis or on
user demand.
l Any workflow. The activity can be used in both change and
automation workflows.
8. From the Function to declare parameters list, select the name of the script
function that defines the parameters specific to this type of workflow activity.
The list contains the names of all the functions found in the script you selected in
Step 4. Every activity of this type will have the parameters that are specified by the
function you select from the Function to declare parameters list. Normally, this
is a function named onInit (see Active Roles SDK for details).
9. Click Policy Type Icon to verify the image that denotes this type of activity. To
choose a different image, click Change and open an icon file containing the
image you want.
This image appears next to the display name of the activity type in the Workflow
Designer, to help identify and visually distinguish this activity type from the other
activity types.
The image is stored in the Policy Type object. In the dialog box that appears when
you click Policy Type Icon, you can view the image that is currently used. To
revert to the default image, click Use Default Icon. If the button is unavailable,
then the default image is currently used.
10. Click Next and follow the steps in the wizard to complete the creation of the new
Policy Type object.
Name of the Right-click the object and The name is used to identify the object,
object click Rename. and must be unique among the objects
held in the same Policy Type container.
Display name or Right-click the object, Changing the display name also changes
description click Properties and the name of the activity type in the
make the necessary Workflow Designer. You may need to
changes on the General refresh the view in the Workflow Designer
tab. for the new name to be displayed.
Script Module Right-click the object, You can change the script in the Script
click Properties, click Module that is currently associated with
the Script tab, click the Policy Type object instead of selecting
Browse, and then select a different Script Module. To view or
the Script Module you change the script, find and select the
want. Script Module in the Active Roles console
tree, under Configuration/Script
Modules.
Changing the script affects all the existing
workflow activities of this type. If you add
an activity to a workflow and then change
the script for the Policy Type object based
on which the activity was created, the
activity will run the changed script.
Function to run Right-click the object, Changing this setting causes the activities
click Properties, click of this type to run function you have
the Script tab, and then selected.
choose the appropriate
Changing the function does not affect the
function from the
existing activities of this type. If you add
Function to run list.
a new activity of this type, the activity
will run the new function.
Function to Right-click the object, Changing this setting changes the list of
declare click Properties, click the activity parameters specific to this
parameters the Script tab, and then activity type. The changes do not affect
choose the appropriate the parameters of the existing activities
function from the of this type. When you add a new activity
Function to declare of this type, the list of the activity
parameters list. parameters is built using the new function
to declare parameters.
Policy Type icon Right-click the object, Changing this setting changes the image
click Properties, click that appears next to the display name of
the Script tab, click the activity type in the Workflow
Policy Type Icon, and Designer, on the pane located next to the
then do one of the workflow process diagram.
following:
2. In the New Object - Policy Type Container wizard, type a name and, optionally,
a description for the new container.
The name of the container will be displayed in the Workflow Designer if the container
is located directly in the Policy Types container.
3. Click Next and follow the steps in the wizard to complete the creation of the
new container.
l Right-click the Policy Type object or container in the Active Roles console, click
Export and then specify an XML file to hold the export data.
You can select multiple Policy Objects to export, or you can select a container to export all
Policy Type objects and containers held in that container. In either case, the Export
operation creates a single XML file that can later be imported to any container under the
Policy Types node.
Export of Policy Type objects creates an XML file representing both the objects and the
Script Modules containing the scripts for each activity type being exported. During an
import, Active Roles creates the Policy Type objects and the Script Modules based on the
data found in the XML file. As a result of the import, the activity types are replicated to the
new environment and can be used the same way as in the environment from which they
were exported.
This will create new Policy Type objects and containers in the selected container. In
addition, new Script Modules will be created in the Configuration/Script Modules
container and associated with the newly created Policy Type objects.
2. In the details pane, drag the activity type from the left panel onto the
process diagram.
The panel on the left of the workflow process diagram lists all the activity types
defined in your Active Roles environment. The built-in activity types are listed in the
Basic area, along with the custom activity types whose Policy Type objects are
located directly in the Policy Types container. The other custom activity types are
listed below the names of the containers that hold the corresponding Policy Type
objects. The list includes only those containers that are located directly in the Policy
Types container. The names of the intermediate containers are not shown.
3. Right-click the name of the activity you have added on the process diagram, and then
click Properties.
4. On the Properties page, set parameter values for the activity: Click the name of a
parameter in the list, and then click Edit.
Parameters control the behavior of the activity. When Active Roles executes the
activity, it passes the parameter values to the script function. The actions
performed by the script function, and the results of those actions, depend upon the
parameter values.
Clicking Edit displays a page where you can add, remove, or select a value or values
for the selected parameter. For each parameter, the script being used by the activity
defines the name of the parameter and other characteristics, such as a description, a
list of possible values, the default value, and whether a value is required. If a list of
possible values is defined, then you can only select values from that list.
l You can delete a Policy Type object only if no activities of the respective type exist in
any workflow. Examine each workflow definition and remove the activities of that
type, if any, from the workflow before deleting the Policy Type object.
l Deleting a Policy Type object permanently deletes it from the Active Roles database.
If you want to use this activity type again, you should export the Policy Type object
to an XML file before deleting the object.
l Deleting a Policy Type object does not delete the Script Module associated with that
object. This is because the Script Module may be used by other activities. If the
Script Module is no longer needed, it can be deleted separately.
l Right-click the Policy Type object in the Active Roles console and click Delete.
Active Roles provides the temporal group membership functionality for both Active
Directory Domain Services (AD DS) and Active Directory Lightweight Directory
Services (AD LDS).
The temporal group membership functionality automates the tasks of adding and removing
users from groups in the situations where users need group memberships for only a
specific time period. By applying temporal membership settings, administrators can
schedule selected objects to be assigned to a particular group and specify when the objects
are to be removed from the group.
The key capabilities provided by Active Roles for managing temporal group memberships
are as follows:
l Add temporal group members The user interface for selecting objects, in both
the Active Roles console and Web Interface, provides a number of options to specify
when the selected objects should be added to the selected group and when the
selected objects should be removed from the group. It is possible to add the objects
to the group immediately as well as to indicate that the objects should not be
removed from the group.
l View temporal members of a group The list of group members (the Members
page) displayed by the Active Roles console or Web Interface makes it possible to
distinguish between regular group members and temporal group members. In
addition, it is possible to hide or display the temporal members that are scheduled to
be added to the group in the future but are not actual members of the group so far.
l View temporal memberships of an object The list of group memberships for a
particular object (the Member Of page) makes it possible to distinguish between the
groups in which the object is a regular member and the groups in which the object is
a temporal member. It is also possible to hide or display the groups to which the
object is scheduled to be added in the future.
With the temporal group membership functionality, Active Roles assures that users have
group memberships for only the time they actually need to, enforcing the temporal nature
of group memberships when required and eliminating the risk of retaining group
memberships for longer than needed.
1. In the Active Roles console, right-click the group and click Properties.
2. On the Members tab in the Properties dialog box, click Add.
3. In the Select Objects dialog box, click Temporal Membership Settings.
4. In the Temporal Membership Settings dialog box, choose the appropriate
options, and then click OK:
a. To have the temporal members added to the group on a certain date in the
future, select On this date under Add to the group, and choose the date and
time you want.
b. To have the temporal members added to the group at once, select Now under
Add to the group.
c. To have the temporal members removed from the group on a certain date,
select On this date under Remove from the group, and choose the date
and time you want.
d. To retain the temporal members in the group for indefinite time, select Never
under Remove from the group.
5. In the Select Objects dialog box, type or select the names of the objects you want
to make temporal members of the group, and click OK.
6. Click Apply in the Properties dialog box for the group.
NOTE:
1. In the Active Roles console, right-click the group and click Properties.
2. Examine the list on the Members tab in the Properties dialog box:
l An icon of a small clock overlays the icon for the temporal members.
l If the Show pending members check box is selected, the list also includes
the temporal members that are not yet added to the group. The icons
identifying such members are shown in orange.
The list of group memberships for a particular object makes it possible to distinguish
between the groups in which the object is a regular member and the groups in which the
object is a temporal member. It is also possible to hide or display so-called pending group
memberships, the groups to which the object is scheduled to be added in the future.
1. In the Active Roles console, right-click the object and click Properties.
2. Examine the list on the Member Of tab in the Properties dialog box:
l An icon of a small clock overlays the icon for the groups in which the object is a
temporal member.
l If the Show pending group memberships check box is selected, the list
also includes the groups to which the object is scheduled to be added in the
future. The icons identifying such groups are shown in orange.
1. In the Active Roles console, right-click the group and click Properties.
2. In the list on the Members tab in the Properties dialog box, click the member and
then click the Temporal Membership Settings button.
3. Use the Temporal Membership Settings dialog box to view or modify the start or
end time settings.
The Temporal Membership Settings dialog box provides the following options:
l Add to the group | Now Indicates that the object should be added to the
group at once.
l Add to the group | On this date Indicates the date and time when the object
should be added to the group.
l Remove from the group | Never Indicates that the object should not be removed
from the group.
l Remove from the group | On this date Indicates the date and time when the
object should be removed from the group.
Regular members have the Add to group and Remove from group options set to
Already added and Never, respectively. You can set a particular date for any of these
options in order to convert a regular member to a temporal member.
NOTE:
l You can view or modify the start time and end time settings by managing an
object rather than groups in which the object has memberships. Open the
Properties dialog box for that object, and then, on the Member Of tab, select
the group for which you want to manage the object’s start or end time setting
and click Temporal Membership Settings.
l On the Members or Member Of tab, you can change the start or end time
setting for multiple members or groups at a time. From the list on the tab,
select two or more items and click Temporal Membership Settings. Then, in
the Temporal Membership Settings dialog box, select check boxes to
indicate the settings to change and make the changes you want.
1. In the Active Roles console, right-click the group, and then click Properties.
2. On the Members tab in the Properties dialog box, click the member, click
Remove, and then click Apply.
NOTE: You can remove an object that is a temporal member of a group by managing
the object rather than the group. Open the Properties dialog box for that object, and
then, on the Member Of tab, select the group from the list and click Remove.
Group Family
For instance, in order to manage groups by geographical location, a Group Family can be
configured to create and maintain groups for every value found in the “City” property of
user accounts. Group Family discovers all values of that property in the directory and
generates a group for each, populating the group with the users that have the same value
of the “City” property. If a new value is assigned to the “City” property for some users,
Group Family automatically creates a new group for those users. If a user has the value of
Design overview
The key design elements of Group Family are as follows:
l Scoping by object location This determines the directory containers that hold the
objects to be managed by Group Family. The scope of Group Family can be limited to
certain containers, thereby causing it to affect only the objects in those containers.
l Scoping by object type and property This determines the type of objects, such
as User or Computer, to be managed by Group Family. Thus, the scope of Group
Family can be limited to a set of objects of a certain type. The scope can be further
refined by applying a filter in order for Group Family to manage only those objects
that meet certain property-related conditions.
l Grouping by object property Group Family breaks up the set of managed objects
(scope) into groupings, each of which is comprised of the objects with the same
combination of values of the specified properties (referred to as group-by
properties). For example, with Department specified as a group-by property for user
objects, each grouping only includes the users from a certain department.
l Creating or capturing groups For each grouping, Group Family normally creates
a new group to associate (link) with the grouping, and ensures the members of the
grouping are the only members of that group. When creating groups to accommodate
groupings, Group Family uses group naming rules that are based on the values of the
group-by properties. Another option is to manually link existing groups with
groupings; this operation is referred to as capturing groups.
l Maintaining group membership lists based on groupings During each
subsequent run of Group Family, the groupings are re-calculated, and their
associated groups are updated to reflect the changes in the groupings. This process
ensures that the group associated with a given grouping holds exactly the same
objects as the grouping. If a new grouping found, Group Family creates a group, links
the group to the new grouping, and populates the group membership list with the
objects held in that grouping.
l Adjusting properties of generated groups When Group Family creates a new
group to accommodate a given grouping, the name and other properties of the new
group are adjusted in compliance with the rules defined in the Group Family
configuration. These rules are also used to determine the container where to create
new groups, the group type and scope settings, and Exchange-related settings such
as whether to mail-enable the generated groups.
How it works
The Group Family configuration specifies rules to determine:
1. The scope is calculated and analyzed to build a list of all the existing combinations of
values of the group-by properties. The list is then added to the Group Family
configuration.
2. For each combination of values, a grouping is calculated consisting of all objects in
the scope that have the group-by properties set to the values derived from that
combination.
1. The scope is calculated and analyzed to build up a list of all the existing combinations
of values of the group-by properties. The Group Family configuration is then updated
with that list.
2. For each combination of values, a grouping is calculated consisting of all objects in
the scope that have the group-by properties set to the values derived from that
combination.
3. For each grouping, a link information-based search is performed to discover the
group linked to that grouping. If the group has been found, its membership list is
updated so the group only includes the objects found in the grouping. Otherwise, a
group is created or captured, linked to the grouping, and populated with the objects
found in the grouping.
When creating a group to accommodate a given grouping, Group Family uses the group
naming rules to generate a name for that group. The rules define a name based on the
combination of values of the group-by properties that identifies the grouping. The group
naming rules are stored as part of the Group Family configuration.
When capturing an existing group to accommodate a given grouping, Group Family uses a
group-to-grouping link created manually and stored as part of the Group Family
configuration. The link specifies the combination of values of the group-by properties to
identify the grouping, and determines the group to be linked to that grouping.
The Active Roles console provides the New Group Family wizard for creating the Group
Family configuration. The wizard creates a group, referred to as configuration storage
group, and populates that group with the configuration data you specify.
Note that you can create any number of Group Families, with each Group Family intended
to control a certain collection of groups. When linking a group to a grouping, the Group
Family engine ensures the group is under the control of only the Group Family that created
the link, thereby avoiding conflicts.
NOTE: Groups created through Group Family does not support group name with special
characters, such as, /\[]:;|=*?<>".
l Right-click the organizational unit to hold the Group Family configuration storage
group, and select New | Group Family.
Grouping Options
The next page provides a list of commonly used grouping criteria. Group Family creates
groupings based on the properties you can select on this page or specify later.
You can select the type of objects you want the Group Family scope to include:
You have the option to further refine the Group Family scope by applying a filter. To do so,
click Filter. This displays a window where you can view or modify filtering criteria. The
label next to the Filter button provides a visual indication of whether any filtering criteria
are specified.
In the Filter window, you can set up a list of filtering criteria, also referred to as
conditions. Each condition specifies a property, operator and value, and evaluates to either
TRUE or FALSE depending on the actual value of the property. For example, the following
condition evaluates to TRUE for any object that has Description set to Full Time Employee:
If any conditions are specified, a filter is applied so that the Group Family scope only
includes the objects for which all conditions evaluate to TRUE.
With an empty list of conditions, the Group Family scope includes all objects of the
specified type held in the specified containers. In other words, this results in no filtering
being applied.
When you apply a filter, only the objects that meet the filter conditions are added to the
controlled groups. By default, no filter is applied, which causes the controlled groups to
include any objects of the specified type. You can configure a basic filter by selecting
properties and specifying conditions and values to search for on the selected properties.
In addition, you have the option to configure an advanced filter by entering an appropriate
LDAP query. To do so, click the Advanced button in the Filter window. Note that the basic
and advanced filter options are mutually exclusive. If you have applied an advanced filter,
the basic filter settings are disregarded. To return to the basic filter option, click the Basic
button in the Filter window—this will override the LDAP query that the advanced filter is
based upon.
By clicking Preview on the Selection of Managed Objects page, you can display a list
of objects currently included in the Group Family scope. The Preview window lists the
objects the Group Family is going to assemble into groups.
Group-by properties
The next page lets you set up the list of group-by properties. The Group Family breaks up
the set of managed objects (scope) into groupings, each of which is comprised of the
objects with the same combination of values of the specified group-by properties. For
example, with Department specified as a group-by property for user objects, each
grouping only includes the users from a certain department. Then, the Group Family
ensures the members of each grouping belong to the group linked to that grouping.
The page lists of the currently selected group-by properties, and allows you to modify the
list by adding or removing properties.
IMPORTANT: The changes you make to the list on this page reset the Group Family
options that are dependent on the group-by properties. These options include the
group naming rules and the list of groups to capture (see the following two sections).
If you add or remove a group-by property, the current naming rules are replaced by
the default naming rule and the list of groups to capture is erased.
l To let the Group Family automatically create and link a group to every
grouping it discovers, select the Skip this step, without capturing groups
manually check box.
l To manually establish one or more group-to-grouping links, click Capture Groups.
Clicking Capture Groups displays a window where you can view or modify a list of group-
to-grouping links. Each entry in the list includes the following information:
The Capture Groups window provides the following buttons for managing the list of
group-to-grouping links:
l Add Opens a window where you can select a group and specify a grouping. To
specify a grouping, you need to enter a certain value of each of the group-by
properties. The result is that the group you select is linked to the grouping identified
by the combination of values you have entered.
l Edit Allows you to modify an entry you select from the list. Opens a window where
you can select a different group, or specify a different grouping by making changes
to the combination of values of the group-by properties.
l Remove Deletes the links you select from the list. The result is that the Group
Family will create new groups for the groupings you remove from the list.
By default, the Group Family generates the group naming properties based on the following
syntax: CG-%<key.property1>-%<key.property2>... In this syntax, CG is the abbreviation for
Controlled Group, whereas each of the %<...> entries is used to represent a value of a
certain group-by property. When creating a group for a given grouping, the Group Family
substitutes the grouping-specific value of the group-by property for the entry containing
the name of that property. For example, with a grouping identified by the Operations
value of the Department property, the group name is set to CG-Operations. With two
group-by properties, such as Department and City, an example of the group name could
be CG-Operations-London.
You can modify the group naming rule by clicking the Configure button. This displays the
Configure Value dialog box, discussed earlier in this document (see How to configure a
Property Generation and Validation policy). You can use that dialog box to set up a value
for the ‘name’ must be condition, in the same way as you do when configuring a Property
Generation and Validation policy.
A value is a concatenation of one or more entries. The Configure Value dialog box
provides the Add, Edit, and Remove buttons for managing the list of entries. Clicking Add
displays the Add Entry window.
In the Add Entry window, you can select the type of the entry to add, and then configure
the entry. The available types of entries are as follows:
To add a text string, you simply type a text in Add Entry window. The next subsection
elaborates on the Group-by Property entry.
Using the Group-by Property entry type, you can add an entry representing a value (or a
part of a value) of a group-by property. Select a group-by property from the list, and then
do one of the following:
l If you want the entry to include the entire value of the property, click All
characters of the property value.
l If you want the entry to include a part of the property value, click The first, and
specify the number of characters to include in the entry.
If you choose the second option, you can select the If value is shorter, add filling
characters at the end of value check box, and type a character in the Filling
character box. This character will fill the missing characters in the value of the property if
the value is shorter than specified in the box next to The first. For example, if you specify
The first 12 characters and enter 0 as the filling character, the Accounting property
value results in the Accounting00 entry.
When you are done configuring an entry, click OK to close the Add Entry window. The
entry is added to the Configure Value dialog box. When you have completed the list of
entries, click OK to close that dialog box. Note that the naming rule must include an entry
for each of the group-by properties.
l Group name
l Group name (pre-Windows 2000)
l Group display name
l E-mail alias (if the Group Family is configured to create mail-enabled groups, as
described later in this chapter)
You have the option to configure an individual rule for each of these naming properties. To
do so, click Fine-tune on the Group Naming Rule page. This displays a window where
you can select a naming property and configure a rule for that property the same way as
you do for Group name. The window looks similar to the following figure.
You may need to configure a separate rule for a certain property, considering restrictions
imposed on that property. For example, Group name (pre-Windows 2000) must be less
than 20 characters. In order to meet this requirement, select the Group name (pre-
Windows 2000) check box and click Configure to set up an appropriate rule. When
configuring entries to include group-by properties, limit the number of characters in each
entry by using the option The first in the Add Entry window.
Available are the standard options for the group scope and group type. The Group Family
creates groups of the scope and type you select.
Location of groups
On the next page, you can specify the container you want to hold the groups generated by
the Group Family.
l Group Family home OU The Group Family creates groups in the container that
holds the configuration storage group for that Group Family (see Start the New Group
Family wizard earlier in this chapter).
l This organizational unit The Group Family creates groups in the container
specified. This must be an organizational unit or container from the domain of the
Group Family configuration storage group. Click Select to choose the desired
organizational unit or container.
Exchange-related settings
On the next page, you can specify whether you want the groups generated by the Group
Family to be mail-enabled, and set up Exchange-related properties to assign to those
groups upon their creation.
If you want the Group Family groups to be mail-enabled, select the Mail-enable groups
created by Group Family check box. Then, you can set up the following Exchange-
related properties for the Group Family groups:
l Expansion server The Exchange server used to expand a Group Family group into
a list of group members.
l Hide group from Exchange address lists Prevents the Group Family groups
from appearing in address lists. If you select this check box, each of the groups will
be hidden from all address lists.
l Send out-of-office messages to originator Select this check box if you want
out-of-office messages to be sent to the message originator, when a message is sent
to a Group Family group while one or more of the group members have an out-of-
office message in effect.
l Send delivery reports to group owner Use this option if you want delivery
reports to be sent to the group owner, when a message sent to a Group Family group
is not delivered. This lets the group owner know that the message was not delivered.
l Send delivery reports to message originator Use this option if you want
delivery reports to be sent to a message originator, when a message sent to a Group
Family group is not delivered. This lets the message originator know that the
message was not delivered.
l Do not send delivery reports Use this option if you do not want delivery reports
to be sent, even if a message sent to a Group Family group is not delivered.
Select the first check box to run the Group Family right after you complete the wizard and
whenever the Group Family is modified by managing the configuration storage group (see
Administering Group Family later in this chapter).
Select the second check box to set up schedule options. As long as this check box is
selected, the Group Family runs at specified time.
From the Run on this server list, you can select the Administration Service to run the
Group Family. It is advisable to choose the least loaded Service.
To create the Group Family configuration and run the Group Family
1. In the console tree, right-click the organizational unit in which you want to create the
Group Family configuration storage group, and select New | Group Family to start
the New Group Family wizard.
2. Follow the instructions on the wizard pages.
3. On the Name the Group Family page, specify a name for the Group Family.
The wizard creates the Group Family configuration storage group with the name you
specify on this page.
4. On the Grouping Options page, do one of the following, and then click Next:
l Click Pre-configured grouping by, and then select a pre-configured
grouping criteria from the list.
l Click Custom Grouping to configure custom grouping criteria in later steps of
the wizard.
5. On the Location of Managed Objects page, do the following, and then click Next:
l Click Add, and then select a container that holds the objects to be assembled
into groups.
l Click Remove to remove a selected container from the Containers list.
6. On the Selection of Managed Objects page, do the following, and then click Next:
l Select a type of objects by clicking one of the four topmost options; or click
Other, and then click Specify to choose an object type from the Object
Types list.
l Click Filter, and complete the Filter dialog box (see instructions later in
this topic).
l Click Preview to view the list of objects that meet the specified conditions.
7. On the Group-by Properties page, do the following, and then click Next:
l Click Add, and select an object property from the Object property list.
8. On the Capture Existing Groups Manually page, select Skip this step, without
capturing groups manually, and then click Next.
9. On the Group Naming Rule page, do the following, and click Next:
l Click Configure, and complete the Configure Value dialog box (see
instructions later in this topic).
l Click Fine-tune Naming Rule, and complete the Fine-tune Naming Rule
dialog box (see instructions later in this topic).
1. Click Add.
2. In the Add Entry dialog box, do one of the following, and then click OK:
l To configure a text entry, click Text under Entry type, and then type a value
in the Text value box.
l To configure a group-by property entry, click Group-by Property under
Entry Type, and then, under Entry properties, select a property from the
list and do one of the following:
l If you want the entry to include the entire value of the property, click All
characters of the property value.
1. Select the check box and click the Configure button next to the naming property that
you want to configure, and then complete the Configure Value dialog box by using
the procedure outlined above.
2. Click OK.
l General tab Displays the name of the Group Family and allows the administrator to
view or modify the description, group type, and group scope of the storage group.
l Controlled Groups tab Lists the groups that are under the control of the Group
Family, and allows the administrator to view or modify the group-to-grouping links
and group creation-related rules.
l Groupings tab Allows the administrator to view or modify the Group Family scope
and the list of group-by properties.
l Schedule tab Displays Group Family schedule-related information, and allows the
administrator to view or modify scheduling settings.
l Action Summary tab Displays information about the last run of the Group Family,
and allows the administrator to view a log detailing results of the run.
The Action menu on each Group Family configuration storage group includes the Force
Run command, so you can run the Group Family if you want to update it right away,
without waiting for the scheduled run time.
Controlled groups
To help distinguish the groups that are under the control of a Group Family
(controlled groups), the Active Roles console marks them with a special icon. For
example, the following icon is used to indicate a global group that is under the
control of a Group Family:
In addition, an explanatory text is added to the Notes field for such groups, stating that the
Group Family will override any changes made directly to the group membership list.
In the Active Roles console, the Properties dialog box for controlled groups includes a
Group Family-specific tab named Controlled By. From that tab, you can manage the
configuration of the Group Family that controls the group.
The Controlled By tab displays the name and path of the group that stores the
configuration of the Group Family. To view or change the configuration of the Group
Family, click the Properties button.
So, there are two ways to access the Properties dialog box of the Group Family
configuration storage group:
l On the Controlled By tab in the Properties dialog box for any group controlled by
the Group Family, click Properties
l Right-click the Group Family configuration storage group, and click Properties
The following sections elaborate on the Group Family-specific tabs found in the Properties
dialog box for the Group Family configuration storage group.
General tab
The General tab displays the Group Family name, and allows you to edit the description.
This tab cannot be used to modify the Group Family name. You can change the name by
using the Rename command on the Group Family configuration storage group.
By clicking the Storage Group Scope and Type (Advanced) button, you can view or
modify the group scope and group type of the configuration storage group. Changes to
these settings do not affect the Group Family. The group type and group scope are set to
Security and Global by default, and normally need not be modified.
Item Description
Controlled groups This is a list of all groups that are under the control of this
Group Family. For each group, the list displays the name of
the group along with the path and name of the container
that holds the group.
Capture Groups Click this button to examine the list of controlled groups in
detail. For each of the controlled groups, you can identify
the grouping assigned to that group.
Manage Rules Click this button to view or change the Group Family
settings that determine properties of the controlled groups
such as the naming properties, the group type and scope,
the container that holds the groups, and Exchange-related
properties.
Each of the groups listed on this tab is either created or captured by the Group Family,
and linked to a certain grouping. You can view or modify those links by clicking
Capture Groups.
NOTE: For a newly created Group Family configuration, the list on this tab only
includes the groups specified in the Capture Existing Groups Manually step of the
New Group Family wizard. If that step was skipped, the list is empty until the Group
Family has been run.
Clicking Capture Groups displays a window where you can view the list of controlled
groups in more detail. The Capture Groups window allows you to add, modify, or remove
entries from that list.
The Capture Groups window lists all the controlled groups. For each group, you can see
which grouping is linked to that group. As usual, groupings are identified by combinations
of values of the group-by properties. Thus, each entry in the list includes the following
information:
The Capture Groups window provides these buttons for managing the list:
l Add Opens a window where you can select a group and specify a grouping to
which you want to link (assign) an existing group. To specify a grouping, you need
to enter a certain value of each of the group-by properties. The result is that the
group you select is linked to the grouping identified by the combination of values
you have entered.
l Edit Allows you to modify an entry you select from the list. Opens a window where
you can select a different group, or specify a different grouping by making changes
to the combination of values of the group-by properties.
l Remove Deletes the entries you select from the list. The result is that the Group
Family will create new groups for the groupings you remove from the list.
l Scan Detects new combinations of values of group-by properties, and displays them
in the list so that you can link existing groups to new combination manually if you do
not want the Group Family to create new groups for those combinations.
When managing the list of groups in the Capture Groups window, consider the following:
l You can assign an existing group to a grouping regardless of whether the grouping
actually exists in the directory. For example, you can assign a group to a grouping
with a Department property value that is not encountered in the directory. Once the
Department property for some users is set to that value, the Group Family will add
those users to the specified group instead of creating a new group for the new
Department.
l Only one group can be assigned to a grouping. If the list already includes a given
grouping, you will not be allowed to add a new entry referring to that same grouping.
In this case, you have the option to use the Edit button, to link a different group to
the grouping.
l When you edit a list entry to link a different group to a grouping, the group that was
earlier linked to the grouping remains intact. It neither is deleted nor has the
membership list updated. In other words, the members of the grouping still belong to
the group even though you have removed that group from the list, and thus from
under the control of the Group Family.
l When you remove an entry from the list, the group that the entry refers to is not
deleted. During a subsequent run, the Group Family will detect a grouping that has no
group assigned and try to create a group for that grouping. This operation may fail
due to a name conflict so long as there is an existing group with the same name—the
group that was earlier linked to the grouping. To avoid name conflicts, rename or
delete the groups you remove from under the control of the Group Family.
l The Manage Rules button gives you access to a series of pages that are similar to
those of the New Group Family wizard discussed earlier in this chapter. Clicking
Manage Rules starts a step-by-step process organized into these pages:
l Group Naming Rule Group Family uses this rule to generate the Group name,
Display name, Group name (pre-Windows 2000), and E-mail alias when creating new
groups. For details, refer to the Group naming rule section earlier in this chapter.
l Group Type and Scope The group type and group scope that is assigned to the
groups created by the Group Family.
l Location of Groups The rule that determines the container in which the Group
Family creates new groups. For details, refer to the Location of groups section earlier
in this chapter.
l Exchange-related Settings The rule that determines whether the groups created
by the Group Family are mail-enabled, and a number of options pertinent to mail-
enabled groups. For details, refer to the Exchange-related settings section earlier in
this chapter.
You can navigate through these pages by using the Back and Next buttons. The Finish
button on the last page commits the changes, if any, from all pages to the Properties
dialog box, and completes the task of managing the group creation rules. The changes are
applied when you click OK or Apply in the Properties dialog box, and can be discarded by
clicking Cancel.
Groupings tab
From the Groupings tab, you can view or change the Group Family settings that control
the Group Family calculation processes.
During each run, the Group Family re-calculates groupings by breaking up the set of
managed objects (scope) into sub-sets, with each sub-set consisting of the objects that
have a particular combination of values assigned to the group-by properties.
The scope and the group-by properties are specified when the Group Family configuration
is created, and can be changed on the pages that appear when you click Configure on
the Groupings tab. By clicking the Configure button, you can view or change the
following settings:
If you add or remove a group-by property, the naming rules that currently exist are
replaced with the default naming rule and the list of groups to capture is erased.
Schedule tab
The Schedule tab displays Group Family schedule-related information, and allows you to
view or modify scheduling settings.
The tab displays the following information:
You can use the Configure button to examine the Group Family schedule in more detail,
and make changes to the schedule as needed.
Clicking Configure displays the Group Family Scheduling page, similar to that of the
New Group Family wizard discussed earlier in this chapter (see the Group Family
scheduling section). View or modify the schedule settings on that page, and click the
Finish button to commit your changes to the Properties dialog box. The changes are
applied when you click the OK or Apply button, and can be discarded by clicking Cancel.
l Last run started The date and time the run was started.
l Last run finished The date and time the run was finished.
l Managed objects The number of objects found in the Group Family scope.
l Valid groupings The number of groupings calculated during the run.
To examine this information in more detail, click the View Log button.
The Error List section provides information about all errors and warnings the Group Family
encountered during the run.
l Right-click the Group Family configuration storage group, and then click Properties.
1. Open the property sheet for the Group Family (see instructions earlier in this topic).
2. Click the Groupings tab, and then click Configure.
3. Follow Steps 5 through 7 of the procedure for creating a Group Family (see Steps for
creating a Group Family).
4. On the Group-by Properties page, click Finish.
5. Click OK to close the property sheet.
1. Open the property sheet for the Group Family (see instructions earlier in this topic).
2. Click the Controlled Groups tab, and then click Manage Rules.
3. Follow Steps 9 through 12 of the procedure for creating a Group Family (see Steps
for creating a Group Family).
4. On the Exchange-related Settings page, click Finish.
5. Click OK to close the property sheet.
1. Open the property sheet for the Group Family (see instructions earlier in this topic).
2. Click the Controlled Groups tab, and then click Capture Groups.
3. In the Capture Groups window, click Add.
a. In the Assign Group to Grouping dialog box, do the following, and
then click OK:
b. Click Select, and then select the group you want to add.
4. In Group-by property, type a value of the group-by property. If multiple group-by
properties are defined, type a value for each, so as to determine the grouping to
which you want the group to be assigned.
5. Click OK to close the Capture Groups window.
6. Click OK to close the property sheet.
1. Open the property sheet for the Group Family (see instructions earlier in this topic).
2. Click the Controlled Groups tab, and then click Capture Groups.
3. In the Capture Groups window, select the group you want to remove from the
Group Family, click Remove, and then click OK.
4. Click OK to close the property sheet.
1. Open the property sheet for the Group Family (see instructions earlier in this topic).
2. Click the Schedule tab, and then click Configure.
3. On the Group Family Scheduling page, do the following, and then click Finish:
a. Select Schedule Group Family to run, and then set the appropriate date,
time, and frequency of Group Family update.
b. If you also want the Group Family to run one time immediately after you
close the property sheet, select Run Group Family once after
completing this page.
c. From the Run on this server list, select the Administration Service you want
to run the Group Family.
4. Click OK to close the property sheet.
1. Open the property sheet for the Group Family (see instructions earlier in this topic).
2. Click the Action Summary tab, and then click View Log.
l Right-click the Group Family configuration storage group, and then click Delete.
NOTE: Deleting a Group Family only deletes the configuration storage group of the
Group Family. This operation does not delete the controlled groups of the Group
Family. Later, you can configure another Group Family to take control of those
groups.
l Accounting
l Executive Services
l Facilities
l Finance
l Government Services
l Human Resources
l Information Technology
l Operations
This will start the New Group Family wizard. The remaining steps apply to
that wizard.
Once you have completed these steps, the Group Family performs all the necessary
processing to create the groups, one group per department, and adds users to the
appropriate groups based on the Department property.
You might look at the contents of the Groups OU in the Active Roles console to verify that
the departmental groups are created successfully. You might also examine properties of a
group generated by the Group Family, to verify that the membership list of the group is
correct. For example, the membership list of the CG-Executive Services group consists
of the user accounts that have the Department property set to Executive Services.
Dynamic Groups
l Rules-based mechanism that automatically adds and removes objects from groups
whenever object attributes change in Active Directory.
l Flexible membership criteria that enable both query-based and static
population of groups.
In the Active Roles console, dynamic groups are marked with the following icon:
Cross-domain membership
When you configure a dynamic group, you choose containers that hold the objects you want
to be included or excluded from the group. For example, you could configure a dynamic
group to include all users held in a particular Organizational Unit that meet certain
conditions. These parent containers of dynamic group members can be selected from any
domains registered with Active Roles. Depending upon the location of the members’ parent
container, the dynamic group can include objects from domains other than the domain in
which the group resides (external domains).
Active Directory has restrictions regarding the types of groups that can have members
from external domains, and the types of groups that can have membership in other groups.
All these restrictions apply to dynamic groups. Thus, Active Roles disregards membership
rules that would add external domain users to a global group. With these natural
restrictions, you can configure membership rules for a dynamic group to have members
from any domains that are registered with Active Roles.
Whether dynamic groups can have external members depends upon the Dynamic Groups
policy. If you want dynamic groups to include objects from external domains, ensure that
the Enable cross-domain membership policy option is selected (see Dynamic groups
policy options).
Selecting the option that enables cross-domain membership should be considered a long-
term commitment to scenarios where members of a dynamic group may reside in domains
other than the domain of the dynamic group—external domains. Once you have enabled
cross-domain membership, you can configure dynamic groups to include or exclude objects
from any domains registered with Active Roles. However, if you later decide to un-select
this policy option, the dynamic groups that were configured to include or exclude objects
from external domains will cease to function. You will have to inspect and, if needed,
reconfigure your existing dynamic groups to ensure that the membership rules of each
dynamic group match only objects from the domain of the dynamic group itself.
On the first page of the wizard, you can select the type of the membership rule you want to
configure. The text under Membership rule description explains which membership
rules can be created using the rule type you select.
The Include Explicitly membership rule allows you to select objects to be statically
added to the group. Active Roles ensures that the selected objects are included in the group
regardless of whether they are renamed, moved to another container, or have any
properties changed. With the Include Explicitly rule type the dynamic group behaves like
a basic group.
The Include by Query membership rule allows you to define criteria the objects must
match to be included in the group. Active Roles dynamically populates the group
membership list with the objects that have certain properties. When an object is created,
or when its properties are changed, Active Roles adds it to, or removes it from, the group
depending on whether the object’s properties match the defined criteria.
The Include Group Members membership rule allows you to select the groups which
members you want to include in the dynamic group. Active Roles dynamically populates the
group membership list with the objects that belong to the selected groups. When an object
is added or removed from the selected groups, Active Roles adds or removes that object
from the dynamic group.
NOTE: After you have created a dynamic group with the first rule added to the group,
you can add additional rules by managing properties of the group.
If you add several membership rules and some of them conflict with each other, then the
conflict is resolved by a rule that defines the following order of precedence:
1. Exclude Explicitly
2. Include Explicitly
3. Exclude by Query
4. Exclude Group Members
5. Include by Query
6. Include Group Members
1. In the console tree, select the folder that contains the group to which you want to add
a membership rule.
2. In the details pane, right-click the group, and do one of the following to start the New
Membership Rule wizard:
l If the group is a basic group, click Convert to Dynamic Group, and
then click Yes.
l If the group is a dynamic group, click Add Membership Rule.
3. On the first page of the wizard, select the type of the membership rule you want to
create. Do one of the following, and then click Next:
l To create a rule that statically adds members to the group, click Include
Explicitly.
l To create a rule that statically excludes members from the group, click
Exclude Explicitly.
If you selected the Include by Query rule type or the Exclude by Query rule type
in Step 3, the Create Membership Rule dialog box appears. Otherwise, the Select
Objects dialog box appears.
5. Complete the Create Membership Rule or Select Objects dialog box using the
procedures outlined below in this section.
6. Click Finish to close the wizard.
1. From the Find list, select the class of objects you want the membership rule
to include or exclude from the group. For example, when you select Users,
the membership rule includes or excludes the users that match the conditions
you specify.
2. From the In list, select the domain or folder that holds the objects you want the
membership rule to include or exclude from the group. For example, when you select
an Organizational Unit, the membership rule includes or excludes only the objects
that reside in that Organizational Unit.
To add folders to the In list, click Browse and select folders in the Browse for
Container dialog box.
3. Define the criteria of the membership rule. For example, to include or exclude the
objects that have the letter T at the beginning of the name, type T in Name. You can
use an asterisk (*) to represent any string of characters.
4. Optionally, click Preview Rule to view a list of objects that match the criteria you
have defined.
5. Click Add Rule.
1. In the Look in list, click the domain or folder that holds the objects you want to
select. To add a folder to the list, click Browse.
2. Do one of the following, and then click OK.
l In the list of objects, double-click the object you want to add.
l In the lower box, type the entire name, or a part of the name, of the object you
want to add. Then, click Check Names.
l The only way to populate dynamic groups is by adding membership rules. The
members of a dynamic group are the objects that match the criteria defined by
the membership rules.
l To convert a dynamic group back to a basic group, right-click the group, and
click Convert to Basic Group. When converting a dynamic group to a basic
group, Active Roles removes all membership rules from the group. No changes
are made to the list of the current members for that group.
l The Create Membership Rule dialog box is similar to the Find dialog box
you use to search for objects in the directory. Once you have specified your
search criteria, the Add Rule function saves them as a membership rule. For
more information on how to specify search criteria, see Finding objects.
l The Find list includes the Custom Search entry. Selecting that entry displays
the Custom Search tab, enabling you to build custom membership rules using
advanced options, as well as to build advanced membership rules using the
Lightweight Directory Access Protocol (LDAP), which is the primary access
protocol for Active Directory. For more information about using advanced
search options, see Steps for using advanced search options and Steps for
building a custom search.
NOTE: Active Roles does not allow members to be removed from a dynamic group by
directly managing the membership list of the group. To remove particular members,
use Exclude Explicitly rules.
1. In the console tree, locate and select the folder that contains the group from which
you want to remove a membership rule.
2. In the details pane, right-click the group and click Properties.
3. On the Membership Rules tab, select the membership rule, and click Remove.
NOTE: The Properties dialog box includes the Membership Rules tab if the
selected group is a dynamic group. If you do not see the Membership Rules tab,
then the selected group is a basic group.
l The Membership Rules tab disappears from the Properties dialog box.
l The Members tab allows you to add and remove members (the Add and Remove
buttons appear on the Members tab).
As a result, only user accounts that currently have a city value of Seattle belong to the
Seattle group. Thus, when an employee leaves Seattle for Atlanta, an administrator
changes the City attribute from Seattle to Atlanta, and the user automatically moves to the
When you are done, click Finish in the New Membership Rule wizard.
Repeat the same procedure for the Atlanta group, but type Atlanta in the Value box when
configuring the membership rule.
l Introduction
l Collector to prepare data for reports
l Working with reports
Introduction
The Active Roles reporting solution leverages Microsoft SQL Server Reporting Services
(SSRS) as a platform for managing, generating, and viewing reports.
Through the use of SSRS, Active Roles delivers enterprise reporting functionality that
combines the strengths of Web-based features and traditional reporting. The use of
Reporting Services provides a way to centralize report storage and management, enable
secure access to reports, control how reports are processed and distributed, and
standardize how reports are used.
A comprehensive collection of report definitions, referred to as the Active Roles Report
Pack, are published to the report server, a component of Reporting Services. Installing the
Report Pack creates published reports that can be accessed through Web addresses (URLs),
through SharePoint Web parts, or through Report Manager, a Web-based report access and
management tool included with SSRS.
Opening a published report from the report server generates the report in a format suitable
for viewing. This action is referred to as rendering a report. Rendering a report also occurs
upon subscription, when the report is delivered to an e-mail inbox or a file share in an
output format specified by the report user.
The reports that can be generated once the Active Roles Report Pack is deployed are
instrumental in change tracking audits, directory data monitoring and analysis, and
assessment of Active Roles security and policy configurations. The reports fall into these
categories:
l Active Roles Tracking Log Check what changes were made to directory
data through the use of Active Roles, who made the changes, and when the
changes were made.
Reports are built on data prepared by the Active Roles Collector. For details about the
Active Roles Collector, see Collector to prepare data for reports later in this chapter.
You can generate and view reports by using Report Manager, which is part of SSRS.
For instructions on how to generate and view reports, see Working with reports later in
this chapter.
The scope of data that the Collector can retrieve from Active Directory is restricted by the
access rights of the user account under which the Collector performs the data collection
task. Therefore, reports based on Active Directory data only include information about the
objects that the Collector is permitted to access in Active Directory.
l Depending upon the version of your Windows operating system, click One Identity
Active Roles | Active Roles Collector and Report Pack on the Apps page or
select All Programs |One Identity Active Roles | Active Roles Collector and
Report Pack from the Start menu.
When started, the Collector wizard displays the Select Task page where you can select
one of the following the tasks to perform:
l Collect data from the network Collect data and events from the computers
running the Administration Service, and store the collected information in a database
server to make the information available to the report server.
l Process gathered events Export selected events to another database server, or
delete obsolete information from the database.
l Import events from an earlier database version As the current version of the
Active Roles reports is only compatible with the database of the current Collector
version, you need to import events from the database of an earlier version to the
database of the current version if you want to use those events for reporting.
l Deploy reports to Report Server Setup only installs the Active Roles report
definitions to the local computer. To use the reports, you need to publish them to
your SQL Server Reporting Services (SSRS) Report Server.
l Current user Connect to the Administration Service with the credentials of the user
account under which the Collector is running.
l Specified user Connect to the Administration Service with the specified user name
and password.
NOTE: The wizard only displays the Data to Collect page if you select the Active
Directory check box on the Data Collection Tasks page.
On the Data to Collect page, the wizard prompts you to specify the categories of data you
want to collect:
NOTE: If you select the Policy Compliance Information check box on the previous
page, the wizard does not allow the Policy Objects check box to be cleared on the
Data to Collect page.
1. On the Select Task page, select the Collect data from the network option.
2. On the Configure Connection page, specify the database in which you want to
store the collected data; the computer running the Administration Service; and the
credentials to log on to that computer:
a. To initially specify a database, or choose a different database, click the button
next to the Database box, and then use the dialog box that appears to specify
the required database type, database, and authentication option for connection
to database server.
b. In Active Roles Service, specify the full name of the computer running the
Administration Service from which you want to collect information.
6. On the Select Operation Mode page, specify whether to start the task execution
immediately or schedule the task to run at a convenient time:
l To start the collection process right now, click Now, and then click Next.
l To schedule the task, select On a schedule, and then click Next.
7. If you selected the On a schedule option, then, on the Schedule page, specify the
task schedule and logon account:
l Click Add to create a schedule for the task.
You can use the Task Scheduler console to examine the Collector task that you have
scheduled. Task Scheduler allows you to view or change the task’s properties such as
task’s name, description, security options, triggers, conditions, and settings. The task’s
history can also be viewed along with the properties. Task Scheduler tracks the task’s
history by events that are raised when the task is started, run, finished executing, and at
other times as needed to track the task’s history. Errors related to the task are also
tracked in the task’s history.
2. In the console tree, select Task Scheduler Library | Active Roles | Collector.
3. In the console window, double-click the name of the task.
The name of the task in the Task Scheduler console has the following format:
Active Roles Collector ( <task name> ) where <task name> stands for the
name you specified in the Collector wizard; for example, Active Roles
Collector (New Task).
4. In the dialog box that appears, click a tab to view or change the task’s properties
located on that tab.
5. Click the History tab to view the task’s history.
The History tab lists the events specific to the task you selected. Click an event in
the list to view the description of the event.
l Export using date range Specify the date range for the events you want to
export. The time you specify is considered Greenwich Mean Time (GMT).
l Export events older than Specify the age limit for the events you want to export.
l Delete events older than Specify the age limit for the events you want to delete.
1. On the Select Task page, select the Process gathered events option.
2. On the Data Processing Task page, specify what you want to do with the events
that were gathered from the Administration Service computers and stored in the
database. Select one of the following options:
l Export using date range Specify the date range for the events you want to
export. The time you specify is considered Greenwich Mean Time (GMT).
l Export events older than Specify the age limit for the events you
want to export.
l Delete events older than Specify the age limit for the events you
want to delete.
3. On to the Source database page, click Specify, and supply the name and SQL
Server of the database from which you want to export or delete the events. You can
also choose the authentication option for connection to SQL Server.
4. On to the Target Database page, click Specify box, and supply the name and SQL
Server of the database to which you want to export the events. You can also choose
the authentication option for connection to SQL Server.
1. On the Select Task page, select the option Import events from an earlier
database version.
2. On the Source database page, click Specify, and supply the name, database type,
and SQL database server used by your Collector of an earlier version. You can also
choose the authentication option for connection to SQL Server.
3. On the Target Database page, click Specify, and supply the name, database type,
and database server of the database used by your Collector of the current version.
You can also choose the authentication option for connection to SQL Server.
1. On the Select Task page, select the Deploy reports to Report Server option.
2. On the Report Server page, type the URL of your SSRS Report Server in the Report
Server Web Service URL box.
By default, the URL is http://<serverName>/ReportServer. You can use the
Reporting Services Configuration Manager tool to confirm the server name and URL.
For more information about URLs used in Reporting Services, see the topic
“Configure Report Server URLs (SSRS Configuration Manager)” at
http://msdn.microsoft.com/library/ms159261.aspx.
3. Optionally, on the Data Source page, configure the data source for the Active Roles
reports:
Configuring the data source is an optional step. If you do not have a database prepared by
Collector, you can configure the data source later, after you have deployed the reports. For
instructions, see Configuring the data source later in this document.
Once you have deployed the reports to your SSRS Report Server and configured the data
source, you can create and view Active Roles reports using Report Manager, a Web-
based tool included with SSRS. For instructions, see Generating and viewing a report
later in this document.
3. In the Connection string box on the Properties page that appears, specify the
database server instance, database type, and the name of the database that holds
the report data prepared by the Active Roles Collector.
For example, if the name of the database is ARServerReporting and the database is
on the SQL Server instance named MyServer\Enterprise, then the connection string is
as follows:
data source = MyServer\Enterprise; initial catalog = ARServerReporting
4. Click Apply.
To start Report Manager, open your web browser and type the Report Manager URL in
the browser address bar. By default, the URL is http://<ComputerName>/reports.
Browse folder contents by clicking a folder name or folder icon on the Contents page.
Search for a report by typing all or part of the report name in the Search text box at
the top of that page.
Some reports require you to provide parameter values. You can also apply filters to
specify what data you want the report to include.
For detailed instructions on how to use Report Manager, refer to Microsoft SQL Server
Books Online.
Administrative Roles/
l Access Template Permissions Lists Active Roles Access Templates, allowing
you to examine each Access Template in detail. You can view the name, location
and description the Access Template, along with all permission entries held in the
Access Template.
l Access Template summary Lists Active Roles Access Templates along with
quantitative information regarding Access Template links. For each Access
Template, this report allows you to determine the number of links that use the
Access Template and the number of objects (Trustees and Containers) to which the
Access Template is linked.
l Access Templates linked to Managed Units Lists Active Roles Access
Templates that are linked to Active Roles Managed Units. Identifies the name,
location and description of each Access Template along with the fully qualified name
of every Managed Unit to which the Access Template is linked. You can extend the list
to include both the Managed Units to which the Access Template is linked and the
Managed Units that are affected by the Access Template through permission
inheritance.
l Access Templates linked to Organizational Units Lists Active Roles Access
Templates that are linked to Active Directory Organizational Units. Identifies the
name, location and description of each Access Template along with the fully qualified
name of every Organizational Unit to which the Access Template is linked. You can
extend the list to include both the Organizational Units to which the Access Template
is linked and the Organizational Units that are affected by the Access Template
through permission inheritance.
l Control delegation by object Lists Active Directory objects to which Active Roles
Access Templates are linked. Identifies the name, location and description of each
object along with the name of every Access Template linked to that object and the
security principal (Trustee) whose administrative permissions are determined by
that link through direct assignment (without considering permission inheritance).
l Control delegation by object (with group hierarchy) Lists Active Directory
objects to which Active Roles Access Templates are linked. Identifies the name,
location and description of each object along with the name of every Access
Template linked to that object and the security principals (Trustees) whose
administrative permissions are determined by that link through direct assignment or
because of group memberships.
l Control delegation by Trustee Lists Active Directory security principals
(Trustees) that have administrative permissions specified by applying Active Roles
Access Templates. Identifies the name of each Trustee along with the name of every
Access Template that determines the Trustee’s administrative permissions in Active
Managed Units/
l Managed Unit members Lists Active Roles Managed Units along with their
members. For each Managed Unit, identifies its name, path and description as well
as the name, type and description of every object held in that Managed Unit.
l Managed Unit membership rules Lists Active Roles Managed Units along with
their membership rules. For each Managed Unit, identifies its name, path and
description as well as the rules that determine what objects are included to, or
excluded from, that Managed Unit.
l Managed Unit summary Lists Active Roles Managed Units along with quantitative
information regarding Managed Unit members, membership rules, Trustees and
policies. For each Managed Unit, identifies the number of its members and
membership rules, the number of security principals (Trustees) that have
administrative permissions for that Managed Unit, and the number of Active Roles
Policy Objects that affect the Managed Unit.
l Managed Units affected by Policy Lists Active Roles Managed Units that are
affected by Active Roles Policy Objects whether through a Policy Object linked to the
Managed Unit itself or through a Policy Object linked to a container or another
Managed Unit that holds the given Managed Unit. For each Managed Unit, identifies
the name and description of every Policy Object that affects the Managed Unit as well
as the container or Managed Unit from which the policy effect is inherited.
l Managed Units with delegated control Lists Active Roles Managed Units that
have administrative control delegated by applying Active Roles Access Templates
whether to the Managed Unit itself (direct permissions) or to a container or another
Managed Unit that holds the given Managed Unit (inherited permissions). For each
Managed Unit, identifies the security principals (Trustees) to which administrative
control is delegated, the Access Templates that determine the administrative
permissions, and whether those are direct or inherited permissions.
Policy Compliance/
l Objects violating Policy Rules Lists directory objects and their properties that
are not in compliance with policies determined by Active Roles Policy Objects. For
each directory object, identifies the object’s name, parent container, type and
description, and indicates what properties violate policy rules and what Policy
Objects define the policy rules that are violated.
l Violated Policy Rules Lists Active Roles Policy Objects whose policy rules are
violated by certain directory objects. For each Policy Object, identifies the policies
defined in that Policy Object, and, for every single policy, provides information about
directory objects and their properties which are not in compliance with that policy.
Management History
l Change History Information on changes that were made to directory data via
Active Roles.
l User Activity Information on management actions that were performed by a
given user.
IMPORTANT:
l The reports produced by the Change History or User Activity command include
information only about the changes that were made using a certain group of
Administration Services (those Services that share a common database). As
the Active Roles console or Web Interface automatically selects the Service to
connect to, you may encounter different reports for the same target object or
user account during different connection sessions.
l Active Roles uses the Management History storage to hold approval, temporal
group membership, and deprovisioning tasks. Without synchronizing
information between Management History storages, such a task created by one
of the Administration Services may not be present on other Administration
Services. As a result, behavior of the Active Roles console or Web Interface
varies depending on the chosen Administration Service.
l Who made the most recent changes to a given user or group object?
l Who modified a given user or group object during the last X days?
l What changes were made to a given user object last night (yesterday, the
day before)?
l Have any planned modifications of a given user or group object actually been
performed?
l What objects did a given delegated administrator modify during the last X days?
You can instantly access Management History whenever you need to quickly investigate or
troubleshoot a problem that results from inappropriate modifications of directory data.
Management History includes a dedicated repository to store information about data
changes, referred to as the Change Tracking log, and GUI to retrieve and display
information from that repository. No additional actions, such as collecting or consolidating
information, are required to build Management History results.
However, the advantages of the Management History feature also entail some limitations.
Before you use the Management History feature, consider the following recommended best
practices and limitations of using this feature.
l Excessive increase in the log size significantly increases the time required to build
and display Change History and User Activity results.
l As the log size grows, so does the size of the configuration database. This
considerably increases the time required to back up and restore the database, and
causes high network traffic replicating the database when you join an additional
Administration Service to Active Roles replication.
l The GUI is not suitable to represent large volumes of Management History results in
a manageable fashion. Since there is no filtering or paging capabilities, it may be
difficult to sort through the results.
To address these limitations, Active Roles gives you a different means for change auditing,
change-tracking reports, included with the Active Roles Report Pack. These reports are
designed to help answer the following questions:
Change-tracking reports are based on data collected from event logs. A separate log is
stored on each computer running the Administration Service, and each log only contains
events generated by one Administration Service. Therefore, to use reports, the events
from all event logs need to be consolidated to form a complete audit trail.
The process of consolidating events, referred to as the data collection process, is
performed by a separate Active Roles component—Collector. With the Collector wizard,
you can configure and execute data collection jobs, and schedule them to run on a
regular basis.
The main limitation of change-tracking reports is the fact that the information needs to be
collected and consolidated in a separate database before you can build the reports. The
data collection process exhibits the following disadvantages:
l Collecting data may be a very lengthy operation and the database size may grow
unacceptable when collecting all events that occurred within a long period of time in
a large environment.
l Collecting data is impossible over slow WAN links. This limitation is inherent to the
Active Roles component intended to collect data for reporting.
Change-tracking policy
The behavior of the Management History feature is defined by the policy held in the build-in
Policy Object called Built-in Policy - Change Tracking. The policy determines the object
types and properties for which to gather the management history information.
To view or modify the policy, display the Properties dialog box for the Built-in Policy -
Change Tracking Policy Object (located in container
Configuration/Policies/Administration/Builtin), go to the Policies tab, select the
policy, and click View/Edit. This displays the Policy Properties dialog box. The Object
Types and Properties in that dialog box lists the object types and properties included in
Management History. Each entry in the list includes the following information:
l Object Type If an object of this type is modified via Active Roles, information about
that action is recorded in the Change Tracking log on condition that the modification
affects a property specified in the Properties column.
l Properties Information about changes to these properties is recorded in the
Change Tracking log.
You can manage the list on the tab by using the buttons beneath the list:
l Add Displays the dialog box where you can select the object type and properties you
want to include in Management History. You have an option to either select individual
properties or select all properties.
l Remove Deletes the selected entries from the list.
l View/Edit Displays the dialog box where you can view or modify the properties for
the selected list entry.
l All requests that occurred during last <number> days Information about
change requests is written to the log so that new requests replace those that are
older than the specified number of days.
l This total number of most recent requests The log stores not more than the
specified number of change requests. When the limit is reached, each new request to
make changes to directory data replaces the oldest request in the log.
l This number of most recent requests per object For every object, the log
stores at most the specified number of change requests. When the limit is reached
for a certain object, each new request to make changes to the object replaces the
oldest request related to that object. The total number of requests depends on the
number of objects that are modified via Active Roles.
By default, the Change Tracking log is configured to store information about requests that
occurred within last 30 days. Information about change requests is written to the log so
that new requests replace those that are older than 30 days. If you increase this number,
do it carefully. Increasing this number significantly increases the size of the log. If you are
planning to change this setting, you should first review the Considerations and best
practices section earlier in this chapter.
NOTE: The Change Tracking log is used as the source of information on both Change
History and User Activity. The volume of requests held in the log equally determines
the Change History retention time and the User Activity retention time.
On the Log Record Size tab, you can choose from the options that allow you to reduce the
size of the Change Tracking log by logging detailed information about a limited number of
change requests, having only basic information about the other change requests logged and
thus included in the reports. If the log record of a given change request contains detailed
information, then the report on that request provides information about all changes made,
along with all policies and workflows performed, by Active Roles when processing the
request. Otherwise, the report provides information only about the changes to the object
properties made in accordance with the request. Although storing only basic log records
results in fewer details in the reports, doing so may considerably decrease the size of the
Management History database. The following options are available:
l All requests The Change Tracking log contains detailed information about all
requests stored in the log.
l The reports produced by the Change History or User Activity command include
information only about the changes that were made using a certain group of
Administration Services (those Services that share a common database).
As the Active Roles console or Web Interface automatically selects the Service to
connect to, you may encounter different reports for the same target object or user
account during different connection sessions.
1. With the Active Roles console, connect to the Administration Service whose SQL
Server you want to hold the Publisher role.
2. In the console tree, expand Configuration | Server Configuration and select the
Configuration Databases container.
NOTE: Replication Support column is added under configuration databases
container to indicate the replication support.
If the value of this column is Supported, it indicates that the replication is allowed
for the database. If the value of this column is Unsupported value indicates that
the database does not allow replication.
Then, you can configure Active Roles replication by using the Active Roles console as
described in the Configuring replication section later in this document: Use the Add
Replication Partner command on the database in the Configuration Databases
container to add Subscribers to the Publisher you have configured.
1. With the Active Roles console, connect to the Administration Service whose SQL
Server holds the Publisher role.
2. In the console tree, expand Configuration | Server Configuration, and select the
Management History Databases container.
3. Use the Delete command on each of the Subscriber databases to delete all
Subscribers in the Management History Databases container.
4. Right-click the Publisher database, and click Demote.
5. Wait while the console completes the Demote operation.
1. With the Active Roles console, connect to the Administration Service whose SQL
Server holds the Publisher role for configuration data.
2. In the console tree, expand Configuration | Server Configuration, and select the
Management History Databases container.
3. In the details pane, right-click the database, and click Promote.
4. Wait while the console performs the Promote operation.
5. Use the Add Replication Partner command on the Publisher database in the
Management History Databases container to add Subscribers for Management
History data.
The Add Replication Partner command starts the wizard that is similar to that discussed
in the Adding members to a replication group section later in this document. The only
difference is that the list of Administration Services whose database servers can be
designated as Subscribers for Management History data is limited to those Services that
share the configuration data hosted on the Publisher you have selected.
IMPORTANT: The reports produced by the Change History or User Activity command
include information only about the changes made using a certain group of Admin-
istration Services that share a common database from the connected management
history database. If the Change History data is not imported from the previously
available database, the data is not displayed in the new Management History
database. For more information on the implications of not importing the Change
History data from the available database, see Impact on management history data in
the Active Roles What's New guide.
The Import Management History wizard merges the Management History data found in an
existing Active Roles database with the data stored in the Management History database.
The wizard only adds new data, keeping intact any data that already exists in the
Management History database. You may import Management History data at any
convenient time after you have configured the Administration Service to use the new
Management History database, without being afraid of losing any data.
l Name The name of the object for which you are examining change history.
l Requested The date and time that the changes were requested.
l Requested by The user account that requested the changes.
l Completed The date and time that the changes were applied.
l Properties The properties of the object that were changed, including information
about the changed property values.
l Status Indicates whether the requested changes are applied (status COMPLETED) or
waiting for approval (status PENDING).
The Workflow activities and policy actions area displays a report of the policy actions
and workflow activity actions. The report organizes the action results into sections, each
containing report items specific to a single policy or activity. You can expand the area by
clicking its title. To expand a section, click the title of the section. For certain items, the
report provides the option to further expand the view and display additional information.
The List option displays a list of items, such as user or group properties, affected by the
policy or activity. By clicking the Details option, you can examine the policy or activity
action result in more detail.
The following topics list the possible sections and report items in the Workflow activities
and policy actions area. Each section in the report describes results of the action
performed by a certain workflow activity or policy. The report items within the section
inform about success or failure of the policy or activity action. In the event of a failure, the
report item includes an error description.
Not all the listed sections and items must necessarily be present in a report. An actual
report only includes the sections corresponding to the workflow activities and policies that
Active Roles performed when processing the operation request.
The following topics elaborate on the report sections and report items you encounter in the
Workflow activities and policy actions area:
“Approval” activity
The report section specific to an approval activity provides information about the approval
task created by that activity, and varies depending on the state of the approval task.
Normally, the activity does not create an approval task if the operation that is subject to
approval was requested by an Active Roles administrator or an approver. In this case, the
section body displays a message indicating that the activity is bypassed. Otherwise, the
contents of the report section body is as follows.
Task status: Pending
The following information is displayed if the task is waiting for approver action.
Otherwise, a message is displayed stating that the activity encountered an error. You can
view an error description in the report section body.
“Stop/Break” activity
The report section body displays the notification message provided by the activity. You can
set up a notification message when configuring a Stop/Break activity.
“Create” activity
The body of the report section identifies the object created by the activity, and provides the
following information:
You can click the Operation ID number to examine in detail the operation of creating the
object. This displays a change history report containing information about all workflow
activities and policy actions that Active Roles performed during that operation.
“Update” activity
The body of the report section identifies the object changed by the activity, and provides
the following information:
You can click the Operation ID number to examine in detail the operation of changing the
object. This displays a change history report containing information about all workflow
activities and policy actions that Active Roles performed during that operation.
You can click the Operation ID number to examine in detail the operation of adding the
object to the group. This displays a change history report containing information about all
workflow activities and policy actions that Active Roles performed during that operation.
You can click the Operation ID number to examine in detail the operation of removing the
object from the group. This displays a change history report containing information about
all workflow activities and policy actions that Active Roles performed during that operation.
You can click the Operation ID number to examine in detail the operation of moving the
object. This displays a change history report containing information about all workflow
activities and policy actions that Active Roles performed in during that operation.
“Deprovision” activity
The body of the report section identifies the object deprovisioned by the activity, and
provides the following information:
You can click the Operation ID number to examine in detail the operation of deprovisioning
the object. This displays a change history report containing information about all workflow
activities and policy actions that Active Roles performed during that operation.
“Delete” activity
The body of the report section identifies the object deleted by the activity (activity target
object), and provides the following information:
You can click the Operation ID number to examine in detail the operation of deleting the
object. This displays a change history report containing information about all workflow
activities and policy actions that Active Roles performed during that operation.
NOTE: This topic covers the Active Roles provisioning policies. The report sections
specific to deprovisioning policies are listed in the Report on deprovisioning results
and Report on results of undo deprovisioning topics earlier in this document.
The object is added to the following groups. Unable to add the object to the following
groups.
l List: Group names
l List: Group names and error
description
The object is removed from the following Unable to remove the object from the
groups. following groups.
Home folder 'name' is created on the file Unable to create home folder '{0}' on the
server. file server.
Details: Error description
User permissions on the home folder are Unable to set user permissions on home
set by copying permissions from the parent folder 'name' on the file server.
The home folder user is set as the owner of Unable to set user permissions on home
the home folder. folder 'name' on the file server.
Details: Error description
User permission option 'Grant Change Unable to set user permissions on home
Access' is applied to the home folder. folder 'name' on the file server.
Details: Error description
User permission option 'Grant Full Access' Unable to set user permissions on home
is applied to the home folder. folder 'name' on the file server.
Details: Error description
Home folder 'name' is renamed to 'new Unable to rename home folder 'name' to
name' on the file server. 'new name' on the file server.
Details: Error description
Home share 'name' is created on the file Unable to create home share 'name' on the
server. file server.
Details: Error description
The following mailbox properties are set. Unable to set the following properties of
the mailbox.
List: Property names and values
List: Property names and error description
The following mailbox properties are set. Unable to set the following properties of
the mailbox.
List: Property names and values
List: Property names and error description
The following mailbox properties are set. Unable to set the following properties of
the mailbox.
List: Property names and values
List: Property names and error descriptions
The following mailbox properties are set. Unable to set the following properties of
the mailbox.
List: Property names and values
List: Property names and error description
The following mailbox properties are set. Unable to set the following properties of
the mailbox.
List: Property names and values
List: Property names and error description
The following items apply to mailbox move operation on Exchange 2013 or later
The mailbox move request for mailbox Unable to create the mailbox move request
'name' is created. for mailbox 'name'.
Details: Error description
An e-mail address is established for group Unable to establish an e-mail address for
'name'. The group is now mail-enabled. group 'name'.
Details: Error description
An e-mail address is established for user Unable to establish an e-mail address for
'name'. The user is now mail-enabled. user 'name'.
Details: Error description
An e-mail address is established for contact Unable to establish an e-mail address for
'name'. The contact is now mail-enabled. contact 'name'.
Details: Error description
l Name The name of the object for which you are examining change history.
l Requested The date and time that the changes were requested.
l Completed The date and time that the changes were applied.
The window also includes the same additional sections as the Change History window
(see Viewing change history).
Entitlement Profile
l A personal resource, such as the user’s mailbox, home folder, account enabled for
Office Communications Server, or Unix-enabled account.
l A shared, network-based resource, such as a Web application or network file share,
that the user has permission to access.
l A managed resource, such as a group or distribution list, for which the user is
responsible as the manager or owner.
The way in which a user gets entitled to a given resource depends upon the type of
the resource:
The building of a user’s entitlement profile is done by applying entitlement rules to the
entitlement target objects specific to that user. If a given entitlement target object
matches the entitlement rules for a particular resource, then the user is regarded as
entitled to the resource and information about that resource appears in the entitlement
profile. The entitlement target object can be one of the following:
l The user’s account in Active Directory; this object is used to discover the personal
resources to which the user is entitled.
l An Active Directory group of which the user is a member; this object is used to
discover the shared resources to which the user is entitled.
l An Active Directory object for which the user is assigned as the manager or owner;
this object is used to discover the managed resources to which the user is entitled.
Active Roles stores the entitlement rules in configuration objects called entitlement profile
specifiers. These objects are essential to the process of building and presenting the
entitlement profile.
l Entitlement Type Specifies a way in which a user gets entitled to the resource.
l Entitlement Rules Provide a way to determine whether a given user is entitled to
the resource.
l Resource Display Specifies how to represent the resource in the entitlement
profile.
Entitlement type
The entitlement type setting is basically intended to determine the entitlement target
object—the object to which Active Roles applies the entitlement rules when building the
Personal resource The user’s account has certain resource-specific The user’s
entitlement attributes set in the directory. account
Shared resource The user’s account belongs to a certain security The user’s group
entitlement group in Active Directory.
Managed resource The user’s account is specified as the primary The object
entitlement owner (manager) or a secondary owner of a managed or
certain object in the directory. owned by the
user
Entitlement rules
When building a user’s entitlement profile, Active Roles uses a specifier’s entitlement rules
to tell whether the user is entitled to the resource represented by that specifier. The rules
are evaluated against the entitlement target object. If the object matches the rules, then
Active Roles regards the user as entitled to the resource, and adds information about the
resource to the user’s entitlement profile.
Entitlement rules can be classified by rule condition as follows:
For details on how Active Roles applies entitlement rules, see About entitlement profile
build process later in this document.
Resource display
For each resource that is to be included in the entitlement profile, Active Roles applies
entitlement rules to single out the appropriate specifier and then it uses the resource
display settings of that specifier to build the entitlement profile’s section that displays
information about the resource.
The resource display settings include the following:
l Resource type icon Graphics that helps distinguish the type of the resource in the
entitlement profile.
l Resource type name Text string that identifies the type of the resource in the
entitlement profile.
l Resource naming attribute Entitlement target object’s attribute whose value is
used to identify the resource in the entitlement profile.
l Other resource-related attributes List of the entitlement target object’s
attributes whose values are to be displayed in the entitlement profile.
The entitlement profile’s section for a given resource is divided into two areas:
l Heading Displays the resource type icon, resource type name, and value of the
resource naming attribute.
l Details Lists the names and values of the resource-related attributes.
The Details area can be customized by adding HTML code to a certain attribute of the user
account for which the entitlement profile is being built. The LDAP display name of that
attribute should be supplied in the edsaHTMLDetailsAttribute of the entitlement profile
specifier. As a result, Active Roles renders that HTML code instead of displaying the
attributes list in the Details area.
1. Prepare a list of the user’s groups, that is, a list of the security groups to which the
user belongs whether directly or because of group nesting.
2. Prepare a list of the user’s managed objects, that is, a list of the directory objects for
which the user is assigned as the primary owner (manager) or a secondary owner.
Entitlement rules play a central part in the process of building the entitlement profile. It is
the entitlement rules that determine whether Active Roles regards a given user as entitled
to a given resource, and thus adds information about that resource to the user’s
entitlement profile. When evaluating entitlement rules against a particular object, Active
Roles performs the following steps.
1. Apply the explicit exclusion rules. If the object is in the list of excluded objects, then
disregard the remaining rules, and mark the object as not matching the rules.
Otherwise, proceed to the next step.
2. Apply the explicit inclusion rules. If the object is in the list of included objects, then
disregard the remaining rules, and mark the object as matching the rules. Otherwise,
proceed to the next step.
3. Apply the filter-based exclusion rules. If the object satisfies the rule condition, then
disregard the remaining rules, and mark the object as not matching the rules.
Otherwise, proceed to the next step.
4. Apply the filter-based inclusion rules. If the object satisfies the rule condition, then
mark the object as matching the rules.
It may occur that the entitlement target object matches the entitlement rules of more than
one specifier. In this case, Active Roles needs to choose a single specifier from those
matching the entitlement target object. This is accomplished as follows:
Note that the specifiers that have edsaPriority not set take precedence over those for which
edsaPriority is set.
Once Active Roles has identified a single specifier for entitlement to a given resource, it
uses the resource display settings of the specifier to build a section of the entitlement
profile that displays information about the resource. If multiple resources match a
particular specifier, then the sections specific to those resources are grouped together in
an expandable block, to prevent the entitlement profile display from cluttering.
2. In the New Object - Entitlement Profile Specifier wizard, type a name and, optionally,
a description for the new specifier.
The name and description are used to identify the specifier object in the Active
Roles console.
3. Click Next.
4. Choose the desired type of entitlement:
l Select the User attributes option if the fact that a given user is entitled to the
resource stems from certain attribute settings of the user’s account in Active
Directory. For example, this is the type of entitlement to an Exchange mailbox
or to a home folder.
l Select the Group membership option if the fact that a given user is entitled
to the resource stems from membership of the user in a certain security group.
l Select the Manager or owner role assignment option if entitlement of a
given user to the resource means that the user is designated as the manager
(primary owner) or a secondary owner of a certain object.
5. Click Next.
6. Set up the Entitlement rules list.
In this step, you define the criteria that are used to determine whether a given user
is entitled to the resource. The entitlement rules take the form of conditions that the
entitlement target object must meet in order for the user to be regarded as entitled
to the resource, and thus for information about the resource to appear in the
entitlement profile of that user.
Active Roles evaluates the entitlement rules against the entitlement target object
when building a user’s entitlement profile. Depending on the entitlement type, the
entitlement target object is:
l In case of the User attributes entitlement type, the user account of the user whose
entitlement profile is being built. (This entitlement type is referred to as personal
resource entitlement.)
l In case of the Group membership entitlement type, any single group to which the
user belongs, whether directly or because of group nesting. (This entitlement type is
referred to as shared resource entitlement.)
7. You can define entitlement rules based on object properties, such as whether the
object has certain attributes set or whether the object is a security group. The
conditions take the form of LDAP filter based search criteria. With the “Include” rule
type, the user is regarded as entitled to the resource if the entitlement target object
l To add a rule based on the search criteria you specified, click Add Rule.
l To select specific objects, click Find Now, select check boxes in the list of search
results, and then click Add Selection.
7. Click Next.
8. View or change the icon that is used to distinguish the type of the resource in the
entitlement profile:
l View the icon in the area next to the Change button.
l To choose a different icon, click Change and then select the desired image file.
l To revert to the default icon, click Use Default Icon.
9. Type the name of the resource type to be displayed in the entitlement profile.
10. Click Select to choose the attribute of the entitlement target object whose value will
be used to name the resource in the entitlement profile.
The resource type icon, display name, and naming attribute are used to identify the
resource in the entitlement profile. If the evaluation of the entitlement rules for a
given user indicates that the user is entitled to the resource, then information about
the resource appears as a separate section in the entitlement profile of that user. The
heading of the section includes the resource type icon, the display name of the
Name Right-click the object and The name is used to identify the
click Rename. object, and must be unique among the
objects held in the same container.
Entitlement type Right-click the object, click The entitlement type specifies how the
Properties, click the user is entitled to the resource. You
tab, and then select the can choose whether the user is entitled
appropriate option. to the resource by means of:
Entitlement rules Right-click the object, click The entitlement rules are used to
Properties, click the determine whether a given user is
Rules tab, and then add, entitled to the resource. The
remove, or modify entitlement rules take the form of
entitlement rules by using conditions that the entitlement target
the buttons below the rules object must meet in order for the user
list. to be regarded as entitled to the
resource, and thus for information
about the resource to appear in the
entitlement profile of that user.
To add or change an entitlement rule,
click Include or Exclude depending
on the rule type you want, or click
View/Edit, and then use the
Configure Entitlement Rule dialog
box to specify rule conditions. You can
do this the same way you use the Find
dialog box to configure and run a
search. Note that you can change only
filter-based rules. If you select an
explicit inclusion or exclusion rule the
View/Edit button is unavailable. You
can use the Remove button to remove
a rule of any type.
For more information, see Step 6 in
Resource display Right-click the object, click The resource type icon, display name,
settings Properties, click the and naming attribute are used to
Display tab, and then identify the resource in the entitlement
view or change the icon profile. If the evaluation of the
and display name of the entitlement rules for a given user
resource type, and the indicates that the user is entitled to the
resource naming attribute. resource, then information about the
resource appears as a separate
section in the entitlement profile of
that user. The heading of the section
includes the resource type icon, the
display name of the resource type, and
the value of the naming attribute
retrieved from the entitlement target
object.
Resource Right-click the object, click The tab lists the attributes of the
attributes list Properties, click the entitlement target object that will be
Attributes tab, and then displayed in the entitlement profile,
add, remove, or change beneath the heading of the section that
the order of attributes by provides information about the
using the buttons below resource. For each of the listed
the attributes list. attributes, the section displays the
name and the value of the attribute
retrieved from the entitlement target
object.
Pre-defined specifiers
Active Roles comes with a collection of pre-defined specifiers that determine the default
resource profile configuration. The pre-defined specifiers are located in the
Configuration/Server Configuration/Entitlement Profile Specifiers/Builtin
container, and can be administered using the Active Roles console. You can make changes
to a pre-defined specifier (see Changing entitlement profile specifiers) or you can apply the
Disable command for the specifier to have no effect. Note that pre-defined specifiers
cannot be deleted.
The pre-defined specifiers have a lower priority than customer-created specifiers. This
means the entitlement rules of customer-created specifiers are evaluated first, so that if a
given entitlement target object matches the entitlement rules of both a pre-defined
specifier and a customer-created specifier, the latter specifier is applied. The priority of
specifiers is governed by the edsaPriority attribute setting (see About entitlement profile
build process).
of this specifier.
This specifier has
the lowest priority
as per the
edsaPriority
attribute setting,
so the entitlement
rules of any other
specifier of the
managed resource
entitlement type
are evaluated
prior to the rules
of this specifier.
l In the console, right-click the user and click Entitlement Profile. Alternatively,
click the Entitlement Profile button on the Managed Resources tab in the
Properties dialog box for the user account.
l In the Web Interface, click the user, and then choose Entitlement Profile from the
list of commands.
This opens the Entitlement Profile page that lists the user’s resources grouped in
expandable blocks by resource type. Each block may be a section that represents a single
resource, or it may comprise a number of sections each of which represents a single
resource. The grouping of sections occurs for resources of the same type. For example, the
security groups in which the user has membership may be grouped together in a single
block, with each group being represented by a separate section.
Initially, each block or section displays only a heading that includes the following items:
l Resource icon Graphics that helps distinguish the type of the resource.
l Resource type Text string that identifies the type of the resource.
l Resource name Text string that identifies the name of the resource, or indicates
that the block comprises multiple resource-specific sections.
Home Folder Path and name of l Path and name of home folder
home folder
l Drive letter assigned to home folder
Required" setting
l Group location (group’s "In Folder"
setting)
l Company
l Location ("In Folder" setting)
1. In the Active Roles console, right-click the container and click Delegate Control to
display the Active Roles Security window.
2. In the Active Roles Security window, click Add to start the Delegation of
Control wizard.
3. In the wizard, click Next.
4. On the Users or Groups page, click Add, and then select the desired users
or groups.
5. Click Next.
6. On the Access Templates page, expand the Active Directory | Advanced folder,
and then select the check box next to Users - View Entitlement Profile
(Extended Right).
7. Click Next and follow the instructions in the wizard, accepting the default settings.
Recycle Bin
1. In the console tree, right-click the Active Directory and click Find.
2. In the Find list, click Deleted Objects.
3. Do any of the following:
l In Name or Description, type the name or description, or part of the name or
description, of the object to find.
When searching by name, Active Roles uses ambiguous name resolution (ANR)
to find objects with not only name but also some other properties matching the
string you type in the Name box. The properties used for ANR include name,
first name, last name, display name, and logon name.
l Click the button next to the Deleted from box and select the object that was
the parent of the deleted object you want to find.
By using the Deleted from search option you can find child objects that were
deleted from a particular container object.
l Use the Advanced tab to build a query based on other properties of the
deleted object to find. For instructions, see Steps for using advanced search
options and Steps for building a custom search earlier in this document.
When the search completes, the Find dialog box displays a list of deleted objects that
match the search criteria.
If you double-click an object in the list of search results, the property pages for that object
are displayed. If you right-click an object, the shortcut menu displays all the actions you
can perform on that object.
When the search completes, the list in the dialog box is limited to the deleted objects
whose name, first name, last name, display name, logon name, or any other property used
for ANR begins with the specified search string. To clear the search results and display all
the deleted objects, click the Clear Search button.
1. In the View or Restore Deleted Objects dialog box, click the deleted object and
then click the Restore button.
OR
In a list of search results prepared using the Deleted Objects search category, or in
a list of objects held in the Deleted Objects container, right-click the deleted object
and click Restore.
2. Review and, if necessary, change the settings in the Restore Object dialog box, and
then click OK to start the restore process.
The Restore Object dialog box prompts you to choose whether deleted child objects
(descendants) of the deleted object should also be restored. The Restore child objects
check box is selected by default, which ensures that the Restore command applied on a
deleted container object restores the entire contents of the container.
To clarify, consider an example in which an administrator accidentally deletes an
Organizational Unit (OU) called Sales_Department that contains a number of user accounts
for sales persons along with another OU called Admins that, in turn, contains a user
account for an administrative assistant. When applying the Restore command on the
Sales_Department OU, with the option to restore child objects, Active Roles performs the
following sequence of steps:
If you clear the Restore child objects check box, Active Roles performs only the first
step, so the restored Sales_Department OU is empty.
IMPORTANT: When restoring a deleted object, ensure that its parent object is not
deleted. You can identify the parent object by viewing properties of the deleted
object: the canonical name of the parent object, preceded with the "deleted from:"
label, is displayed beneath the name of the deleted object on the General tab in the
Properties dialog box. If the parent object is deleted, you need to restore it prior to
restoring its children because deleted objects must be restored to a live parent.
When applied to the Deleted Objects container, the Access Template gives the delegated
users the right to view and restore any deleted object. With the Access Template applied to
an Organizational Unit (OU) or a Managed Unit (MU), the delegated users are given the
right to view and restore only those deleted objects that were located in that OU or MU at
the time of deletion.
l The Active Directory node in the Active Roles console - The rules defined in this
way affect all deleted objects in any managed domain that has Recycle Bin enabled.
l The node representing a domain or the Deleted Objects container for that
domain in the Active Roles console - These rules affect all deleted objects in that
domain only.
l An Organizational Unit (OU) or Managed Unit (MU) that held the object at the time of
deletion. Although the deleted object no longer belongs to that OU or MU, Active
Roles considers the former location of the object so that the rules applied on that
location continue to affect the object after the deletion.
For example, an administrator could create a workflow to require approval for the
restoration of any user account that was deleted from a certain Organizational Unit (OU).
The workflow definition would contain an appropriate approval rule, and have that OU
specified as the target container in the workflow start conditions.
Policy rules are defined by configuring and applying Policy Objects.
For more information and instructions on configuring and applying Policy Objects, see
Applying Policy Objects earlier in this document.
Workflow rules are defined by configuring workflow definitions and specifying the
appropriate workflow start conditions.
3. Click Select Operation, select the Restore option, and then click Finish.
This will cause the workflow to start upon a request to restore a deleted object of the
type specified.
For more information about workflows, see the Workflows chapter earlier in this
document.
The override account you specify in Step 5 must, at a minimum, be a member of the
following groups in the AD LDS instance:
If you choose not to specify an override account, you should add the service account to
these groups.
To allow Active Roles full access to the AD LDS instance, add the service account or, if
specified, the override account to the following group:
If you add the account to the Administrators group, you don’t need to add it to the
Instances or Readers group.
Use the AD LDS ADSI Edit console to add the account to the appropriate groups prior to
registering the instance with Active Roles.
After an AD LDS instance is registered, you can view or change its registration settings by
using the Properties command on the object representing that instance in the Managed
AD LDS Instances (ADAM) container. Thus, you can make changes to the choices that
were made in Step 5 of the above procedure.
If you no longer want to manage an AD LDS instance with Active Roles, you can unregister
the instance by using the Delete command on the object representing that instance in the
Managed AD LDS Instances (ADAM) container. Unregistering an instance only removes
the registration information from Active Roles, without making any changes to the
directory data within that instance.
1. In the console tree under the console tree root, double-click the AD LDS
(ADAM) container.
2. In the console tree under AD LDS (ADAM), double-click a directory partition object
to view its top-level containers.
3. In the console tree, double-click a top-level container to view the next level of
objects in that container.
4. Do one of the following:
l To move down a directory tree branch, continue double-clicking the next
lowest container level in the console tree.
l To administer a directory object at the current directory level, right-click the
directory object in the details pane and use commands on the shortcut menu.
In the AD LDS (ADAM) container, each directory partition is identified by a label that is
composed of the name of the partition, the DNS name of the computer running the AD LDS
instance that hosts the partition, and the number of the LDAP port in use by the instance.
Normally, the console only displays the application directory partitions. To view the
configuration partition, switch into Raw view mode: select View | Mode, click Raw
Mode, and then click OK.
You can only perform the data management tasks to which you are assigned in Active
Roles. Thus, you are only shown the commands you are authorized to use and the objects
you are authorized to view or modify.
In addition to access control, Active Roles provides for policy enforcement on directory
data. Policies may restrict access to certain portions of directory objects, causing data
entry to be limited with choice constraints, auto-generating data without the ability to
modify the data, or requiring data entry. The console provides a visual indication of the
data entries that are controlled by policies: the labels of such data entries are underlined
on the dialog boxes so that the user can examine policy constraints by clicking a label.
1. In the console tree, under AD LDS (ADAM), right-click the container to which you
want to add the user, and then select New | User to start the wizard that will help
you perform the user creation task.
2. Follow the instructions on the wizard pages to set values for user properties.
3. If you want to set values for additional properties (those for which the wizard
pages do not provide data entries), click Edit Attributes on the completion page
of the wizard.
4. After setting any additional properties for the new user, click Finish on the
completion page of the wizard.
By default, an AD LDS user is enabled when the user is created. However, if you assign a
new AD LDS user an inappropriate password or leave the password blank, the newly
created AD LDS user account may be disabled. Thus, an AD LDS instance running on
Windows Server 2003 automatically enforces any local or domain password policies that
exist. If you create a new AD LDS user, and if you assign a password to that user that
does not meet the requirements of the password policy that is in effect, the newly
created user account will be disabled. Before you can enable the user account, you must
set a password for it that meets the password policy restrictions. The instructions on how
to set the password for an AD LDS user and how to enable an AD LDS user are given
later in this section.
1. In the console tree, under AD LDS (ADAM), right-click the container to which you
want to add the group, and then select New | Group to start the wizard that will help
you perform the group creation task.
2. Follow the instructions on the wizard pages to set values for group properties.
You can add both AD LDS users and Windows users to the AD LDS groups that you create.
For instructions, see the sub-section that follows.
When using the Select Objects dialog box to locate a security principal, you first need to
specify the AD LDS directory partition or Active Directory domain in which the security
principal resides: click Browse and select the appropriate partition or domain.
It is only possible to select security principals that reside in managed AD LDS instances or
Active Directory domains; that is, you can select security principals from only the instances
and domains that are registered with Active Roles.
1. In the console tree, under AD LDS (ADAM), locate and select the container that
holds the user account.
2. In the details pane, right-click the user account, and do one of the following to
change the status of the account:
l If the user account is enabled, click Disable Account.
l If the user account is disabled, click Enable Account.
If the AD LDS user whose account you want to disable is currently logged on to the AD LDS
instance, that user must log off for the new setting to take effect.
Normally, an AD LDS user is enabled when the user is created. However, if the password of
a new AD LDS user does not meet the requirements of the password policy that is in effect,
the newly created user account will be disabled. Before you can enable the user account,
you must set a password for it that meets the password policy restrictions. For
instructions, see the sub-section that follows.
1. In the console tree, under AD LDS (ADAM), locate and select the container that
holds the user account of the AD LDS user for whom you want to set or modify
the password.
2. In the details pane, right-click the user account, and then click Reset Password.
3. In the Reset Password dialog box, type a password for the user in New
password, and retype the password in Confirm password, or click the button next
to New password to generate a password.
4. Click OK to close the Reset Password dialog box.
The AD LDS user for whom you set or modify the password must use the new password the
next time that the user logs on to AD LDS.
By default, an AD LDS instance running on Windows Server 2003 or later automatically
enforces any local or domain password policies that exist. If you set a password for an AD
LDS user that does not meet the requirements of the password policy that is in effect,
Active Roles returns an error.
1. In the console tree under AD LDS (ADAM), right-click the container to which you
want to add the OU, and select New | Organizational Unit.
2. Type a name for the new OU, click Next, and then click Finish.
By default, OUs can only be added under OU (ou=), country/region (c=), organization (o=)
or domain-DNS (dc=) object classes. For example, you can add an OU to
o=Company,c=US but not to cn=Application,o=Company,c=US. However, the schema
definition of the OU object class can be modified to allow other superiors.
You can create new AD LDS users and groups in an AD LDS organizational unit by using the
New | User or New | Group command on that organizational unit, as discussed earlier in
this section.
You can move an existing AD LDS user or group to an organizational unit by using the
Move command on that user or group in the Active Roles console, or by using the drag-
and-drop feature of the console.
You can examine an existing proxy object by using the Properties command on that
object. The Properties dialog box allows you to view the user account that is represented
by the proxy object. However, due to a limitation of AD LDS, this setting cannot be changed
on an existing proxy object. You can select an Active Directory domain user account only at
the time that the proxy object is created. After a proxy object is created, this setting
cannot be modified.
When creating a proxy object, you can select a user account from any domain that is
registered with Active Roles, provided that the domain is trusted by the computer on which
the AD LDS instance is running.
A proxy object for a domain user cannot be created in an AD LDS directory partition
that already contains a foreign principal object (FPO) or a proxy object for that same
domain user.
For a given user account in Active Directory, you can view a list of proxy objects that
represent the user account in AD LDS: In the Properties dialog box for the user account,
go to the Object tab and click AD LDS Proxy Objects.
You can also configure membership rules of categories other than “Include by Query” in
order to include or exclude AD LDS objects from a Managed Unit. To do so, select the
appropriate category in the Membership Rule Type dialog box. Further steps for
configuring a membership rule are all about using either the Create Membership Rule
dialog box to set up a certain query or the Select Objects dialog box to locate and select a
certain object.
1. In the console tree, under AD LDS (ADAM), locate and select the container that
holds the object on which you want to view or modify the list of Access Templates.
2. In the details pane, right-click the object, and click Properties.
3. On the Administration tab in the Properties dialog box, click Security.
4. In the Active Roles Security dialog box, view the list of Access Templates that are
applied to the AD LDS object, or modify the list as follows:
l To apply an additional Access Template to the object, click Add and follow the
instructions in the Delegation of Control Wizard.
l To remove permissions specified by an Access Template on the object, select
the Access Template from the list and click Remove.
5. Click OK to close the Active Roles Security dialog box.
6. Click OK to close the Properties dialog box for the AD LDS object.
In the Delegation of Control Wizard, you can select the users or groups (Trustees) to give
permissions to, and select one or more Access Templates from the Access
Templates/AD LDS (ADAM) container to define the permissions. As a result, the
Trustees you select have the permissions that are defined by those Access Templates on
the AD LDS object. The Trustees can exercise the permissions only within Active Roles as
Active Roles does not stamp permission settings in AD LDS.
In the Active Roles Security dialog box, an Access Template can only be removed if it is
applied to the object you have selected (rather than to a container that holds the object).
To view the Access Templates that can be removed on the current selection, clear the
Show inherited check box.
Instead of removing an Access Template in the Active Roles Security dialog box, you
can select the Access Template and then click Disable in order to revoke the permissions
on the object that are defined by the Access Template. In this way, you can block the effect
of an Access Template regardless of whether the Access Template is applied to the object
itself or to a container that holds the object. You can undo this action by selecting the
Access Template and then clicking Enable.
1. In the console tree, under AD LDS (ADAM), locate and select the container that
holds the object on which you want to view or modify the list of Policy Objects.
2. In the details pane, right-click the object, and click Properties.
3. On the Administration tab in the Properties dialog box, click Policy.
4. In the Active Roles Policy dialog box, view the list of Policy Objects that have
effect on the AD LDS object, or modify the list as follows:
l To apply an additional Policy Object to the AD LDS object, click Add, select the
Policy Object to apply, and then click OK.
l To remove the effect of a Policy Object on the AD LDS object, select the Policy
Object from the list and click Remove. Alternatively, select the Blocked
check box next to the Policy Object name.
5. Click OK to close the Active Roles Policy dialog box.
6. Click OK to close the Properties dialog box for the AD LDS object.
In the Active Roles Policy dialog box, a Policy Object can only be removed if it is applied
to the AD LDS object you have selected (rather than to a container that holds the AD LDS
object). To view the Policy Objects that can be removed on the current selection, click
Advanced, and then clear the Show inherited check box.
Instead of removing a Policy Object in the Active Roles Policy dialog box, you can select
the Blocked check box in the list entry for that Policy Object in order to remove the effect
of the Policy Object on the AD LDS object. In this way, you can remove the effect of a
Policy Object regardless of whether the Policy Object is applied to the AD LDS object itself
or to a container that holds the object. If you block a Policy Object on a given AD LDS
object, the policy settings defined by that Policy Object no longer take effect on the AD LDS
object. You can undo this action by clearing the Blocked check box.
l The Online link displays information about the Starling product and the benefits you
can take advantage of by subscribing to Starling services.
l The Trouble Joining link displays the Starling support page with information on the
requirements and process for joining with Starling.
l Users must have acquired valid Starling Credentials, such as a Starling Organization
Admin account or a Collaborator account. For more information on Starling, see the
One Identity Starling User Guide.
l The computer running Active Roles must have TLS version 1.2 enabled. For more
information, see How to enable TLS 1.2 on clients in the Microsoft Core infrastructure
documentation.
l The computer running Active Roles must be able to connect directly to the web and
reach the following web addresses at a minimum:
l *.cloud.oneidentity.com
l *.cloud.oneidentity.eu
NOTE: Additional Microsoft URLs may be required depending on your Starling integ-
ration with Azure. For more information, see KB Article 229909 on the One Identity
Support Portal.
l The Active Roles Administration Service must be running on the computer where you
want to configure Starling.
l The Active Roles Administration Service must have a managed domain.
l You must disable IE Enhanced Security Configuration to allow the Starling Join
process to complete. Once the Starling Join process has completed, you can re-
enable this setting.
Follow the steps to disable IE Enhanced Security Configuration.
NOTE:
l If you have a Starling account, when a subscription is created for you,
you will receive a Starling invitation email. Click the link in the email and
log in to the Starling account.
l If you do not have a Starling account, when a subscription is created for
you, you will get a Starling Sign-up email to complete a registration
process to create a Starling account. Complete the registration and log in
using the credentials that you have provided during registration. For
account creation details, see the One Identity Starling User Guide.
The One Identity Starling dialog appears in Active Roles with a progress message
indicating the Starling joining progress. A join confirmation page appears with the
name of the Active Roles instance that will be joined to Starling.
After the operation is completed successfully, the Starling tab appears with Account
Joined success message.
Active Roles provides support to connect to Starling Connect to manage the user
provisioning and deprovisioning activities for the registered connectors. Using the Starling
Join feature in Active Roles, you can connect to One Identity Starling.
On joining to Starling, the registered connectors for the user are displayed if the Starling
Connect subscription exists. If the subscription does not exist, visit the Starling site for
Starling Connect subscription. The displayed connectors are available for provisioning or
deprovisioning of users or groups through Active Roles.
NOTE: Before you view the Starling Connect settings, Active Roles must be joined to
One Identity Starling.
1. On the Active Roles Configuration Center, in the left pane, click Starling.
2. On the Starling tab, click Join One Identity Starling to join Starling.
NOTE: For more information on extending the Active Roles provisioning and
account administration capabilities to your cloud applications, click Learn
More in the Starling tab.
1. On the Active Roles Configuration Center, in the left pane, click Starling.
2. Click Starling Connectors tab.
The options specific to the page are displayed. The available options are Connection
Settings, Visit Starling Connect Online, Refresh Connectors.
3. Click Connection settings to view the current settings.
The Connection Settings wizard displays the current Starling connect settings, such
as the Subscription ID, SCIM Client ID, Client secret, and token end point URL. The
settings are not editable and the values are populated when you join Starling.
4. Click Visit Starling Connect Online to connect to the Starling Connect portal.
The Starling Connect portal displays the registered connectors and enables you to
add or remove connectors.
NOTE: In case the connectors are not displayed on the Active Roles Starling
Connect page, you can view the registered connectors on the Starling Connect
portal.
5. Click Refresh Connectors, to view the latest connectors that are added or removed
from the Starling Connect portal.
IMPORTANT: Starling Connect policy have to be applied on the container for any SaaS
operations to take place.
SaaS operations for each connector may vary from each other. Each connector may
have a set of mandatory attributes to perform any operation.
The operation will fail in case any of the mandatory attributes are missing in the
particular request. The notification will report the information of all the mandatory
attributes missing in that event which caused the failure.
In that case, you must create the corresponding virtual attributes, customize the Web
Interface to enter the value for the virtual attribute during the specified operation.
Using this approach, the attribute value is passed as a part of the request.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the specific domain, Container or the Organizational Unit, and then select
the check box corresponding to the specific user, which you want to provision for
SaaS products.
4. In the Command pane, click Provision Object in SaaS Products.
The SaaS Products tab displays the list of registered Starling Connect connectors.
The Starling Connect connectors for which you can provision users are displayed with
selected check boxes.
5. Click Finish.
The user is provisioned on the selected connected systems as per the policy applied.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the specific domain, Container or the Organizational Unit, and then select the
check box corresponding to the specific user, which you want to deprovision for
SaaS products
4. Select the user, and in the Command pane, click Deprovision.
A message is displayed prompting you to confirm the account deprovision.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the specific domain, Container or the Organizational Unit, and then select the
check box corresponding to the specific user, which you want to undo deprovision for
SaaS products.
4. In in the Command pane, click UndoDeprovisioning.
The Password Options dialog box is displayed.
5. Select the option to Leave the Password unchanged or Reset the password,
and click OK.
IMPORTANT:
l You must enable Port 7465 (HTTP) TCP Inbound/Outbound and Port
7466 (HTTPS) TCP Inbound/Outbound for the notifications to work. For
more information, see Access to domain controllers.
l The Web Interface machine must be able to resolve Service machine name for
Notifications to work.
NOTE: The latest five notifications are sent only to the initiator of the operation.
NOTE: The notifications are sent to all the users who have joined Starling on
the Administration website.
4. Click Filter drop-down menu to filter the notifications based on time, connector
name , status, and keywords.
5. Select the required notifications and click Export to CSV from the Action
drop-down menu. Click Go. You can also delete a notification by selecting a
particular checkbox.
6. Point the mouse to the notification in the Message column to view a detailed
description. Expand the connector information available next to the connector check
box to view the detailed description. The description pane gives the link to Change
History of that particular object for more details. You can also copy the message in
case of a failure.
NOTE: By default, the time is set to 0 and the notifications do not expire. You
can update the time to the required limit in minutes.
NOTE: By default, the time is set to 0. You can update the time to the required
limit in minutes.
IMPORTANT: For notifications to work as expected, you must perform the following,
if you are using ActiveRoles website over HTTPS:
l Import a valid certificate into Trusted Root Certificate Authority in the machine
where ActiveRoles Service is installed.
l In the below command, substitute thumbprint of the newly added certificate to
CERT_HASH.
l In the below command, substitute a Unique GUID to APP_ID.
l Execute the command below in PowerShell command interface:
netsh http add sslcert ipport=0.0.0.0:7466 appid='{APP_ID}' certhash=<CERT_
HASH>.
displayName displayName
givenName givenName
familyName sn
middleName middleName
title title
password edsaPassword
streetAddress streetAddress
locality city
postalCode postalCode
region state
country c
active edsaAccountIsDisabled
userName edsvauserName
honorificPrefix initials
formattedName cn
emails proxyAddresses,mail
preferredLanguage preferredLanguage
description description
emailEncoding edsvaemailEncoding
alias edsvaalias
division division
company company
department department
homePage wWWHomePage
lastLogon lastLogon
accountExpires accountExpires
timezone edsvatimezone
entitlements edsvaentitlements
employeeNumber employeeNumber
userPermissionsMarketingUser edsvauserPermissionsMarketingUser
userPermissionsOfflineUser edsvauserPermissionsOfflineUser
userPermissionsAvantgoUser edsvauserPermissionsAvantgoUser
userPermissionsCallCenterAutoLogin edsvauserPermissionsCallCenterAutoLogin
userPermissionsMobileUser edsvauserPermissionsMobileUser
userPermissionsSFContentUser edsvauserPermissionsSFContentUser
userPermissionsKnowledgeUser edsvauserPermissionsKnowledgeUser
userPermissionsInteractionUser edsvauserPermissionsInteractionUser
userPermissionsSupportUser edsvauserPermissionsSupportUser
userPermissionsLiveAgentUser edsvauserPermissionsLiveAgentUser
locale localeID
phoneNumbers telephoneNumber,mobile,homePhone
manager manager
desiredDeliveryMediums edsvadesiredDeliveryMediums
nickname edsvanickname
displayName cn
members member
email mail
manager managedBy
The Exchange Resource Forest Management (ERFM) feature of Active Roles allows you to
automate mailbox provisioning for on-premises users in environments where the
mailboxes and the user accounts are managed in different Active Directory (AD) forests.
Such multi-forest environments are based on the resource forest model, and mailboxes
provisioned in such environments are called linked mailboxes.
Multi-forest AD deployments have higher administrative and support costs. However, they
offer the highest level of security isolation between AD objects and the Exchange service.
As such, One Identity recommends configuring the resource forest model for use with
Active Roles in organizations that:
AD deployments following the resource forest model use two types of AD forests:
l Account forests: These AD forests store the user objects. Organizations can use
one or more account forests in the resource forest model.
l Resource forest: This AD forest contains the Exchange server and stores the
mailboxes of the user objects.
For more details on ERFM, see Exchange Resource Forest Management in the Active Roles
Feature Guide.
Multi-forest deployment
Your organization must have at least two Active Directory (AD) forests:
The resource and account forests must identify each other as trusted domains (that is, they
must be in a two-way trust relation).
l For more information on forest trust in general, see One -way and two-way trusts in
the Microsoft documentation.
l For more information on how to set up a forest trust, see Create a Forest Trust in the
Microsoft documentation.
You must register the resource and account forests in Active Roles via the Active Roles
Console. For more information, see Registering the resource and account forests in
Active Roles.
You must apply the ERFM - Mailbox Management built-in policy (or a copy of it) on the
Organizational Unit (OU) whose users will use linked mailboxes. For more information, see
Applying the ERFM Mailbox Management policy to an OU.
Once the ERFM - Mailbox Management built-in policy is configured for an OU, Active
Roles synchronizes the properties of every managed master user account to the
corresponding shadow account with the ERFM - Mailbox Management built-in
scheduled task.
By default, the scheduled task runs on a daily basis, and normally, you do not need to
modify its settings. To change the default ERFM scheduling (for example, because of
organizational reasons), or run it manually so that you can immediately identify master
accounts in your OU, see Configuring the ERFM Mailbox Management scheduled task.
By default, the ERFM - Mailbox Management built-in policy saves shadow accounts in
the Users container of the resource forest. If your organization stores other users as well
in the Users container, then One Identity recommends changing the container for storing
the shadow accounts for clarity.
For more information, see Changing the location of the shadow accounts.
By default, ERFM synchronizes a pre-defined set of user and mailbox properties between
the master accounts and shadow accounts. If you need to modify and/or expand the default
set of synchronized properties (for example, because of organizational reasons), open and
update the applicable ERFM - Mailbox Management policy settings.
For the list of default synchronized properties and more information on changing
them, see Configuring the synchronized, back-synchronized or substituted properties
of linked mailboxes.
If you want to manage linked mailboxes with non-administrator users, you must assign
one or more of the following Exchange Access Templates (ATs) to them in the Active
Roles Console:
l Exchange - Manage Resource, Linked and Shared Mailboxes
l Exchange - Convert Linked Mailbox to User Mailbox
l Exchange - Convert User Mailbox to Linked Mailbox
l Exchange - Create Linked Mailboxes
l Exchange - Read ERFM Attributes
l Exchange - Recipients Full Control
TIP: To provide full control for a user to create, view, or change linked mailboxes in the
Exchange forest, assign the Exchange - Recipients Full Control AT to them.
For more information on how to apply ATs, see Applying Access Templates.
To register the forests, you must have access to administrator accounts with sufficient
rights in the account forest(s) and the resource forest.
l To register the account forest(s), you must use the Active Roles Administration
Service account.
l To register the resource forest, you must use a Microsoft Exchange administrator
account of the resource forest. Specifically, this Exchange administrator account
must have the following rights and permissions:
l It must be a member of the Account Operators domain security group.
l It must have read access to Exchange configuration data in the resource forest.
For more information on how to configure read access, see Permission to read
Exchange configuration data in the Active Roles Quick Start Guide.
l If your organization uses Microsoft Exchange 2013, the account must also be a
member of the Recipient Management role group in the resource forest, and
it must have the remote Exchange Management Shell enabled.
For more information on how to configure these permission settings, see
Access to Exchange Organizations and Support for remote Exchange
Management Shell in the Active Roles Quick Start Guide.
1. In the Active Roles Console, open the Add Managed Domain Wizard. To do so,
open the Active Roles main page by clicking the top Active Roles node, then click
Domains > Add Domain.
Figure 122: Active Roles Console – Add Domain setting in the main node
Figure 123: Add Managed Domain Wizard > Domain Selection – Specifying
an account forest
3. In the Active Roles Credentials step, under Access the domain using, select
The service account information the Administration Service uses to log on.
4. To apply your changes, click Finish.
Active Roles then establishes the connection to the configured forest, indicated with the
Domain information is being loaded message on the main page. Once Active Roles
connected to the domain, the Active Roles Console will indicate it with the Available for
management message.
TIP: To check the current domain connection status, use the click to update the
display link. The link is replaced with the Available for management feedback once Active
Roles finishes connecting to the forest.
1. In the Active Roles Console, open the Add Managed Domain Wizard. To do so,
open the Active Roles main page by clicking the top Active Roles node, then click
Domains > Add Domain.
2. In the Domain Selection step, either enter the domain name of the forest, or click
Browse to select it.
Figure 125: Add Managed Domain Wizard > Domain Selection – Specifying
the resource forest
Active Roles then establishes the connection to the configured forest, indicated with the
Domain information is being loaded message on the main page. Once Active Roles
connected to the domain, the Active Roles Console will indicate it with the Available for
management message.
TIP: To check the current domain connection status, use the click to update the
display link. The link is replaced with the Available for management feedback once Active
Roles finishes connecting to the forest.
Prerequisites
Before applying the ERFM - Mailbox Management policy to an OU in the Active Roles
Console, make sure that the account forest(s) and the resource forest are already
registered in Active Roles as managed domains.
For more information, see Registering the resource and account forests in Active Roles
1. In the Active Roles Console, in the Active Directory (AD) tree, navigate to
Configuration > Policies > Administration > Builtin.
2. To open the Scope tab of the ERFM - Mailbox Management policy, right-click
Built-in Policy - ERFM - Mailbox Management, then in the context menu, click
Policy Scope.
3. To enable linked mailboxes for an OU, in the Active Roles Policy Scope for Built-
in Policy window, select the OU to which you want to apply the policy. Click Add,
select the OU in the Select Objects window, click Add, then click OK.
TIP: If the Select Objects window lists no objects, use the Click here to display
objects link.
After the policy is applied, creating a new on-premises user in the OU with the Create
an Exchange Mailbox setting enabled will automatically result in the following
provisioning steps:
1. Active Roles creates the master user account of the user on the account forest.
2. Active Roles then creates the linked mailbox of the user in the Exchange server of the
resource forest, and a shadow user account connected to the master user account.
NOTE: Consider the following when using the ERFM - Mailbox Management policy:
l If you registered the forest root domain of the resource forest to Active Roles as a
managed domain, then Active Roles will create shadow accounts in that domain.
Otherwise, Active Roles creates shadow accounts in the domain that is listed first in
the ordered list of the resource forest managed domains.
l After the policy is configured, linked mailboxes will only be available for users in
the OU who were created after applying the policy, and for existing users with no
mailboxes. For more information on configuring a linked mailbox for existing
users, see Creating a linked mailbox for an existing user with no mailbox.
NOTE: The ERFM - Mailbox Management scheduled task affects only user accounts
whose OU is in the scope of the ERFM - Mailbox Management built-in policy, or a copy
of that policy.
1. In the Active Roles Console, in the Active Directory (AD) tree, navigate to
Configuration > Server Configuration > Scheduled Task > Builtin.
2. Right click the scheduled task ERFM - Mailbox Management, then click All
Tasks > Execute.
1. In the Active Roles Console, in the Active Directory (AD) tree, navigate to
Configuration > Server Configuration > Scheduled Task > Builtin.
2. Open the scheduling properties of the ERFM - Mailbox Management built-in
scheduled task. To do so, either:
l Double-click ERFM - Mailbox Management, then in the Properties window,
open the Schedule tab.
l Right-click ERFM - Mailbox Management, then click Properties >
Schedule.
3. To change the default scheduling settings of the task for your needs, modify the
options of the Schedule tab accordingly:
l Schedule Task: Specifies how frequently Active Roles runs the task (each
hour, every day, or on a weekly/monthly basis). By default, tasks are run on a
daily basis.
1. In the Active Roles Console, in the Active Directory (AD) tree, navigate to
Configuration > Policies > Administration > Builtin.
2. To open the Properties of the ERFM - Mailbox Management policy, in the list of
policies, double-click Built-in Policy - ERFM - Mailbox Management.
Alternatively, right-click the policy, then click Properties in the context menu.
3. To open the policy settings, in the Policies tab, click Policy Description > ERFM -
Mailbox Management.
4. Under Shadow Account, select This container, then Browse for the container
in the resource forest where you want to store the shadow accounts of the
linked mailboxes.
TIP: You can also modify the default shadow account description (This is a
shadow account).
Figure 133: Active Roles Console – Specifying the container for the
shadow accounts
1. In the Active Roles Console, in the Active Directory (AD) tree, navigate to
Configuration > Policies > Administration > Builtin.
2. To open the Properties of the ERFM - Mailbox Management policy, in the list of
policies, double-click Built-in Policy - ERFM - Mailbox Management.
Alternatively, right-click the policy, then click Properties in the context menu.
3. To open the policy settings, in the Policies tab, click Policy Description > ERFM -
Mailbox Management.
TIP: If you cannot find the property you are looking for, select Show all
possible properties to list all available properties.
l To remove a property (or properties) from the list, select the property (or
properties), click Remove, and confirm the removal.
l To apply your changes, click OK.
5. (Optional) To view or modify the list of back-synchronized properties, click
Back-synced.
l To add a new property to the list, click Add. Then, in the Select Object
Property window, select the property (or properties) you wish to add,
and click OK.
TIP: If you cannot find the property you are looking for, select Show all
possible properties to list all available properties.
l To remove a property (or properties) from the list, select the property (or
properties), click Remove, and confirm the removal.
l To apply your changes, click OK.
6. (Optional) To view or modify the list of substituted properties, click Substituted.
Prerequisites
Make sure that all mandatory requirements listed in Prerequisites of configuring linked
mailboxes have been performed in your organization. Otherwise, linked mailboxes will not
be available for your users.
1. In the Active Roles Web Interface, under Directory Management > Tree > Active
Directory, navigate to the OU for which ERFM is configured.
2. In the list of actions available for the selected OU, click New User.
3. In the General step, specify the following information as required by your
organization:
l Account options: Use these options to specify additional security settings for
the user (for example, to have them change the configured password during
their next login attempt, or have the configured password expire after some
time). If you want to enable the created user account later for increased
security (for example, because the new user joins later to your organization),
select Account is disabled.
5. In the Create Mailbox step, configure the following settings:
l Create an Exchange mailbox: Make sure that this setting is selected.
l Alias: Specify the Microsoft Exchange alias of the new mailbox. By default,
Active Roles generates the mailbox alias from the value specified for the
General > User logon name property of the user.
l Mailbox database: If all the mandatory prerequisites of this procedure are
met, Active Roles must indicate in this field the default mailbox database of the
Microsoft Exchange server deployed in the resource forest.
If this field does not point to the Exchange server of the resource forest for any
reason, click Browse and select the Exchange server of the resource forest.
6. (Optional) Retention policy: If your organization has any retention policies
configured for user mailboxes as part of its messaging records management (MRM)
strategy, apply them to the new mailbox by selecting this setting and clicking
Browse to select the appropriate policy or policies.
7. (Optional) Exchange ActiveSync mailbox policy: If your organization has any
Exchange ActiveSync mailbox policies configured for mobile devices, then apply
Active Roles then creates the new user with the following resources:
l A new master user account in the OU of the account forest you navigated to at the
beginning of this procedure.
l A new shadow account and a linked mailbox in the resource forest, either in the
default Users container or in the container you manually specified in Changing the
location of the shadow accounts.
Prerequisites
Make sure that all mandatory requirements listed in Prerequisites of configuring linked
mailboxes have been performed in your organization. Otherwise, linked mailboxes will not
be available for your users.
1. In the Active Roles Web Interface, under Directory Management > Tree > Active
Directory, navigate to the OU for which ERFM is configured.
2. Select the user account for which you want to configure the linked mailbox.
3. To start configuring the mailbox for the user, click New User Mailbox.
4. In the Mailbox Settings step, configure the following settings:
l Alias: Specify the Microsoft Exchange alias of the new mailbox. By default,
Active Roles generates the mailbox alias from the value specified for the
General > User logon name property of the user.
l Mailbox database: If all the mandatory prerequisites of this procedure are
met, Active Roles must indicate in this field the default mailbox database of the
Microsoft Exchange server deployed in the resource forest.
If this field does not point to the Exchange server of the resource forest for any
reason, click Browse and select the Exchange server of the resource forest.
l (Optional) Retention policy: If your organization has any retention policies
configured for user mailboxes as part of its messaging records management
(MRM) strategy, apply them to the new mailbox by selecting this setting and
clicking Browse to select the appropriate policy or policies.
l (Optional) Exchange ActiveSync mailbox policy: If your organization has
any Exchange ActiveSync mailbox policies configured for mobile devices, then
apply them to the new mailbox by selecting this setting and clicking Browse to
select the appropriate policy or policies.
l (Optional) Address book policy: If your organization has any address book
policies configured for global address list (GAL) segmentation, apply them to
the new mailbox by selecting this setting and clicking Browse to select the
appropriate policy or policies.
5. To apply your changes, click Finish.
Active Roles then creates a new shadow account and a linked mailbox in the resource
forest, either in the default Users container or in the container you manually specified in
Changing the location of the shadow accounts.
1. In the Active Roles Web Interface, under Directory Management > Tree > Active
Directory, navigate to the OU for which ERFM is configured.
2. Select the master user account whose Exchange properties you want to modify and
click Exchange Properties.
3. View or change the following mailbox settings as you need:
l (Optional) General: View and configure the general email settings, for
example the First name, Last name, or User logon name.
l (Optional) E-mail Addresses: View and configure email addresses for the
selected user.
l (Optional) Mailbox Features: View and configure various Exchange mailbox
features for the user, for example, mobile device synchronization features,
After you save your changes, Active Roles applies the modifications on the shadow user
account associated with the master user account.
TIP: To verify if your changes have already been synchronized, in the Active Roles Web
Interface, under Directory Management > Tree > Active Directory, navigate to the
resource forest, select the shadow account associated with the master account you
modified, and click Change History.
1. In the Active Roles Web Interface, under Directory Management > Tree > Active
Directory, navigate to the OU for which ERFM is configured.
2. In the container of your users, select the user you want to assign as a group
manager.
3. To view the general Exchange settings of the user, click Exchange Properties >
Shadow Account > Properties.
4. Open the General Properties > Account tab, and take note of the User logon
name (pre-Windows 2000) value of the shadow account. You will need to specify
this user logon name for the group later in this procedure.
5. In the Active Roles Web Interface, under Directory Management > Tree > Active
Directory, navigate to your resource forest containing the Exchange server and the
shadow accounts.
6. Select the group whose management settings you want to configure. Then, to open
the group management settings, click General Properties > Managed by.
Figure 143: Active Roles Web Interface – Opening the group management
settings of a group via General Properties > Managed by
NOTE: The master account of the specified user will receive the configured group admin-
istration permissions during the next run of the ERFM - Mailbox Management
scheduled task. To make sure that the group management permissions of the shadow
account are immediately synchronized to its master account, run the scheduled task
manually. For more information, see Configuring the ERFM Mailbox Management
scheduled task.
1. In the Active Roles Web Interface, under Directory Management > Tree > Active
Directory, navigate to your resource forest containing the Exchange server and the
shadow accounts.
2. In the container of your users, select the user whose mailbox you want to convert.
3. To start the mailbox conversion, in the list of actions available for the selected
mailbox, click Convert to Linked Mailbox.
4. Under Linked master account, click Change and select the user in the account
forest whose mailbox you are converting. To do so, specify the account forest in the
Search in field, then enter the name of the user in the Search field. Once the
Select Object window lists the user, select it and click OK.
5. To apply your changes, click Finish.
1. The former master user account in the account forest becomes an external user, and
can no longer access the mailbox.
2. The former shadow account becomes the new user account associated with the
mailbox in the resource forest.
1. In the Active Roles Web Interface, under Directory Management > Tree > Active
Directory, navigate to your resource forest containing the Exchange server and the
shadow accounts.
2. In the container of your users, select the user whose mailbox you want to convert.
3. To start the mailbox conversion, in the list of actions available for the selected
mailbox, click Convert to User Mailbox.
4. To apply your changes, click OK.
5. Following the mailbox conversion, the user mailbox will be in a disabled state.
To enable it, in the list of actions available for the selected mailbox, click
Enable Account.
6. After the account is enabled, you must also reset the account password. To do so, in
the list of actions available for the selected mailbox, click Reset Password.
7. In the Reset Password window, configure the following settings:
l Password and Confirm password: The initial password of the user and the
corresponding password confirmation field. You can specify the password
either manually, or Generate one with Active Roles that follows the password
policy requirements of your organization.
To clear the specified password, click Clear. To spell out each character of the
password for clarification, click Spell out.
l Disables the user account, and resets the user password to a random value.
l Removes the user from all assigned security and distribution groups.
l Disables the linked mailbox.
l Disables the home folder of the user.
Optionally, deprovisioning also lets you relocate deprovisioned users to a specific folder,
and even schedule them for deletion after some time.
One Identity typically recommends deprovisioning users instead of deleting them and their
mailboxes, if the user is affected by an organizational change, suspension, or longer
Prerequisites
To deprovision users with linked mailboxes configured via ERFM, make sure that the
mailbox deprovisioning policies of your organization (for example, the built-in Exchange
Mailbox Deprovisioning policy) are applied to the container that holds the shadow
accounts in the resource forest, instead of the container of the master user accounts in the
account forest. By default, the deprovisioning workflow runs the following built-in policies
for users with linked mailboxes:
1. In the Active Roles Web Interface, under Directory Management > Tree > Active
Directory, navigate to the OU for which ERFM is configured.
2. Select the master user account that you want to deprovision, and in the list of
available actions, click Deprovision.
3. To confirm deprovisioning, click OK.
Active Roles then performs deprovisioning of the master user account and its associated
shadow account. After the process is completed, it displays the operation summary of
deprovisioning.
TIP: To verify that Active Roles also deprovisioned the shadow account, in the Active
Roles Web Interface, navigate to the user container of your shadow accounts in the
Directory Management > Tree > Active Directory node of the resource forest,
select the shadow account, and from the list of actions available for the shadow account,
click Deprovisioning Results.
Prerequisites
Active Roles can perform the Undo Deprovisioning action on the shadow account of a re-
provisioned master account only if the Active Directory (AD) container holding the
deprovisioned master accounts is in the scope of the Built-in Policy - ERFM - Mailbox
Management policy, or a copy of that policy.
Therefore, if the deprovisioning workflow of your organization moves deprovisioned
master accounts to a container separate from provisioned master accounts, make sure that
the Built-in Policy - ERFM - Mailbox Management policy is also applied to the
container where the deprovisioned master accounts are stored. For more information on
configuring the policy, see Applying the ERFM Mailbox Management policy to an OU.
1. In the Active Roles Web Interface, under Directory Management > Tree > Active
Directory, navigate to the OU for which ERFM is configured.
2. Select the deprovisioned master user account for which you want to undo
deprovisioning. Then, in the list of available actions, click Undo Deprovisioning.
3. To confirm the restoration of the user account, click OK.
4. In the Password Options dialog, configure the password settings of the
restored user:
l Leave the password unchanged: The user account will be re-provisioned
with its original password. Select this option if the user password will be reset
by an organizational workflow outside the scope of Active Roles (for example
by helpdesk, or another password management solution).
l Reset the password: Select this option to immediately change the password
of the re-provisioned user in Active Roles, either by specifying a new password
Figure 148: Active Roles Web Interface – Spelling out the characters
of the generated or specified password
Active Roles then re-provisions the master user account, the shadow user account and the
linked mailbox.
1. In the Active Roles Web Interface, under Directory Management > Tree > Active
Directory, navigate to the OU for which ERFM is configured.
Active Roles then deletes the master account in the account forest, then disables the linked
mailbox of the associated shadow account in the resource forest.
Active Roles supports remote mailboxes, that is, managing cloud-only Exchange Online
mailboxes assigned to on-premises users. Configuring cloud mailboxes for on-premises
users allows your organization to store user mailboxes and mailbox data in the Exchange
Online cloud, even if the user accounts in your organization are not hybrid or cloud-only
user accounts.
By configuring remote mailboxes for your on-premises users, you can:
To assign a remote mailbox for an on-premises user, you must set the user to a mail-
enabled state, then assign a cloud email address to them in the Active Roles Console.
NOTE: Alternatively, Active Roles supports configuring remote mailboxes for existing on-
premises users by converting them to hybrid users. After the conversion, you can
configure and manage the remote mailbox settings of the new hybrid users either via the
Active Roles Console or in the Active Roles Web Interface.
To assign a remote mailbox to an on-premises user, make sure that the following
conditions are met.
l Your organization must have an on-premises Exchange server deployed in the same
forest or domain where you want to configure remote mailboxes for on-premises
users. The Exchange server will indicate later for Active Roles that the affected users
have remote mailboxes.
l The on-premises user must already exist, and it cannot have a mailbox.
l The Exchange Online mailbox that you will assign to the on-premises user must
already exist. To create a new cloud mailbox, use any of the following:
l The Azure Portal.
l The Recipients > Mailboxes menu of the Exchange Online Admin Center.
l The New-Mailbox Windows PowerShell command.
CAUTION: After the cloud mailbox is created, it will enter into a 30-
day grace period. To prevent deleting the remote mailbox after this
period, you must assign an Exchange Online (Plan 2) license to it.
To assign an Exchange Online license to the cloud mailbox, in the
Microsoft 365 Admin Center, select the user, then navigate to
Manage product licenses.
l Note down the value of the Microsoft Online Services ID (that is, the
MicrosoftOnlineServicesID attribute) of the remote mailbox. You will need to specify
the value of this attribute to connect the on-premises user with the remote mailbox.
You can check the value of the attribute either in the Microsoft 365 Admin Center, or
via the Get-User PowerShell command.
TIP: If the remote mailbox has multiple aliases configured, the
MicrosoftOnlineServicesID attribute always takes the value of the primary email
address and user name.
1. Open the Advanced Properties of the on-premises user for which you want to
assign the remote mailbox. In the Active Roles Console, in the Active Directory (AD)
tree, navigate to the Organizational Unit (OU) where the user is located, double-click
the user, then in the Properties window, click Object > Advanced Properties.
1. Open the Advanced Properties of the on-premises user to which you assigned the
remote mailbox. In the Active Roles Console, in the Active Directory (AD) tree,
navigate to the Organizational Unit (OU) where the user is located, double-click the
user, then in the Properties window, click Object > Advanced Properties.
To verify with the Exchange mailbox GUID whether Active Roles assigned the
remote mailbox
1. Open Windows PowerShell, and connect to Exchange Online with the following
command:
Connect-ExchangeOnline
2. In the Microsoft login popup that appears, log in with the Azure AD administrator
account associated with the Azure tenant that stores the remote mailbox.
3. After logging in, in Windows PowerShell, fetch the identity information of the remote
mailbox with the following command:
To verify with the RecipientType attribute of the user whether Active Roles
assigned the remote mailbox
1. On the on-premises Microsoft Exchange server that stores the mailbox data of the
user, open Windows PowerShell and run the following command:
Get-User '<user-name>'
TIP: If Active Roles could not assign the remote mailbox to the on-premises user within
the expected time frame, perform the following troubleshooting steps:
1. In the Active Roles Web Interface, under Directory Management > Tree > Active
Directory, navigate to Azure > <azure-tenant-name> > Azure Users.
NOTE: <azure-tenant-name> is the Azure tenant storing the remote mailbox.
2. Select the Azure user entry of the remote mailbox you want to view or modify, then
click Exchange Online Properties.
3. In the available Exchange Online Properties tabs, configure the Exchange Online
mailbox settings as you need.
Table 96: Available Exchange Online properties
Page Description
View and configure rules for the emails that the mailbox sends
Mail Flow Settings
or receives via the Exchange Online service.
Delegation Configure the email account as a shared mailbox.
View and configure the email addresses associated with the
General
mailbox.
View and configure various Exchange Online mailbox features,
Mailbox Features for example mobile access, additional mailbox protocols, or
archival settings.
View and configure Messaging Records Management (MRM)
Mailbox Settings
settings for the mailbox.
l Message size settings, specifying the size of the emails that the guest user can send
or receive.
l Email delivery and forwarding settings, allowing the guest user to send emails on
behalf of a specified group, or have their received emails automatically forwarded to
an additional specified address.
Such mail flow settings are typically configured if the organization enforces specific email
messaging policies for users and guest users.
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Users (or Azure Guest Users).
2. From the list in the middle pane, select the Azure user or Azure guest user that you
want to update.
3. To open the Exchange Online settings, click Exchange Online Properties.
4. To open the mail flow settings, click the Mail Flow Settings tab.
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Users (or Azure Guest Users).
2. From the list in the middle pane, select the Azure user or Azure guest user that you
want to update.
3. To open the Exchange Online settings, click Exchange Online Properties.
4. To open the delegation settings, click the Delegation tab.
5. To delegate Send as permission to a user (or users), click Add... under the
Send As list.
6. Select the user(s) you want to grant Send as rights for the email address,
then click OK.
7. To delegate Send as permission to a user (or users) click Add... under the Full
Access list.
8. Select the user(s) you wish to grant Full access rights for the email address,
then click OK.
9. To remove a delegated user either from the Send As or Full Access list, click
Remove and select the user(s) you want to revoke the permission from.
10. To apply your changes, click Save, then Close.
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Users (or Azure Guest Users).
2. From the list in the middle pane, select the Azure user or Azure guest user that you
want to update.
Figure 154: Exchange Online Properties > General — Accessing the email
account settings of an Exchange Online mailbox
6. From the E-mail address type list, select the email account type applicable to your
organization.
7. In the E-mail address text box, specify the address of the new account.
8. To apply your changes and create the new email account, click OK.
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Users (or Azure Guest Users).
2. From the list in the middle pane, select the Azure user or Azure guest user that you
want to update.
3. To open the Exchange Online settings, click Exchange Online Properties.
4. To open the email address settings, click the General tab.
5. To open the settings of an email address, select the email address, then click Edit....
6. In the E-mail address text box, modify the current email address.
NOTE: You cannot modify the E-mail address type of an existing email account.
You can only change the name of the existing address.
7. To apply your changes, click OK.
8. To close the Exchange Online Properties window, click Close.
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Users (or Azure Guest Users).
2. From the list in the middle pane, select the Azure user or Azure guest user that you
want to update.
3. To open the Exchange Online settings, click Exchange Online Properties.
4. To open the email address settings, click the General tab.
5. In the E-mail addresses list, select the address you want to remove.
6. Click Remove and confirm the deletion of the email address.
7. To close the Exchange Online Properties window, click Close.
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Users (or Azure Guest Users).
2. From the list in the middle pane, select the Azure user or Azure guest user that you
want to update.
3. To open the Exchange Online settings, click Exchange Online Properties.
4. To open the mailbox feature settings, click the Mailbox Features tab.
5. Select the Exchange Online mailbox feature that you want to enable or disable:
l Outlook Mobile Access: Enables or disables the Outlook Mobile Access
(OMA) mobile browsing service for the mailbox. Enabling this settings allows
the mailbox user use OMA on their mobile device to access their account.
l Exchange ActiveSync: Enables or disables the Exchange ActiveSync
synchronization protocol for the mailbox. Enabling this setting allows the
mailbox user synchronize their configured mobile device with their mailbox.
l Up-to-Date Notifications: Enables or disables the Up-to-date (UTD) feature
notifications for the mailbox.
l Outlook Web App: Enables or disables access to the browser-based Outlook
Web App for the mailbox user.
l MAPI, IMAP4, POP3: Enables or disables support for the MAPI, IMAP4 or
POP3 protocols for the mailbox user. If MAPI is enabled, the mailbox user can
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Users (or Azure Guest Users).
2. From the list in the middle pane, select the Azure user or Azure guest user that you
want to update.
3. To open the Exchange Online settings, click Exchange Online Properties.
4. To open the MRM settings, click the Mailbox Settings tab.
1. In the Active Roles Web Interface, under Directory Management > Tree > Active
Directory, navigate to the OU of the on-premises user whose remote mailbox you
want to delete.
Figure 157: Active Roles Web Interface – Navigating to the OU of the user
1. In the Active Roles Web Interface, delete the current remote mailbox of the on-
premises user as described in the Deleting or changing the remote mailbox of an on-
premises user procedure.
2. Open the Advanced Properties of the on-premises user. In the Active Roles
Console, in the Active Directory (AD) tree, navigate to the Organizational Unit (OU)
where the user is located, double-click the user, then in the Properties window,
click Object > Advanced Properties.
3. Search for the edsvaMsExchEnableRemoteMailRoutingAddress property.
TIP: To find the property faster, enter its name (or part of its name) in the Look
for property field. If you cannot find the property, select Show all possible
attributes and Include attributes with empty values, too.
NOTE: Consider the following when administering Azure AD, Office 365 or Exchange
Online resources:
l The Active Roles Web Interface supports Azure AD-related operations only on Web
Interface sites based on the Administrators template.
l You can perform some of the procedures described in the following sections also in
the Active Roles Management Shell. However, in this document, they are all
described using the Active Roles Web Interface.
TIP: You can improve the performance of the Active Roles Web Interface by setting the
timespan of an Azure PowerShell memory cache to shorten the waiting time when using
any of the Azure and/or Exchange Online functions under the Azure node.
To set the timespan of the memory cache, modify the value of the following registry key:
HKEY_LOCAL_MACHINE\Software\One Identity\Active
Roles\Configuration\Service\AzurePowershellMemoryCacheTimeInSec
The default value is 30 seconds. Setting the value to 0 disables memory caching.
l Create an Office 365 user account associated with a given Active Directory
user account.
l Synchronize user properties from Active Directory user accounts to their associated
Office 365 user accounts.
l View or change the properties of the Office 365 user account associated with a given
Active Directory user account.
l Assign Office 365 licenses to the Office 365 user account associated with a given
Active Directory user account.
l Delete the Office 365 user account associated with a given Active Directory
user account.
l Create an Office 365 security group or distribution group associated with a given
Active Directory group.
l Synchronize group properties, including the members list, from Active Directory
groups to their associated Office 365 groups.
l View or change the properties of the Office 365 group associated with a given Active
Directory group.
l Delete the Office 365 group associated with a given Active Directory group.
l Create an Office 365 external contact associated with a given Active Directory
contact.
l Synchronize contact properties from Active Directory contacts to their associated
Office 365 external contacts.
l View or change the properties of the Office 365 external contact associated with a
given Active Directory contact.
l Delete the Office 365 external contact associated with a given Active Directory
contact.
l View Office 365 domain and license information.
l Create Office 365 users. When you create an Office 365 user, you can choose
whether to license that user for Exchange Online.
l Create security groups and distribution groups in Office 365. You can choose the type
of the Office 365 group that you want to create.
l Assign licenses to Office 365 users. When creating or administering a user, you can
choose the Office 365 licenses that you want to assign to that user.
l Restrict the licenses for Office 365 users. You can configure a policy to specify what
Office 365 licenses can be assigned depending on user location in Active Directory.
l View or change the Office 365 specific object properties. You can edit Office 365
users, groups and contacts.
l Configuring a new Azure tenant and consenting Active Roles as an Azure application
l Importing an Azure tenant and consenting Active Roles as an Azure application
l Viewing or modifying the Azure AD tenant type
l Removing an Azure AD tenant
l Delete an Azure AD Application
l View Azure Health for Azure AD tenants and applications
l View Azure Licenses Report
l If you perform an in-place upgrade of Active Roles (that is, you install the latest
version without uninstalling the previous version of Active Roles first in one of the
supported upgrade paths), you can reauthenticate the existing Azure tenants with
the Upgrade configuration wizard upon launching the Active Roles Configuration
Center after installation.
For more information on reauthenticating Azure tenants this way, see
Reconfiguring Azure tenants during upgrade configuration in the Active Roles 7.6
Quick Start Guide. For more information on the supported upgrade paths, see
Version upgrade compatibility chart in the Active Roles 7.6 Release Notes.
l If you install a new version of Active Roles to a machine that does not have any
earlier versions of the software installed (either because it has been already
uninstalled, or it has been installed on another machine), you can import your
existing Azure tenant(s) by importing your Azure AD configuration. Following the
import, you can reconsent your Azure tenants manually.
Prerequisites
The Active Roles Administration Service must be already running. If the service is not
running, then:
TIP: If the Active Roles Administration Service is not running, the Azure AD Config-
uration page indicates it with an on-screen warning.
To configure a new Azure tenant (or tenants) and set Active Roles as a
consented Azure application
1. In the Active Roles Configuration Center, on the left pane, click Azure AD
Configuration.
2. From the drop-down list, select the type of domain assigned to the new Azure
AD tenant:
l Non-Federated Domain: When selected, on-premises domains are not
registered in Azure AD, and Azure AD Connect is not configured. Azure
users and Azure guest users are typically created with the
onmicrosoft.com UPN suffix.
l Federated Domain: On-premises domains are registered in Azure AD and
Azure AD Connect. Also, Active Directory Federation Services (ADFS) is
configured. Azure users and Azure guest users are typically created with the
UPN suffix of the selected on-premises domain.
l Synchronized Identity Domain: On-premises domains may or may not be
registered in Azure AD. Azure AD Connect is configured. Azure users and Azure
l If you have not used any Azure AD administrator accounts yet on the PC
(for example, because you are configuring a fresh Active Roles
installation), specify your account user name in the Sign in field, then
NOTE: Do not specify an account that has already been used to add an Azure
tenant. You can only add a single Azure tenant with the same Azure AD account.
Specifying an administrator account that is already linked to an Azure tenant will
result in an error.
Upon successful authentication, the new Azure tenant appears in the list.
5. To manage the Azure tenant and its contents in the Active Roles Web Interface, you
must consent Active Roles as an Azure application. To do so, click Consent next to
the Azure tenant.
6. Authenticate your Azure AD administration account again. Depending on the type of
Microsoft pop-up that appears (Pick an account or Sign in), either select the Azure
AD account you used for adding the Azure tenant, or specify its user name and
password again.
NOTE: Make sure to specify the account used for adding the Azure tenant (that is,
the account name listed under the Name column of the Azure tenant). Authentic-
ating with another account will result in an error.
7. The standard Microsoft Permissions requested pop-up appears, listing all the
permissions required for configuring Active Roles as an Azure application. To finish
creating the Azure application, click Accept.
The current webpage is trying to open a site on your intranet. Do you want
to allow this?
In such cases, clicking either Yes or No could freeze the pop-up dialog, but
consenting the Azure tenant will finish without problem.
This issue can occur in case the computer running Active Roles has incorrect
browser settings. As a workaround, to get an up-to-date status of the state of the
Azure tenant, close and restart the Active Roles Configuration Center after clicking
Yes in the Security Warning pop-up.
TIP: Once the Azure tenant or tenants are configured, and Active Roles is also set as a
consented Azure AD application for it, you can view and modify the configured tenant(s)
and their settings at the following locations:
1. Stop the Active Roles Administration Service. To do so, in the Active Roles
Configuration Center, on the left pane, navigate to Administration Service and
click Stop.
2. Once the Active Roles Administration Service stopped, open the Import
configuration wizard by clicking Active Roles databases > Import
configuration.
4. Once the import procedure finished, start the Active Roles Administration Service by
clicking Start in the Administration Service page.
5. In the Active Roles Configuration Center, on the left pane, click Azure AD
Configuration.
The list of imported Azure tenants appears.
NOTE: Make sure to specify the account used for adding the Azure tenant (that is,
the account name listed under the Name column of the Azure tenant). Authentic-
ating with another account will result in an error.
8. To manage the Azure tenant and its contents in the Active Roles Web Interface, you
must consent Active Roles as an Azure application. To do so, click Consent next to
the Azure tenant.
In such cases, clicking either Yes or No could freeze the pop-up dialog, but
consenting the Azure tenant will finish without problem.
This issue can occur in case the computer running Active Roles has incorrect
browser settings. As a workaround, to get an up-to-date status of the state of the
Azure tenant, close and restart the Active Roles Configuration Center after clicking
Yes in the Security Warning pop-up.
11. To make the configured Azure tenant(s) appear in the Active Roles Web Interface,
you must restart the Administration Service, as indicated on the user interface. Click
Administration Service on the left pane, then either click Restart, or first click
Stop and then Start.
TIP: Once the Azure tenant or tenants are configured, and Active Roles is also set as a
consented Azure AD application for it, you can view and modify the configured tenant(s)
and their settings at the following locations:
1. In the Active Roles Configuration Center, on the left pane, click Azure AD
Configuration.
The list of existing Azure AD tenants appears.
2. Select the Azure AD tenant you want to view or modify, then click Modify.
The Tenant details window appears.
For the detailed procedure, see Configuring OneDrive for an Azure tenant.
NOTE: Once OneDrive is enabled, consider the following limitations:
l Active Roles supports creating OneDrive storage for new cloud-only and hybrid
Azure users only if OneDrive is preprovisioned in your organization. For more
information, see Pre-provision OneDrive for users in your organization in the
official Microsoft documentation.
l When creating new cloud-only Azure users with OneDrive storage in the Active
Roles Web Interface, make sure that the General > Allow user to sign in and
access services setting is selected. Otherwise, Active Roles will not provision and
create the OneDrive storage of the new Azure user. For more information on
creating a new cloud-only Azure user in the Active Roles Web Interface, see
Creating a new cloud-only Azure user.
l The OneDrive admin site URL and OneDrive storage default size (in GB)
settings of the Tenant details window are applicable to cloud-only Azure users
only, and do not affect OneDrive provisioning for hybrid users in your Azure tenant.
To configure the OneDrive admin site URL and the default OneDrive storage size for
hybrid users, you must set these settings in the Active Roles Console (also known
as the MMC Interface) by configuring an O365 and Azure Tenant Selection
policy for your Azure tenant, after configuring OneDrive in the Active Roles
Configuration Center. For more information, see Configuring an O365 and Azure
Tenant Selection policy.
If the Azure tenant for which you want to enable OneDrive has already been used in an
Active Roles version earlier than Active Roles 7.5, you must add the Sites.FullControl.All
SharePoint application permission manually for Active Roles in the Azure tenant. Failure of
doing so will result in an error in the Tenant Details window of the Active Roles
Configuration Center when testing the configured SharePoint credentials.
The list of available API permissions will appear on the right side of the screen under
Request API permissions.
2. In the list of available API permissions, click SharePoint.
3. Click Application permissions.
4. Under Select permissions > Sites, select Sites.FullControl.All and click Add
permissions.
Prerequisites
Before beginning the configuration, make sure that the selected Azure tenant meets the
requirements listed in Prerequisites of enabling OneDrive in an Azure tenant.
<AppPermissionRequests AllowAppOnlyPolicy="true">
<AppPermissionRequest Scope="http://sharepoint/content/tenant"
Right="FullControl" />
<AppPermissionRequest Scope="http://sharepoint/social/tenant"
Right="FullControl" />
</AppPermissionRequests>
10. To apply your changes and grant the application permissions, click Create.
11. In the Tenant details window of the Active Roles Configuration Center, configure
the following settings:
l SharePoint Application (Client) ID: Paste the client ID generated on the
SharePoint App-Only configuration site.
l SharePoint Client Secret: Paste the client secret generated on the
SharePoint App-Only configuration site.
l OneDrive admin site URL: Specify the URL of the SharePoint administration
site of your Azure tenant. The URL has the following syntax: <azure-tenant-
name>-admin.sharepoint.com
l OneDrive storage default size (in GB): Specify the default OneDrive
storage size allocated for each Azure user in the Azure tenant. This field
NOTE: When creating a new hybrid or cloud-only Azure user in the Active Roles Web
Interface after completing this procedure, make sure that you grant them the
SharePoint Online license in the Licenses step. Otherwise, the configured OneDrive
storage cannot be provisioned for the new Azure user. For more information, see
Creating a new cloud-only Azure user.
1. In the Active Roles Configuration Center, on the left pane, click Azure AD
Configuration.
The list of existing Azure tenants appears.
2. On the Azure AD Configuration page, from the list of Azure tenants, select the
tenant that you want to remove.
3. Click Remove.
4. Authenticate your Azure AD administrator account.
l If you already used one or more Azure AD administrator accounts on your PC,
select your account from the Pick an account list, then provide the account
password. If you do not find your account in the list, specify your account by
clicking Use another account.
NOTE: Make sure to specify the account used for adding the Azure tenant (that is,
the account name listed under the Name column of the Azure tenant). Authentic-
ating with another account will result in an error.
5. The Azure tenant and all the related domains and applications are then deleted upon
successful login.
6. To apply the changes, you must restart the Administration Service, as indicated on
the user interface. Click Administration Service on the left pane, then either click
7. (Optional) If you want to force the deletion of the Active Roles Azure application on
the Azure Portal for the removed Azure tenant, click Remove Azure Application
and log in with the credentials of the removed Azure tenant.
This is typically recommended as an extra housekeeping and security measure if the
removed Azure tenant has been previously managed either in earlier Active Roles
versions or on other machines as well, but the Azure tenant has not been removed
from those Active Roles installations prior to uninstalling them (leaving their client
secret intact on the Azure Portal).
8. To confirm removal, check if the removed Azure tenant has disappeared from the list
of Azure tenants in the Azure AD Configuration page of the Active Roles
Configuration Center, and from the Directory Management > Tree > Azure node
of the Active Roles Web Interface.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Azure | Azure Configuration |
Azure Health Check. Select the Tenant name from the Tenant list drop down for
which you want to view the Azure health status.
The health status for the following services and resources is displayed:
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Azure | Azure Configuration |
Azure Licenses Report. Select the Tenant name from the Tenant list drop down
for which you want to view the Azure License Report
The Azure Licenses Report wizard displays the list of Office 365 licenses available for
the Azure AD domain. For each license the following information is displayed:
l Valid – The total number of a specific license available for the Azure
AD domain.
l Expired – The number of licenses of a specific license type that are in renewal
period or have expired.
l Assigned – The number of licenses of a specific license type that have been
assigned to any users in the domain.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Azure | Azure Configuration |
Office 365 Roles Report. Select the Tenant name from the Tenant list drop down
for which you want to view the Office 365 roles report.
Description
Usage Recommendations
Parameters
l type (string): Specifies the object class of the directory object to be created (such
as User or Group). The cmdlet creates a directory object of the object class specified
with this parameter.
Required true
Position named
l name (string): Sets the name attribute to the value of this parameter on the new
object created by New-QADAzureConfigObject in the directory.
Required true
Position named
l AzureTenantId (string): Specifies the Azure AD tenant ID obtained from the default
tenant (created after subscribing to Microsoft Azure).
NOTE: The Azure AD ID value configured for this parameter must match the tenant
ID configured on the Azure AD side. Otherwise, attempts to create an Azure AD
application or manage Azure AD objects will fail.
Required true
Position named
Required false
Position named
l AzureAdminUserID: Specifies the administrative user name for Microsoft Azure AD.
NOTE: The administrative user must have the required privileges (for example,
License Administrator, User Administrator or Groups Administrator roles) to
perform license management or Azure user, guest user, and group management.
For more information on the available privileges and for an overview of the various
Azure and Azure AD administrative roles, see Azure AD built-in roles and Classic
subscription administrator roles, Azure roles, and Azure AD roles in the official
Microsoft documentation.
Required true
Position named
Required true
Position named
Required true
Position named
Examples
See the following use cases for examples on how to use this cmdlet.
To create a new Azure AD tenant with a specific user and then disconnect
2. Connect to the local Administration Service with a specific user of your choice:
C:\PS> disconnect-qadService
This cmdlet enables you to add an Azure AD application to the Azure AD tenant.
l type (string)
Use this parameter to specify the object class of the directory object to be created.
This is the name of a schema class object, such as User or Group. The cmdlet creates
a directory object of the object class specified by the value of this parameter.
Required true
Position named
l name (string)
Use this parameter to set the 'name' attribute to this parameter value on the new
object created by this cmdlet in the directory.
Required true
Position named
l AzureTenantId (string)
Use this parameter to enter the Azure AD tenant ID obtained from the default tenant
created after subscribing for Microsoft Azure.
NOTE: The values entered for configuring Azure AD tenant must exactly match the
values configured for Azure AD, else Azure AD application creation and manage-
ment of Azure AD objects fail.
Required true
Position named
l Displayname (string)
Use this parameter to specify the 'displayName' attribute to this parameter value.
Required false
Position named
l AzureAppPermissions
Use this parameter to specify the permission scope for applications for Azure AD.
Required true
Position named
l AzureApplicationDescription
Use this parameter to specify the description of the Azure AD application.
Required false
Position named
Example
Connect to any available domain controller with the credentials of the locally logged on
user, and create a new Azure AD application:
C:\PS> New-QADAzureConfigObject -type 'AzureApplication' -name
'AzureApplication' -DisplayName 'ApplicationDisplayName' -AzureTenantId
'AzureTenantGUID' -AzureAppPermissions 'ApplicationPermission'
Example
Connect to the local Administration Service with the credentials of a specific user, create a
new Azure AD tenant and then disconnect:
C:\PS> $pw = read-host "Enter password" -AsSecureString
C:\PS> connect-qadService -service 'localhost' -proxy -ConnectionAccount
'company\administrator' -ConnectionPassword $pw
C:\PS> New-QADAzureConfigObject -type 'AzureApplication' -name
'AzureApplication' -DisplayName 'ApplicationDisplayName' -AzureTenantId
'AzureTenantGUID' -AzureAppPermissions 'ApplicationPermission'
C:\PS> disconnect-qadService
NOTE:
For more information on Azure custom policies, see Changes to Azure O365 Policies in
Active Roles after 7.4.1.
NOTE: The new provisioning policy settings will be applied automatically only to
objects created after configuring the Azure - Default Rules to Generate Proper-
ties policy object.
To create cloud Azure users for existing on-premises users, you must configure the cloud
Azure users manually for each existing on-premises user on the Active Roles Web
Interface. To do so:
1. Navigate to the folder of the hybrid users of the OU under Directory Manage-
ment > Tree > Active Directory > <your-AD-folder> > <your-OU-folder>.
2. Select the on-premises user for which you want to create a cloud Azure user.
3. To open the New Azure User dialog, on the right pane, click Create Azure
User. For more information on the steps of creating a new cloud Azure user, see
Creating a new cloud-only Azure user.
l The hybrid environment must have Azure AD Connect installed and configured.
l The user account used to perform back sync configuration must have the following
privileges:
l User Administrator
l Privileged Role Administrator
l The hybrid environment must have Azure AD Connect installed and configured.
l Synchronization Service Component must be installed and configured for Active
Roles.
l Azure AD configuration and the Administrator Consent for Azure AD application
through web interface must be complete.
l Azure AD built-in policy must be enforced for the container where the back-
synchronization is performed.
l For the back-synchronization to work as expected, the user in ARS must have write
permissions for edsvaAzureOffice365Enabled, edsaAzureContactObjectId,
edsvaAzureObjectID, and edsvaAzureAssociatedTenantId. The user must also have a
local administrator privileges where the ARS synchronization service is running.
Create a connection to Azure AD using the Azure AD Connector. The configuration requires
the Azure domain name, the Client ID of an application in Azure AD, and the Client Key to
establish the connection with Azure AD.
To configure an application:
1. Create an Azure Web application (or use any relevant existing Azure Web
Application) under the tenant of your Windows Azure Active Directory environment.
The application must have "Application Permissions" to "read" and "write" directory
data in Windows Azure Active Directory.
l Client ID
l Valid key of the application
3. You need to supply the copied client ID and key when creating a new or modifying an
existing connection to Windows Azure Active Directory in the Synchronization Service
Administration Console.
NOTE: The Web Application that is created or is already available for Sync Service
Azure AD Connector, is different from the application that is created while configuring
Azure AD using Active Roles Web interface. Both the applications must be available
for performing back-sync operations.
Create a connection to Active Roles using the Active Roles Connector. The configuration
requires the local domain details and Active Roles version used. Define the scope to select
the container from which the objects for synchronization must be selected.
Create a Sync Workflow using the Azure AD and Active Roles connections. Add a
Synchronization step to Update Azure User/Group to Active Roles User/Group.
Set the edsvaAzureAssociatedTenantId attribute in Active Roles user/group to azure
tenant id. If edsvaAzureAssociatedTenantId attribute is not configured , an error is
logged in the event viewer for each object.
Configure the Forward Sync Rule to synchronize the following:
Create a Mapping Rule which identifies the user/group in Azure AD and on-premises AD
uniquely and map the specified properties from Azure AD to Active Roles appropriately.
For example, the property userprincipalname can be used to map users between on-
premises AD and Azure AD in a federated environment.
l Based on the environment, make sure to create the correct Mapping rule to
identify the user or group uniquely. In-correct mapping rule may create
duplicate objects and the back-sync operation may not work as expected.
l Initial configuration and execution of back-sync operation for Azure AD users
ID is a one-time activity.
l In Federated or Synchronized environments, Azure AD group creation is not
supported. The group is created in Active Roles and is synchronized eventually
to Azure using Microsoft Native tools, such as AAD Connect. To manage the
Azure AD group through Active Roles, you must perform periodic back-
synchronization to on-premise AD.
l Sync engine must be configured to synchronize the data back to AD based on
the frequency of groups creation.
l Based on the environment, make sure to create the correct Mapping rule to identify
the contacts uniquely. In-correct mapping rule may create duplicate objects and
the back-sync operation may not work as expected.
l In Federated or Synchronized environments, Office 365 contact creation is not
supported. The contact is created in Active Roles and is synchronized eventu-
ally to Office 365 using Microsoft Native tools, such as AAD Connect. To
manage the Office 365 contact through Active Roles, you must perform periodic
back-synchronization to on-premise AD.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the domain in which you need to create a new user.
4. In the list of objects displayed, click the required Container or the
Organizational Unit.
5. In the Command pane, click New User.
6. In the New User in <OU name> | General wizard, enter the user details such as
First Name, Last Name, Initials, and User logon name.
7. Click Next.
8. In the Account properties wizard, click Generate to generate a password for the
Account, select the required Account options and then click Next.
Alternatively, you can set the password manually and re-enter in the Confirm
Password field to confirm the entered password.
9. In the Create Azure Account wizard, select the option Create Azure Account.
The Azure AD account details for the new user are generated automatically and
populated in the respective fields.
NOTE: The Temporary Password field is populated with the default password
set for the Active Roles user. You can re-set the password for the Azure AD
account if required.
10. Select the Tenant name from the Tenant list drop down. From the User Principal
Name drop-down list, select the AD domain to which you want to associate the
Azure AD user.
11. In the Usage Location field, enter the two-letter location code of the location where
the product will be used.
NOTE: The Usage Location field is a mandatory field. The licenses cannot be
assigned to the product if the product usage location information is not available.
The local rules and regulations for usage of the product and services may vary
based on the location.
12. Click Next.
The Licenses wizard displays the Office 365 licenses, for example the Office 365
Business Essentials and Business Premium licenses, and the number of licenses that
are available to assign to the user.
13. Select the check boxes corresponding to the license that needs to be assigned to the
user, and click Next.
The O365 Roles wizard displays the Office 365 roles, for example the
Helpdesk Administrator, Directory Readers, and more.
14. Select the check boxes corresponding to the Office 365 roles that need to be assigned
to the user, and click Finish.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Tree tab in the Browse pane, click Active Directory | <Domain>
|<Organizational Unit>.
The list of existing AD users are displayed.
3. Select the check box corresponding to the specific Azure AD user for which, you want
to view or modify the Azure properties.
4. In the Command pane, click Azure Properties.
The Azure Properties wizard for the Azure AD user is displayed.
5. Use the fields in the Azure Properties wizard to view or modify the properties of
the Azure AD user.
6. After setting all the required properties, click Save.
The modified settings can be viewed on the Azure Portal.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the specific domain, Container or the Organizational Unit, and then select the
check box corresponding to the specific user for which you want to view or update
the Manager information.
5. Navigate to the Managed by tab, and in the Manager field, click Change.
6. Use the Select Objects dialog box, to locate and select the Manger to assign to the
user and click OK.
The newly added Manager name is displayed in the Manager field.
7. Click Save.
The Manager ID field in the Azure Properties wizard for the user is populated
with the new Manager information.
NOTE: To verify the changes in Microsoft Azure, go to the Azure Portal and view
the Manger ID information for the specific user in the Work Info tab.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the specific domain, Container or the Organizational Unit, and then the specific
user to be disabled.
4. In the Command pane, click Disable.
The account is disabled and marked with a disabled icon.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Select the user, and in the Command pane, click Undo Deprovisioning.
The Password Options dialog box is displayed.
4. Select the option to Leave the Password unchanged or Reset the password,
and click OK.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the specific domain, Container or the Organizational Unit, and then the specific
user that you want to add to a group.
4. Select the check-box corresponding to the user and in the Command pane
click Member Of.
5. In the <User> (objects found) wizard, click Add to add the user to another group.
6. In the Select Object wizard, search and select the group to which you want to
add the user.
7. In details pane, right-click the user, and then click Add to a Group.
The <User> (objects found) wizard displays all the groups to which the account
has been added as a member.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the specific domain, Container or the Organizational Unit, and then the specific
user that you want to add to a group.
4. Select the check-box corresponding to the user and in the Command pane
click Member Of.
The existing Group information for the user is displayed.
5. In the <User> (objects found) wizard, select the group from which you want to
remove the user and click Remove.
A message prompts you to confirm the action.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the specific domain, Container or the Organizational Unit, and then the
specific user.
4. In the Command pane, click Change History or User Activity.
Selecting Change History displays the information on changes that were made to
the user through Active Roles.
Selecting User Activity displays information on management actions that were
performed by a given user.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the specific domain, Container or the Organizational Unit, and then the specific
user to be deleted.
4. In the Command pane, click Delete.
The account is deleted.
NOTE:
l Deleting a user is an irreversible operation. A new user with the same name as
a deleted user does not automatically assume the permissions and member-
ships of the deleted account. For this reason, it is advisable to disable rather
than delete accounts.
l In a hybrid environment, the user must be deleted in the on-premises AD first
and then the changes must be synchronized with Azure AD. In case, the user is
deleted in Azure AD first, the Active Roles web interface still displays the Azure
properties link for the deleted user but with no information. Further modific-
ation of the Azure properties for the deleted user will not be valid.
l Only Global Admins can delete Azure users with any roles assigned to them.
l Creating a new hybrid Azure user with the Active Roles Web Interface
l Converting an on-premises user with an Exchange mailbox to a hybrid Azure user
l Viewing or modifying the Exchange Online properties of a hybrid Azure user
l View the Mail Flow settings of an Office 365 User
l View or modify the Email Address settings for an Office 365 User
l View or modify the MailBox features for an Office 365 User
l View or modify the Mailbox settings for an Office 365 User
l View or Modify the MailBox Delegation settings for an Office 365 User
Prerequisites
To create new hybrid Azure users, your organization must meet the following
requirements:
1. In the Active Roles Web Interface, under Directory Management > Tree > Active
Directory, navigate to the OU where you want to create the new hybrid Azure user.
2. In the list of actions available for the selected OU, click New User.
3. In the General step, specify the following information as required by your
organization:
l First name: The first name of the user.
l Last name: The last name of the user.
l (Optional) Initials: The initials of the user.
l Name: The fully-qualified user name of the user. By default, Active Roles
automatically fills this property based on the specified First name, Last
name, and Initials.
l Display name: The name of the user as it will appear in Active Directory.
By default, Active Roles automatically fills this property based on the
specified Name.
l User logon name: The user name used to log in to the domain. The User
logon name also contains a user principal name (UPN) suffix. To configure the
appropriate UPN suffix, use the drop-down button and select the appropriate
domain for the user.
NOTE: The list contains:
l The full DNS name of the current domain.
l The full DNS name of the root domain of the current forest.
l Any alternative UPN suffixes created via the Active Directory Domains
and Trusts console.
l (Optional) User logon name (pre-Windows 2000): The user name used to
log in to the domain, following the pre-Windows 2000 logon name format:
<domain-name>\<user-name>. By default, Active Roles automatically fills this
property based on the specified User logon name.
4. In the Account step, specify the security settings of the user:
l Password and Confirm password: The initial password of the user and the
corresponding password confirmation field. You can specify the password
Figure 162: Active Roles Web Interface – Spelling out the characters
of the generated or specified password
l Account options: Use these options to specify additional security settings for
the user (for example, to have them change the configured password during
their next login attempt, or have the configured password expire after some
time). If you want to enable the created user account later for increased
security (for example, because the new user joins later to your organization),
select Account is disabled.
5. In the Create Mailbox step, configure whether you want to set up an on-premises
Exchange mailbox for the hybrid user, or an Exchange Online mailbox in the cloud:
l To create a new on-premises Exchange mailbox for the user, keep Create
Exchange Mailbox selected.
l To create a new Exchange Online cloud mailbox for the user, deselect Create
Exchange Mailbox.
6. In the Create Azure Account step, to generate the Azure AD account of the hybrid
user, select Create Azure Account. This automatically populates all respective
fields of the configured hybrid user.
NOTE: Active Roles sets the Temporary Password to the default password of the
Active Roles user. You can reset this password for the Azure AD account, if
Prerequisites
You can perform the following procedure if your organization meets the following
conditions:
l Your organization must have an Exchange Online (Plan 2) license available for
the user.
l The on-premises user must be in a Synchronized Identity or Federated domain.
1. In the Active Roles Web Interface, under Directory Management > Tree > Active
Directory, navigate to the OU where you want to convert the on-premises user.
2. Select the user that you want to convert, then in the list of actions, click Azure
Properties.
3. In the Licenses step, select Exchange Online (Plan 2), and click Finish.
This creates the Exchange Online mailbox for the user. This mailbox, however, will
be available to the user only after migrating the user from the on-premises mailbox
to the cloud Exchange Online mailbox.
4. To migrate the on-premises mailbox of the user to the cloud Exchange Online
mailbox, follow the procedure described in Move mailboxes between on-premises
and Exchange Online organizations in hybrid deployments in the Microsoft 365
documentation.
Once the migration is completed, any changes you make on the on-premises Exchange
mailbox in the Active Roles Web Interface will be synced to the Microsoft 365 portal
through native Microsoft tools. You can check these changes by selecting the converted
hybrid user, and clicking Exchange Online Properties in the list of available actions.
NOTE: If the hybrid user is in a Synchronized Identity domain or Federated domain, you
can edit most of their Exchange Online attributes in the Exchange Online Properties
window of the Active Roles Web Interface. However, you cannot edit the Email address
attribute, as that attribute is synchronized only through native Microsoft tools.
1. In the Active Roles Web Interface, under Directory Management > Tree > Active
Directory, navigate to the OU of the hybrid user whose Exchange Online properties
you want to view or modify.
2. Select the user whose Exchange Online properties you want to check, then in the list
of actions, click Exchange Online Properties.
3. View or update the applicable settings you want to change:
l Mail Flow Settings
l Delegation
l E-Mail Addresses
l Mailbox Features
l Mailbox Settings
4. To apply your changes, click OK, then Finish.
To view and modify the message size restrictions for an Office 365 user
1. In the Exchange Online Properties wizard of an Office 365 user, click Mail
Flow Settings.
2. Under Mail flow settings, click Message Size Restrictions and then Properties.
The Message Size Restrictions dialog box displays the sending and receiving message
size restrictions.
3. To set or modify sending and receiving message size restrictions, select one of the
following in the Message Size Restrictions dialog box:
NOTE: The changes made to message size restrictions settings for the Office 365 user
can be verified in the Microsoft Office 365 portal.
To view or modify the message delivery options for an Office 365 user
1. In the Exchange Online Properties wizard of an Office 365 user, click Mail
Flow Settings.
2. Under Mail flow settings, click Delivery Options and then Properties.
3. To allow one or more users to send messages on behalf of the Office 365 user, in the
Delivery Options dialog box, click Add, select one or more users from the Select
Object list, and then click OK.
4. To limit users from sending messages on behalf of the Office 365 user, select the
users in the Name list and click Remove.
5. To specify a forwarding address for messages addressed to the Office 365 user,
select Forward to, and click Modify.
Alternatively, to change the current forwarding address, click Modify.
6. From the Select Object wizard, select the users to whom the messages addressed to
the mailbox can be forwarded and click OK.
7. Click Save.
8. Close the dialog box and click Save.
NOTE: The changes made to message delivery options for the Office 365 user can be
verified in the Microsoft Office 365 portal.
To view or modify the MailBox delegation settings for an Office 365 user
1. In the Exchange Online Properties wizard of an Office 365 user, click Delegation.
2. To specify or modify the list of users or groups who can send mail from the Office
365 user’s mailbox, under Send as, click Add.
3. Select one or more users or groups from the Select Object list, and then click OK.
4. Alternatively, to limit users who can send emails from the Office 365 user’s mailbox,
select the users in the Name list and click Remove.
5. Click Properties to view the general properties of the user added under the
Send as option.
6. To specify Office 365 users or groups who can be provided full access to the user’s
mailbox, under Full Access, click Add, select one or more users or groups from the
Select Object list, and then click OK.
7. Alternatively, to limit users who can be provided full access to the user’s mailbox,
select the users in the Name list and click Remove.
8. Click Properties to view the general properties of the user added under Full
Access option.
9. Click Save.
10. Close the dialog box and click Save.
NOTE: The changes made to MailBox delegation settings for the Office 365 user can
be verified in the Microsoft Office 365 portal.
IMPORTANT: The modify option is applicable for Office 365 users on a non-federated
environment only.
1. In the Exchange Online Properties wizard of an Office 365 user, click E-mail
Settings.
2. To add email addresses, click Add.
3. In the E-mail Addresses dialog box, select the email address type, add the email
address, and click OK.
4. To modify a selected email address, click Edit.
NOTE: The changes made to email address settings for the Office 365 user can be
verified in the Microsoft Office 365 portal.
1. In the Exchange Online Properties wizard of an Office 365 user, click Mailbox
Features.
The following mailbox features are displayed and can be managed for the Office 365
mailbox user:
l Exchange ActiveSync: Allows the user to access the mailbox from a
mobile device.
l Outlook Web App: Allows the user to browse the mailbox with a cell phone or
other wireless devices.
l MAPI: Allows the user to access the mailbox from a MAPI client such as
Microsoft Outlook.
l IMAP4: Allows the user to access the mailbox from an IMAP4 client such as
Outlook Express.
l POP3: Allows the user to access the mailbox from a POP3 client such as
Outlook Express.
l Archive: If the mailbox is archive-enabled, you can view or change the
archive properties.
2. Under Mailbox Features, select the required feature you want to enable or disable for
the Office 365 mailbox user, and then click Enable or Disable respectively.
3. Click Save.
4. Close the dialog box and click Save.
NOTE: The changes made to MailBox Features for the Office 365 mailbox user can be
verified in the Microsoft Office 365 portal.
You can use the Exchange Features tab to view, modify, or specify the archive mailbox
name of an archive-enabled Office 365 mailbox user.
1. In the Exchange Online Properties wizard of an Office 365 user, click Mailbox
Features.
2. Under Mailbox Features, select Archive, click Enable, and then click Save.
3. Click Properties.
The Exchange Online Archive Mailbox wizard is displayed, which allows you to view
or modify the archive name derived from the Microsoft Office 365 portal and
displayed in the Specify a name for this archive field.
4. Click OK, close the dialog box, and then click Save.
5. To specify a new name to the archive, select Archive, click Enable, and then click
Properties.
6. On the Exchange Online Archive Mailbox wizard, in the Specify a name for this
archive field, provide a name for the archive.
7. Click OK, close the dialog box, and then click Save.
NOTE: The changes made to MailBox Features for the Office 365 mailbox user can be
verified in the Microsoft Office 365 portal.
NOTE: The modify option is applicable for Office 365 users on all environments, such
as, Federated, Synchronized and non-federated.
1. In the Exchange Online Properties wizard of an Office 365 user, click Mailbox
Settings.
2. To place the user mailbox on litigation hold, make sure that the Exchange Online
Plan 2 license is enabled for the Office 365 user.
For information on enabling Office 365 licenses for a user, see Create a new
Azure AD user.
3. Under Messaging Records Management, click Properties, and then select the
Enable litigation hold check box.
4. In the Messaging records management description URL text box, enter URL of
the location where the deleted mailbox items are preserved and changes made to
mailbox items are recorded.
5. In the Comments text box, enter the mailbox comments, and click Save.
A message is displayed confirming the success of the operation.
6. Close the dialog box and click Save.
NOTE: The changes made to Mailbox settings for the Office 365 user can be verified in
the Microsoft Office 365 portal.
Active Roles Management Shell enables you to perform the following management tasks
for Azure AD users:
NOTE: Set-QADUser cmdlet does not work for Azure attributes in Synchronized
Identity and Federated environment.
NOTE: The Usage Location field is a mandatory field. The licenses cannot be
assigned to the user if the product usage location information is not available. The
local rules and regulations for usage of the product and services may vary based on
the location.
3. Click Next.
The Licenses wizard displays the Office 365 licenses, for example the Office 365
Business Essentials and Business Premium licenses, and the number of licenses that
are available to assign to the user.
4. Select the check boxes corresponding to the licenses that need to be assigned to the
user, and click Finish.
The licenses assigned can be viewed on the user'sAzure Properties|
Licenses wizard.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
NOTE: The Usage Location field is a mandatory field. The licenses cannot be
assigned to the user if the product usage location information is not available. The
local rules and regulations for usage of the product and services may vary based on
the location.
Alternatively, if the product usage location is entered for the user earlier, navigate to
the Licenses wizard to assign the Office 365 license to the user.
7. Re-open the Azure Properties dialog box for the user, and click Licenses.
The Licenses wizard displays the Office 365 licenses, for example Office 365
Business Essentials and Business Premium licenses, that are available for assigning
to the user.
8. Select the check box corresponding to the license that is to be assigned to the user.
9. Click the drop-down arrow corresponding to the selected license to view the products
included in the license.
By default, all the products are enabled for the user.
10. De-select the check boxes corresponding to the products in the license that are to be
disabled for the user.
11. Click Save.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the specific domain, Container or the Organizational Unit, and then select the
check-box corresponding to the specific user for which you want to view or update
the properties.
4. In the Command pane, click Azure properties.
5. In the Azure Properties dialog box, click Licenses.
7. Select or de-select the check box corresponding to the product included in the license
that needs to be enabled or removed for the user.
8. Click Save.
NOTE:
l When a user is de-provisioned or deleted, all the licenses that were assigned to
the user are removed and can be assigned to other hybrid users.
l On performing an undo-deprovision operation on a hybrid user, the license
assignment gets restored to the user on successful completion of the operation.
l For information on Azure AD user De-provisioning policy for Office 365 licenses
management see the Office 365 Licenses Retention section in the Active Roles
Administration Guide.
NOTE: If the xml file with Azure licenses is not available or is not well formed, then
the default SKUs as derived from Azure Graph APIs are displayed on the Azure
properties | Licenses page for the Azure AD user.
The updated licenses display names can be viewed on the user's Azure
Properties| Licenses wizard.
l Validate the selected Azure tenants for Azure users, guest users, O365 Groups
and contacts.
l Select O365 Licenses for Azure users and guest users.
l Select O365 Roles for Azure users and guest users.
l Preprovision OneDrive for Azure users.
Prerequisites
Consider the following before configuring an O365 and Azure Tenant Selection policy:
l The OneDrive settings of this policy are applicable to hybrid Azure users only, and
will work only if you have already enabled OneDrive for your Azure tenant in the
3. On the Name and Description page, provide a unique Name for the new policy
object. Optionally, also provide a Description. To continue, click Next.
4. On the Policy to Configure page, select O365 and Azure Tenant Selection, and
click Next.
1. From the Web interface, assign, or modify the Office 365 license for an Azure
AD User.
The Policy is triggered for any Azure AD user in the Organization Unit for which the
O365 and Azure Tenant selection policy is applied.
If the policy conditions are not satisfied while assigning or modifying Azure AD User
licenses, the following policy violation error is displayed:
Provisioning policy failure. The 'O365 and Azure Tenant Selection' policy encountered
an error. Exception in Azure Tenant Management Policy violation: The Azure user
License(s) O365_BUSINESS_ESSENTIALS-PROJECTWORKMANAGEMENT, cannot be
assigned. The policy prescribes that this Azure User requires only the specified
license in the policy object to be assigned.
2. Right-click and click Check Policy to check if there are any policy violations
For a container object, this displays the Check Policy dialog box.
3. Review the options in the Check Policy dialog box and click OK.
The Policy Check Results window is displayed.
IMPORTANT: Office 365 user license management now allows Administrator to
select a subset of the licenses selected in policy during user creation or
modification.
1. From the Web interface, create an Azure AD User, and assign a valid SharePoint
Online license.
2. After the user is created, the OneDrive provisioning process is performed in the
background and after some time the process is completed.
NOTE:
l If the SharePoint Admin URL is incorrect then the OneDrive provisioning is
not successful.
l For an existing Azure AD user, during modification of user properties:
IMPORTANT:The Active Roles Web Interface only displays Azure roles that have been
enabled. For the Office 365 Roles to be listed on the Web Interface, run the following
commands.
For more information on allowing the Azure roles to be listed on the Web Interface,
see Enabling Azure Roles.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
6. Select the check boxes corresponding to the Office 365 roles that need to be assigned
to the user, and click Finish.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the specific domain, Container or the Organizational Unit, and then select the
check-box corresponding to the specific user for which you want to view or update
the properties.
4. In the Command pane, click Azure properties.
5. In the Azure Properties dialog box, click O365 Roles tab.
The O365 Roles wizard displays the Office 365 roles, for example the Helpdesk
Administrator, Directory Readers, and more.
6. Select or clear the check boxes corresponding to the Office 365 roles that need to be
assigned or removed for the user, and click Finish.
The Office 365 roles assigned can be viewed on the user's Azure Properties | O365
Roles wizard.
The results can also be viewed on the Azure portal's Licenses and Directory role tabs.
NOTE: When a user is de-provisioned, all the roles that were assigned to the user are
retained.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the specific domain, Container or the Organizational Unit, and then select the
check box corresponding to the specific contact for which you want to view or update
the Manager information.
4. In the Command pane, click Azure properties.
The Azure Properties dialog box for the contact is displayed.
5. Use the tabs in the Azure Properties dialog box to view or modify properties of the
Office 365 contact.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the specific domain, Container or the Organizational Unit, and then the specific
contact to be deleted.
4. In the Command pane, click Delete.
The contact is deleted.
NOTE: : For the first time when Azure is configured, Office 365 Groups are not listed
under the Office 365 Group container Refresh the page to resolve the issue.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the domain in which you need to create a new group.
4. In the list of objects displayed, click the required Container or the
Organizational Unit.
5. In the Command pane, click New Group.
6. In the General properties New Group in <OU name> wizard, enter the group
details such as group name, pre-Windows 2000 group name, description, group
scope, and group type.
Group scope provides the option to create a Global or Universal group, and Group
type enables you to create a Security or Distribution group.
7. Click Next.
8. In the Create Azure Group wizard, select the option Create Azure Group.
Select the Tenant name from the Tenant list drop down. The Azure AD details for the
new group are generated automatically and populated in the respective fields.
NOTE: To set values for additional properties in the General Properties wizard,
select the check-box corresponding to Open properties for this object
when I click Finish
9. Click Finish.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the specific domain, Container or the Organizational Unit, and then the specific
group for which you want to view or update the Azure AD group properties.
4. In the Command pane, click Azure properties.
The Azure Properties wizard for the group account is displayed.
5. Use the tabs in the Azure Properties wizard to view or modify properties of the
Azure AD group.
6. After setting all the required properties, click Save.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the specific domain, Container or the Organizational Unit, and then the specific
group to which you want to add members.
4. Select the check-box corresponding to the Azure AD group and in the Command
pane click Members.
The existing member information for the group is displayed.
5. In the <Group> (objects found) wizard, click Add to add a user to the group.
6. In the Select Object wizard, search and select the members you want to add
to the group.
NOTE: Click Temporal Membership Settings to specify the date and time
when the selected members should be added or removed from the group.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the specific domain, Container or the Organizational Unit, and then the specific
group from which you want to remove a member.
4. Select the check-box corresponding to the member and in the Command pane
click Members.
The existing member information for the group is displayed.
5. In the <Group> (objects found) wizard, select the member to be removed and
click Remove.
A message prompts you to confirm the action.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
The list of Active Directory domains is displayed.
3. Click the specific domain, Container or the Organizational Unit, and then the
specific user.
4. In the Command pane, click Change History.
The information on changes that were made to the group properties through Active
Roles is displayed.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Active Directory.
3. The list of Active Directory domains is displayed.
4. Click the specific domain, Container or the Organizational Unit, and then the specific
Azure AD group to be deleted.
5. In the Command pane, click Delete.
A message prompts you to confirm the action.
l For more information on managing O365 groups with the Active Roles Web Interface,
see Configuring O365 Groups with the Web Interface.
l For more information on managing O365 groups with the Active Roles Management
Shell, see Office 365 Group management tasks using Management Shell interface.
NOTE: You cannot use the Active Roles Web Interface to synchronize existing O365
groups. To synchronize O365 groups, configure an O365 synchronization schedule task
with the Active Roles Console (also known as the MMC Interface). For more information,
see Scheduling an Azure object synchronization task.
l Modify the display name of the O365 group, for example because of an
organizational change.
l Change the configured membership type (manually assigned or dynamic) of
the O365 group.
NOTE: You cannot change the Exchange Online alias of an existing O365 group.
5. (Optional) Specify the Group Azure Display Name of the configured group.
TIP: You can configure multiple groups with the same Group Azure Display
Name in the same Azure tenant.
6. (Optional) Provide a short Description for the group.
7. (Optional) Configure the Membership type of the group:
l Assigned: When selected, you can add or remove members to or from the
group manually later. For more information, see Adding or removing members
from an O365 Group with the Web Interface.
l Dynamic Members: When selected, Active Roles sets up the group as a
dynamic membership group, and will automatically update group membership
based on the configured Dynamic membership rule syntax.
TIP: Consider the following when configuring the Membership type:
l Select Dynamic Members to quickly configure a group based on a certain
membership logic. For example, if you need to set up a group for employees
from the same geographical location, business unit, or functional area, One
Identity recommends configuring the group with Dynamic Members.
l If you select Dynamic Members, you will not be able to manually add or
remove members to or from the O365 group, unless you change its
Membership type to Assigned later. However, you can still manually
configure the owner(s) for a dynamic O365 group, as described in Adding or
removing owners from an O365 Group with the Web Interface.
l Changing the Membership type from Dynamic Members to Assigned
NOTE: The Change History option of the Active Roles Web Interface lists only group
modifications that were performed in Active Roles. It does not list the changes of the
group that were performed outside Active Roles, for example in Azure Portal.
The selected O365 group is then deleted from the Azure tenant.
l Azure users
l Azure guest users
l Azure contacts
l O365 groups
l The Azure tenant ID and environment information (that is, whether the tenant is set
to a Non-federated, Synchronized identity, or Federated environment
configuration.
1. In the Active Roles Console, in the Active Directory (AD) tree, navigate to
Configuration > Server Configuration > Scheduled Task > Builtin.
2. Open the scheduling properties of the Sync Azure O365 Objects built-in scheduled
task. To do so, either:
l Double-click Sync Azure O365 Objects, then in the Properties window,
open the Schedule tab.
l Right-click Sync Azure O365 Objects, then click Properties > Schedule.
3. To customize the scheduling settings of the task, open the Properties >
Schedule tab.
4. To change the default scheduling settings of the task for your needs, modify the
options of the Schedule tab accordingly:
l Schedule Task: Specifies how frequently Active Roles runs the task (each
hour, every day, or on a weekly/monthly basis). By default, tasks are run on a
daily basis.
l Start time and Start date: These settings specify the time and date of the
first scheduled task run. These settings are not available if Schedule Task is
set to Once or When Service starts.
l Schedule Task Hourly / Daily / Weekly / Monthly: These settings specify
the time interval of repeating the configured task.
For example, setting Schedule Task to Hourly lets you specify the time
interval between two task runs in hours and minutes, while setting it to
Weekly lets you specify not just the number of weeks between two task runs,
but also the days of the week on which Active Roles must run the task.
TIP: If the contents of the Members and/or Azure Properties actions in the Active
Roles Web Interface for an Azure object differ from the object information available on
the Azure Portal, One Identity recommends running the scheduled Sync Azure O365
Objects task manually to synchronize the Azure objects and Azure tenant information.
l Modify the display name of the Azure Security group, for example because of an
organizational or security policy change.
l Change the configured membership type (manually assigned or dynamic) of the
Azure Security group.
5. (Optional) Specify the Group Azure Display Name of the configured group.
TIP: You can configure multiple groups with the same Group Azure Display
Name in the same Azure tenant.
6. (Optional) Provide a short Description for the group.
7. (Optional) Configure the Membership type of the group:
l Assigned: When selected, you can add or remove members to or from the
group manually later. For more information, see Adding or removing members
from an Azure Security Group with the Web Interface.
l Dynamic Members: When selected, Active Roles sets up the group as a
dynamic membership group, and will automatically update group membership
based on the configured Dynamic membership rule syntax.
TIP: Consider the following when configuring the Membership type:
l Select Dynamic Members to quickly configure a group based on a certain
membership logic. For example, if you need to set up a group for employees
from the same geographical location, business unit, or functional area, One
Identity recommends configuring the group with Dynamic Members.
l If you select Dynamic Members, you will not be able to manually add
or remove members to or from the Azure Security group, unless you
change its Membership type to Assigned later. However, you can still
manually configure the owner(s) for a dynamic Azure Security group, as
described in Adding or removing owners from an Azure Security Group
with the Web Interface.
l In the Active Roles Web Interface, you can only specify Azure users, Azure guest
users, other Azure security groups and external users as group members for Azure
Security groups with an Assigned membership setting. You cannot specify devices
and applications. However, you can:
l Configure Azure Security groups in the Active Roles Web Interface to have
dynamic device membership by using the appropriate dynamic membership
rules (such as device.displayName). For more information on the applicable
membership rule syntax, see Dynamic membership rules for groups in Azure
Active Directory in the Microsoft 365 documentation.
l Configure device and application memberships later in Azure Portal for Azure
Security groups created in Active Roles.
l You cannot add or remove members manually to or from an Azure Security group
with dynamic membership. To change the members of a dynamic group manually,
first modify its membership type from Dynamic Members to Assigned
membership. For more information, see Modifying an Azure Security Group with
l You cannot add or remove members manually to or from an Azure Security group
with dynamic membership. To change the members of a dynamic group manually,
first modify its membership type from Dynamic Members to Assigned
membership. For more information, see Modifying an Azure Security Group with
the Web Interface.
l Although you can use the Active Roles Web Interface to manage Azure Security
groups that also contain devices and applications, the Active Roles Web Interface
cannot display the member devices and applications of such groups.
NOTE: The Change History option of the Active Roles Web Interface lists only group
modifications that were performed in Active Roles. It does not list the changes of the
group that were performed outside Active Roles, for example in Azure Portal.
4. To close the Change History window, click any Tree node, or any option listed in
the right-side pane.
The selected Azure Security group is then deleted from the Azure tenant.
1. In the Active Roles Web Interface, navigate to Directory Management > Tree >
Azure > <azure-tenant-name> > Distribution Groups.
Figure 167: Directory Management > Tree > Azure > <azure-tenant-
name> > Distribution Groups — Listing the Azure distribution groups in
the Azure tenant
1. In the Active Roles Web Interface, navigate to Directory Management > Tree >
Azure > <azure-tenant-name> > Distribution Groups.
Figure 168: Directory Management > Tree > Azure > <azure-tenant-
name> > Distribution Groups — Listing the Azure distribution groups in
the Azure tenant
2. Select the distribution group whose properties you want to view or modify.
3. Click Distribution Group Properties.
4. In General, set the following general properties of the distribution group:
l (Optional) Enter the Display name of the distribution group.
NOTE: This window also shows the Name of the distribution group, specify-
ing its unique Exchange Online identity. To change the Name of the distri-
bution group, use the Rename action.
For more information, see Renaming a distribution group.
l (Optional) Enter a Description for the distribution group.
l Primary SMTP address: The primary Simple Mail Transfer Protocol (SMTP)
address of a user account to be used for server-to-server authorization or
1. In the Active Roles Web Interface, navigate to Directory Management > Tree >
Azure > <azure-tenant-name> > Distribution Groups.
2. Select the distribution group whose members you want to view or modify.
3. Click Members.
4. To add members to the distribution group, select the users, contacts or distribution
groups and click OK.
5. To remove members from the distribution group, select the users, contacts or
distribution groups and click OK.
6. To apply your changes, click Save.
1. In the Active Roles Web Interface, navigate to Directory Management > Tree >
Azure > <azure-tenant-name> > Distribution Groups.
1. In the Active Roles Web Interface, navigate to Directory Management > Tree >
Azure > <azure-tenant-name> > Distribution Groups.
2. Select the distribution group whose message approval settings you want to
view or modify.
3. Click Message Approval.
4. In Message Approval, set the following message approval settings of the
distribution group:
l Require moderator approval for messages sent to this group: Select
this check box if group moderators must approve messages to appear.
(default: selected)
l Group moderators: If Require moderator approval for
message sent to this group is selected, add moderators to
approve or reject messages.
l To add users to the list of Group moderators, click Add, select
the user and click OK.
l To remove users from the list of Group moderators, select the
user and click Remove.
l (Optional) Add senders who don't require message approval: If Require
moderator approval for message sent to this group is selected,
add users whose messages can appear without moderator approval.
l To add users to the list of Senders who don't require message
approval, click Add, select the users and click OK.
l To remove users from the list of Senders who don't require
message approval, select the users and click Remove.
l Notify a sender if their message isn't approved: If Require
moderator approval for message sent to this group is
selected, specify whether senders receive a notification if their
messages get rejected.
1. In the Active Roles Web Interface, navigate to Directory Management > Tree >
Azure > <azure-tenant-name> > Distribution Groups.
Figure 172: Directory Management > Tree > Azure > <azure-tenant-
name> > Distribution Groups — Listing the Azure distribution groups in
the Azure tenant
2. Select the distribution group whose delivery management settings you want to
view or modify.
3. Click Delivery Management.
4. In Delivery Management, set the following delivery management settings of the
distribution group.
l Only allow messages from people inside my organization: Clear this
check box to allow people outside your organization to send messages to this
group. (default: selected)
l Accept messages only from these designated senders: To restrict
receiving messages from certain users only, specify the allowed senders in
this setting.
1. In the Active Roles Web Interface, navigate to Directory Management > Tree >
Azure > <azure-tenant-name> > Distribution Groups.
Figure 173: Directory Management > Tree > Azure > <azure-tenant-
name> > Distribution Groups — Listing the Azure distribution groups in
the Azure tenant
2. Select the distribution group whose delegates you want to view or modify.
3. Click Delegates.
4. In Delegates, set the following delegate settings of the distribution group:
l Send on behalf to
Only delegates in the Send on behalf to list can send messages on behalf of
this group.
l To add delegates to the Send on behalf to list, click Add, select the
users and click OK.
l To remove delegates from the Send on behalf to list, select the users
and click Remove.
1. In the Active Roles Web Interface, navigate to Directory Management > Tree >
Azure > <azure-tenant-name> > Distribution Groups.
Figure 174: Directory Management > Tree > Azure > <azure-tenant-
name> > Distribution Groups — Listing the Azure distribution groups in
the Azure tenant
2. Select the distribution group whose change history you want to view.
3. Click Change History.
1. In the Active Roles Web Interface, navigate to Directory Management > Tree >
Azure > <azure-tenant-name> > Distribution Groups.
Figure 175: Directory Management > Tree > Azure > <azure-tenant-
name> > Distribution Groups — Listing the Azure distribution groups in
the Azure tenant
2. Click Delete.
3. To confirm, click Yes.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click | Azure |<Azure tenant>
|Azure Users.
NOTE: Active Roles lists the available cloud-only Azure Users, Azure Guest
Users, and Azure Contacts on the Active Roles Web Interface with the following
restrictions:
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Azure |<Azure tenant>
|Azure Users.
The Azure Users page is displayed and lists the cloud-only Azure users
available in Azure.
5. Click Finish.
The Azure User page displays the newly added Azure users.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click | Azure |<Azure tenant>
|Azure users.
The Azure user page is displayed and lists the Azure users available in Azure.
3. Select the Azure user for which you want to view or modify the properties.
4. In the Command pane, click Azure properties.
The Azure Properties wizard for the group account is displayed.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab, click | Azure Users | Azure | | Azure Configuration |
<Azure tenant>.
3. Select the tenant and then click OneDrive Configuration available on the
Command pane.
4. Provide the details in the OneDrive Configuration wizard and click Save.
IMPORTANT: The OneDrive Configuration here is applicable for cloud-only users. For
OneDrive Configuration for hybrid users, see Configuring Active Roles to Manage Hybrid
AD Objects .
1. On the Active Roles Web interface Navigation bar, click Directory Management.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab, click | Azure | <Azure tenant> | Azure users.
The Azure user page is displayed and lists the Azure users available in Azure.
3. Select the check box corresponding to the specific cloud-only Azure user with
Exchange Online license for which you want to view the properties.
4. In the Command pane, click Exchange Online Properties.
The Exchange Online Properties wizard displays the following Exchange Online
properties for the cloud-only Azure user.
l Mail Flow Settings
l Delegation
l E-mail Addresses
l Mailbox Features
l Mailbox Settings
5. Use the tabs in the Exchange Online Properties dialog box to view the following
Exchange Online properties of the cloud-only Azure user:
l Mail Flow Settings
l Message Size restrictions
l Sending Message size
l Receiving Message size.
l Delivery Options
l Send On behalf
l Forwarding Address
l Enabling or disabling of Delivery messages to the forwarding
address and mailbox.
l Delegation
l E-mail Addresses
l Mailbox Features
l Exchange ActiveSync
l Outlook Web App
l MAPI
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Azure |<Azure tenant>
|Azure Users.
The Azure Users page is displayed and lists the Azure users available in Azure.
7. Click Finish.
The password is reset for the cloud-only Azure user.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Azure |<Azure tenant>
|Azure Users.
3. Select the Azure user that need to be renamed.
4. In the Command pane, click Rename.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Azure |<Azure tenant>
|Azure Users.
3. In the Command pane, click Azure member of.
You can view the Azure group to which the cloud-only Azure user is associated.
To view the Change History and User Activity of a cloud-only Azure user
1. On the Active Roles Web interface Navigation bar, click Directory Management.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Azure |<Azure tenant>
|Azure Users.
3. Select the Azure user that need to be deleted.
4. In the Command pane, click Delete.
A message prompts you to confirm the action.
1. Specify a User Principal Name (UPN) and password for the Azure user.
2. Select the organization domain where the Azure user will be located within the
Azure tenant.
However, when you create an Azure guest user, no domains are assigned to the user
within the Azure tenant. Instead, the procedure has the following main steps:
1. You specify the basic permissions of the guest user, along with an email address to
which Active Roles will send an invitation.
2. Using the link in the invitation e-mail, the guest user can gain the configured access
with their account upon joining the organization.
3. Once the guest accepted the invitation, you can assign additional permissions (like
roles, licenses, storage space, and so on) to the user, similarly to a regular cloud-
only Azure user.
NOTE: Active Roles does not restrict the type of permissions that you can assign to Azure
guest users. However, for security reasons, One Identity recommends that you assign
only the rights and resources to guest users that external contractors typically receive in
your organization.
Figure 176: Directory Management > Tree View > Azure > <azure-tenant-
name> > Azure Guest Users — Listing the Azure guest users in the tenant
Figure 178: Azure Guest Users > Invite Guest > Licenses – Assigning
application licenses to the Azure guest user
NOTE: You can assign roles to the Azure guest user in Active Roles without any
limitation. However, One Identity recommends that you assign Azure guest
users only the admin roles that external contractors typically receive in your
organization.
6. (Optional) Job Info
Enter the Job Title and the assigned Department of the guest user, if needed.
Figure 180: Azure Guest Users > Invite Guest > Job Info – Specifying
organizational information for the Azure guest user
7. To save your changes and send the invite email to the guest user, click Finish.
NOTE: Consider the following when administering cloud-only Azure guest users:
l You can resend the invitation later for the guest user, if needed. For more
information, see Resending the invitation to an Azure guest user.
Figure 181: Directory Management > Tree View > Azure > <azure-tenant-
name> > Azure Guest Users — Listing the Azure guest users in the tenant
NOTE: Active Roles lists the available cloud-only Azure Users, Azure Guest Users, and
Azure Contacts on the Active Roles Web Interface with the following restrictions:
Figure 182: Directory Management > Tree View > Azure > <azure-tenant-
name> > Azure Guest Users — Listing the Azure guest users in the tenant
2. Select the Azure guest user that you want to enable or disable from the list.
3. Click the applicable option:
l If the selected Azure guest user is enabled, click Disable Account.
l If the selected Azure guest user is disabled, click Enable Account.
NOTE: The available option changes depending on the state of the selected guest
user account.
4. To confirm disabling/enabling the selected Azure guest user, click Save.
Figure 183: Directory Management > Tree View > Azure > <azure-tenant-
name> > Azure Guest Users — Listing the Azure guest users in the tenant
2. Select the Azure guest user whose session you want to revoke.
3. Click Revoke Session.
4. To confirm revoking the session of the selected Azure guest user, click Save.
2. Select the Azure guest user for which you want to resend the invitation.
3. Click Resend Invitation.
Active Roles will then resend the invitation to the email address previously specified
with the Invite Guest > Email address property.
Figure 185: Directory Management > Tree View > Azure > <azure-tenant-
name> > Azure Guest Users — Listing the Azure guest users in the tenant
Figure 186: Azure Guest Users > Rename – Renaming an Azure guest user
4. Update the First Name, Last Name or Display Name of the guest user as needed.
5. To apply your changes, click Finish.
2. From the list in the middle pane, select the Azure guest user that you want to update.
3. To open the properties of the selected Azure guest user, click Azure Properties on
the right pane.
4. In the available Azure Properties pages, configure the Azure guest user settings
that you want to change.
Table 110: Available Azure properties
Page Description
Identity View and configure user identity settings and information in this tab.
Settings View and configure user authentication settings in this tab.
Job Info View and configure job and organizational information in this tab.
View and configure contact and location information in this tab.
NOTE: You can only update certain Contact Info properties (such as
phone numbers or email addresses) for non-administrator Azure guest
users, or for Azure guest users with a specific set of limited admin-
istrator roles. For more information on these roles, see the Update User
Contact page of the official Microsoft documentation.
Info
Attempting to update these properties for an Azure guest user with
different administrative roles assigned to it will result in failure, and the
following error log message appearing in the Windows Event Log:
NOTE: Active Roles lists the available cloud-only Azure Users, Azure Guest Users, and
Azure Contacts on the Active Roles Web Interface with the following restrictions:
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Guest Users.
2. From the list in the middle pane, select the Azure guest user that you want to update.
3. To open the properties of the selected Azure guest user, click Azure Properties on
the right pane.
4. To open the name settings, click the Identity tab.
5. Enter the First Name of the Azure guest user. If no first name has been specified in
this field when inviting the Azure guest user, this text box contains the local-part of
the email address where the invite has been sent.
6. Enter the Last Name of the Azure guest user.
7. To apply your changes, click Save.
NOTE: You can also view the following identity properties of the selected Azure guest
user on this page:
l Display Name: Shows the display name of the Azure guest user. By default, the
display name consists of the specified First Name and Last Name.
TIP: You cannot directly modify the Display Name of the guest user on this tab.
To do that, use the Rename action. For more information, see Renaming an Azure
guest user.
<azure-guest-user-email-address>#EXT#@<azure-tenant>
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Guest Users.
2. From the list in the middle pane, select the Azure guest user that you want to update.
3. To open the properties of the selected Azure guest user, click Azure Properties on
the right pane.
4. To open the user authentication settings, click the Identity tab.
Figure 189: Directory Management > Tree View > Azure > <azure-
tenant> > Azure Guest Users > <azure-guest-user> > Azure Properties >
Settings — Accessing the authentication settings of an Azure Guest user
5. To restrict the login attemps with the configured Azure guest user account to a
specific geographical location, enter the corresponding ISO 3166 country code in the
Usage Location field. Active Roles will then only allow the guest user to log in, if
the login attempt occurs from the country that you specified.
6. (Optional) To grant the Azure guest user access to the configured licenses and admin
roles, select Allow user to sign in and access services. If access has been
granted previously, and must be revoked, then deselect this option.
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Guest Users.
2. From the list in the middle pane, select the Azure guest user that you want to update.
3. To open the properties of the selected Azure guest user, click Azure Properties on
the right pane.
4. To open the job information settings, click the Job Info tab.
NOTE: The Job Info also has a Direct reports field that lists the employees or other
guest users reporting to the selected guest user, if there are any.
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Guest Users.
2. From the list in the middle pane, select the Azure guest user that you want to update.
3. To open the properties of the selected Azure guest user, click Azure Properties on
the right pane.
4. To open the contact information settings, click the Contact Info tab.
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Guest Users.
2. From the list in the middle pane, select the Azure guest user that you want to update.
3. To open the properties of the selected Azure guest user, click Azure Properties on
the right pane.
4. To open the application license settings, click the Licenses tab.
Figure 192: Directory Management > Tree View > Azure > <azure-
tenant> > Azure Guest Users > <azure-guest-user> > Azure
Properties > Licenses — Accessing the application license settings of
an Azure Guest user
5. (Optional) If the available licenses are categorized into various headings, expand the
list of the license(s) you want to add or remove from the guest user.
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Guest Users.
2. From the list in the middle pane, select the Azure guest user that you want to update.
3. To open the properties of the selected Azure guest user, click Azure Properties on
the right pane.
4. To open the administration role settings, click the O365 Admin Roles tab.
Figure 193: Directory Management > Tree View > Azure > <azure-
tenant> > Azure Guest Users > <azure-guest-user> > Azure Properties
> O365 Admin Roles — Accessing the administrator role settings of an
Azure Guest user
5. Select the administrator role(s) you want to grant for the guest user, or deselect the
role(s) you want to revoke.
NOTE: You can assign roles to the Azure guest user in Active Roles without any
limitation. However, One Identity recommends that you assign Azure guest users
only the admin roles that external contractors typically receive in your
To view and update the Exchange Online properties of an Azure guest user
Figure 194: Directory Management > Tree View > Azure > <azure-tenant-
name> > Azure Guest Users — Listing the Azure guest users in the tenant
2. Select the guest user whose Exchange Online properties you want to check or update.
3. To access the Exchange Online-specific mailbox settings, click Exchange Online
Properties.
l Message size settings, specifying the size of the emails that the guest user can send
or receive.
l Email delivery and forwarding settings, allowing the guest user to send emails on
behalf of a specified group, or have their received emails automatically forwarded to
an additional specified address.
Such mail flow settings are typically configured if the organization enforces specific email
messaging policies for users and guest users.
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Users (or Azure Guest Users).
2. From the list in the middle pane, select the Azure user or Azure guest user that you
want to update.
3. To open the Exchange Online settings, click Exchange Online Properties.
4. To open the mail flow settings, click the Mail Flow Settings tab.
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Users (or Azure Guest Users).
2. From the list in the middle pane, select the Azure user or Azure guest user that you
want to update.
3. To open the Exchange Online settings, click Exchange Online Properties.
4. To open the delegation settings, click the Delegation tab.
5. To delegate Send as permission to a user (or users), click Add... under the
Send As list.
6. Select the user(s) you want to grant Send as rights for the email address,
then click OK.
7. To delegate Send as permission to a user (or users) click Add... under the Full
Access list.
8. Select the user(s) you wish to grant Full access rights for the email address,
then click OK.
9. To remove a delegated user either from the Send As or Full Access list, click
Remove and select the user(s) you want to revoke the permission from.
10. To apply your changes, click Save, then Close.
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Users (or Azure Guest Users).
2. From the list in the middle pane, select the Azure user or Azure guest user that you
want to update.
3. To open the Exchange Online settings, click Exchange Online Properties.
4. To open the email address settings, click the General tab.
Figure 197: Exchange Online Properties > General — Accessing the email
account settings of an Exchange Online mailbox
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Users (or Azure Guest Users).
2. From the list in the middle pane, select the Azure user or Azure guest user that you
want to update.
3. To open the Exchange Online settings, click Exchange Online Properties.
4. To open the email address settings, click the General tab.
5. To open the settings of an email address, select the email address, then click Edit....
6. In the E-mail address text box, modify the current email address.
NOTE: You cannot modify the E-mail address type of an existing email account.
You can only change the name of the existing address.
7. To apply your changes, click OK.
8. To close the Exchange Online Properties window, click Close.
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Users (or Azure Guest Users).
2. From the list in the middle pane, select the Azure user or Azure guest user that you
want to update.
3. To open the Exchange Online settings, click Exchange Online Properties.
4. To open the email address settings, click the General tab.
5. In the E-mail addresses list, select the address you want to remove.
6. Click Remove and confirm the deletion of the email address.
7. To close the Exchange Online Properties window, click Close.
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Users (or Azure Guest Users).
2. From the list in the middle pane, select the Azure user or Azure guest user that you
want to update.
3. To open the Exchange Online settings, click Exchange Online Properties.
4. To open the mailbox feature settings, click the Mailbox Features tab.
5. Select the Exchange Online mailbox feature that you want to enable or disable:
l Outlook Mobile Access: Enables or disables the Outlook Mobile Access
(OMA) mobile browsing service for the mailbox. Enabling this settings allows
the mailbox user use OMA on their mobile device to access their account.
l Exchange ActiveSync: Enables or disables the Exchange ActiveSync
synchronization protocol for the mailbox. Enabling this setting allows the
mailbox user synchronize their configured mobile device with their mailbox.
l Up-to-Date Notifications: Enables or disables the Up-to-date (UTD) feature
notifications for the mailbox.
l Outlook Web App: Enables or disables access to the browser-based Outlook
Web App for the mailbox user.
l MAPI, IMAP4, POP3: Enables or disables support for the MAPI, IMAP4 or
POP3 protocols for the mailbox user. If MAPI is enabled, the mailbox user can
access their mailbox through the Outlook desktop app (or other MAPI clients).
If IMAP4 or POP3 is enabled, they are also able to access their mailbox with
any IMAP4 or POP3 email client.
l Archive: Enables or disables the archive mailbox feature for the mailbox.
6. Click Enable to enable the selected mailbox feature, or Disable to disable it.
7. Once you are done with the configuration, click Close.
8. To close the Exchange Online Properties window, click Close.
1. On the Active Roles Web Interface, navigate to Directory Management > Tree
View > Azure > <azure-tenant> > Azure Users (or Azure Guest Users).
2. From the list in the middle pane, select the Azure user or Azure guest user that you
want to update.
3. To open the Exchange Online settings, click Exchange Online Properties.
4. To open the MRM settings, click the Mailbox Settings tab.
Figure 200: Directory Management > Tree View > Azure > <azure-tenant-
name> > Azure Guest Users — Listing the Azure guest users in the tenant
l View the existing O365 group membership(s) of the Azure guest user.
l Add or remove the Azure guest user to or from the selected Azure O365 Group(s).
2. In the middle pane, select the Azure guest user whose membership you want to view
or configure.
3. In the right pane, click Azure Member Of. The list of Azure O365 groups where the
guest user has a membership then appears.
Figure 202: Directory Management > Tree View > Azure > <azure-
tenant> > Azure Guest Users > Azure Member Of – Listing the Azure
groups of the selected Azure Guest user
4. To add the Azure guest user to a new Azure O365 group of the Azure tenant,
click Add.
5. In the Select Object page, select the O365 Group(s) you want the Azure guest user
to be a member of, then click OK to apply your changes and return to the Azure
Member Of page. The list is then updated with the new groups that you selected
previously.
6. To remove the Azure guest user from any O365 Group(s), select the group(s) in the
Azure Member Of page, and then click Remove. Click OK to confirm the removal
from the group.
Figure 203: Directory Management > Tree View > Azure > <azure-tenant-
name> > Azure Guest Users — Listing the Azure guest users in the tenant
2. Select the Azure guest user whose change history you want to check.
3. Click Change History.
The change history of the Azure guest user then appears.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click | Azure |<Azure tenant>
|Azure Contacts.
NOTE: Active Roles lists the available cloud-only Azure Users, Azure Guest
Users, and Azure Contacts on the Active Roles Web Interface with the following
restrictions:
l Active Roles can initially list 999 items.
l The items listed in the list have a sliding expiry of 8 hours, after which the
objects that have not been accessed will be flushed.
l Whenever you perform a search in the list, Active Roles will always fetch the
list of objects from Azure to update the cache.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Azure |<Azure tenant>
|Azure Contacts.
The Azure Contacts page is displayed and lists the Azure cloud only contacts
available in Azure.
5. Click Finish.
The Azure Contacts page displays the newly added Azure contact.
NOTE: When creating a new cloud-only Azure contact or updating an existing one, it may
take up to 15 minutes for the changes to appear on the Active Roles Web Interface. This
is due to a replication delay present between PowerShell and the Microsoft Graph API.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click | Azure |<Azure tenant>
|Azure Contacts.
The Azure contacts page is displayed and lists the Azure contacts available in Azure.
3. Select the Azure contact for which you want to view or modify the properties.
4. In the Command pane, click Azure properties.
The Azure Properties wizard for the contact is displayed.
5. Use the tabs in the Azure Properties wizard to view or modify properties of the
Azure cloud only contact.
6. After setting all the required properties, click Save.
NOTE: When creating a new cloud-only Azure contact or updating an existing one, it may
take up to 15 minutes for the changes to appear on the Active Roles Web Interface. This
is due to a replication delay present between PowerShell and the Microsoft Graph API.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Azure |<Azure tenant>
|Azure Contacts.
3. Select the Azure contact that need to be renamed.
4. In the Command pane, click Rename.
NOTE: When creating a new cloud-only Azure contact or updating an existing one, it may
take up to 15 minutes for the changes to appear on the Active Roles Web Interface. This
is due to a replication delay present between PowerShell and the Microsoft Graph API.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab, click | Azure | <Azure tenant> | Azure Contacts.
The Azure contacts page is displayed and lists the Azure Contacts available in Azure.
3. Select the check-box corresponding to the specific cloud only Azure contacts for
which you want to view the properties.
4. In the Command pane, click Exchange Online Properties.
The Exchange Online Properties wizard displays the following Exchange Online
properties for the cloud only Azure contact.
l General
l Mail tip
5. Use the tabs in the Exchange Online Properties dialog box to view the following
Exchange Online properties of the cloud only Azure contact:
l General
Provide an Exchange online alias name in the Alias field. You can also choose
to hide the alias name from the organizational address list.
l Mail tip
Provide an optional mail tip in the Mail tip text field.
NOTE: When creating a new cloud-only Azure contact or updating an existing one, it may
take up to 15 minutes for the changes to appear on the Active Roles Web Interface. This
is due to a replication delay present between PowerShell and the Microsoft Graph API.
To view the Change History and User Activity of cloud only Azure contacts
1. On the Active Roles Web interface Navigation bar, click Directory Management.
1. On the Active Roles Web interface Navigation bar, click Directory Management.
2. On the Views tab in the Browse pane, click Azure |<Azure tenant>
|Azure Contacts.
The Azure Contacts page is displayed and lists the Azure contacts available in Azure.
l The Property Generation and Validation policy now supports specifying object
property rules for cloud-only Azure objects. To get started with provisioning cloud-
only Azure properties, Active Roles contains a new built-in policy for provisioning
cloud-only Azure properties. Find the policy in the following node of the Active Roles
MMC console:
Configuration > Policies > Administration > BuiltIn > Azure CloudOnly
Policy - Default Rules to Generate Properties
l The Group Membership AutoProvisioning policy now supports specifying group
membership rules to automatically assign (or unassign) cloud-only Azure users and
guest users to (or from) O365 Groups located in the same Azure tenant as the
provisioned Azure objects.
In the New Provisioning Policy Wizard of the Active Roles MMC console, the
cloud-only Azure objects supported for provisioning are listed in the Object Type
Selection > Select Object Type dialog, while the O365 Groups can be selected in
the Group Selection > Browse for Container dialog.
l Script Execution policies now also support PowerShell and other custom scripts for
provisioning cloud-only Azure objects. As part of this change, Active Roles contains a
1. In the Active Roles Web Interface, navigate to Directory Management > Tree>
Azure > Resource Mailboxes.
The list of resource mailboxes of the selected tenant is displayed.
If the operation is successful, the newly-created room mailbox appears in the list of
Resource Mailboxes.
In the right pane, the name of the room mailbox appears with the following
available actions:
The newly-created room mailbox also appears in the Exchange admin center, in Home
> Resources.
1. In the Active Roles Web Interface, navigate to Directory Management > Tree>
Azure > Resource Mailboxes.
The list of resource mailboxes of the selected tenant is displayed.
Figure 206: Directory Management > Tree View > Azure > Resource
Mailboxes — Listing the resource mailboxes in the tenant
If the operation is successful, the updated properties of the room mailbox appear both in
the Active Roles Web Interface and in the Exchange admin center.
1. In the Active Roles Web Interface, navigate to Directory Management > Tree>
Azure > Resource Mailboxes.
The list of resource mailboxes of the selected tenant is displayed.
If the operation has been successful, the room mailbox is deleted and it disappears both
from the Resource Mailboxes list in the Active Roles Web Interface, and from the
Resources list in the Exchange admin center.
Figure 208: Directory Management > Tree > Azure > <azure-tenant-
name> > Shared Mailboxes — Listing the shared mailboxes in the tenant
Figure 209: Directory Management > Tree > Azure > <azure-tenant-
name> > Shared Mailboxes — Listing the shared mailboxes in the tenant
2. Select the shared mailbox whose general properties you want to view or modify.
3. In General, set the following general properties of the shared mailbox:
l Enter the Display name of the shared mailbox.
l Enter the Name of the shared mailbox.
l Primary SMTP address: The primary Simple Mail Transfer Protocol (SMTP)
address of a user account to be used for server-to-server authorization or
access delegation. You cannot modify this value because it is filled
automatically.
l External directory ID: The Azure Active Directory (AD) object of the user
object connected to the mailbox object in Azure AD. You cannot modify this
value because it is filled automatically.
l (Optional) Enter an Exchange Online Alias for the shared mailbox.
l (Optional) Hide from global address lists (default: selected)
Select this check box if you do not want the mailbox to appear in the address
book and other address lists defined in your Exchange organization.
4. To apply your changes, click Save.
Figure 210: Directory Management > Tree > Azure > <azure-tenant-
name> > Shared Mailboxes — Listing the shared mailboxes in the tenant
2. Select the shared mailbox whose contact settings you want to view or modify.
3. Click Contact Settings.
4. In Contact Settings, set the following contact settings of the shared mailbox:
l (Optional) Office
l (Optional) Office phone
l (Optional) Mobile phone
l (Optional) Home phone
l (Optional) Fax number
l (Optional) Street address
l (Optional) City
l (Optional) Country: You must enter a valid country code or country name, for
example: US or United States of America (the).
l (Optional) State or province
l (Optional) ZIP or postal code
l (Optional) Notes: Enter a customized message about the contact settings of
the shared mailbox for users that will appear in Outlook.
5. To apply your changes, click Save.
Figure 211: Directory Management > Tree > Azure > <azure-tenant-
name> > Shared Mailboxes — Listing the shared mailboxes in the tenant
2. Select the shared mailbox whose organization settings you want to view or modify.
3. In Organization Settings, set the following organization settings of the
shared mailbox:
l (Optional) Job title
l (Optional) Department
l (Optional) Company name
l (Optional) Manager:
l To add or change the manager of the shared mailbox, click Modify,
select the user and click OK.
l To view or modify the Azure properties of the user, click Properties.
l To delete the manager of the shared mailbox, click Remove.
4. To apply your changes, click Save.
Figure 212: Directory Management > Tree > Azure > <azure-tenant-
name> > Shared Mailboxes — Listing the shared mailboxes in the tenant
2. Select the shared mailbox whose email settings you want to view or modify.
3. In Email Settings, set the following email settings of the shared mailbox:
l Primary SMTP address: The primary Simple Mail Transfer Protocol (SMTP)
address of a user account to be used for server-to-server authorization or
access delegation. You cannot modify this value because it is filled
automatically.
l Email addresses:
2. Select the shared mailbox whose automatic reply settings you want to view or
modify.
3. In Auto-Reply, set the following automatic reply settings of the shared mailbox:
l Automatic replies (default: not selected)
To send an automatic reply to all senders inside your organization from the
shared mailbox, select this check box and enter an automatic reply.
l Send automatic replies to senders outside this organization (default:
not selected)
To send an automatic reply to all senders outside of your organization from the
shared mailbox, select this check box and enter an automatic reply.
To specify the senders outside of your organization, you can set one of
the following:
l Only reply to senders in this mailbox's contact list
l Reply to all senders
4. To apply your changes, click Save.
2. Select the shared mailbox whose protocol settings you want to view or modify.
3. In Protocol Settings, set the following protocol settings of the shared mailbox:
l Outlook Web (default: selected)
l Outlook Desktop (default: selected)
l Exchange Web Services (default: selected)
l Mobile Exchange (default: selected)
l IMAP (default: selected)
l POP3 (default: selected)
4. To apply your changes, click Finish.
2. Select the shared mailbox whose advanced email settings you want to view or
modify.
3. Click Advanced Email Settings.
4. In Advanced Email Settings, set the following advanced email settings of the
shared mailbox:
l Send as
Only the users in the Send as list have permission to send emails from this
shared mailbox that will appear as emails sent by the owner of the mailbox.
l To add users to the Send as list, click Add, select the users and
click OK.
l To remove users from the Send as list, select the users and click
Remove.
l Read and manage (Full control)
Only the users in the Read and manage list have full administrator access to
the shared mailbox.
l To add users to the Read and manage list, click Add, select the users
and click OK.
l To remove users from the Read and manage list, select the users and
click Remove.
l Mailbox archive (default: selected)
l Convert mailbox from shared to regular (default: not selected)
NOTE: After you convert a mailbox from shared to regular, you can only
convert it back to shared in the Exchange admin center.
l Litigation hold (default: not selected)
Litigation hold places all contents of the shared mailbox on hold. For more
information on litigation hold, see In-Place Hold and Litigation Hold in the
Microsoft Exchange Online documentation.
Prerequisites
NOTE: To modify the default policy settings, you must run PowerShell command Enable-
OrganizationCustomization for the Azure tenant of the shared mailbox. It can take up to
10-15 minutes for the command to take effect before you can save the policy changes.
2. Select the shared mailbox whose policy settings you want to view or modify.
3. In Policy Settings, select the following policies available in your Active Directory
environment for the shared mailbox:
l Sharing policy: Sets how users can share information with other users in
your organization.
l Role assignment policy: Sets the permissions assigned to the users of the
shared mailbox.
l Retention policy: Sets the time period in which users can manage email in
the shared mailbox.
l Address book policy: Sets the default address book in your organization.
4. To apply your changes, click Save.
NOTE: In the Active Roles Web Interface, you can add shared mailboxes to Azure distri-
bution groups only, but you cannot add them to Azure O365 groups or Azure security
groups. You can add a shared mailbox to an Azure O365 group or Azure security group in
the Microsoft 365 admin center.
Figure 217: Directory Management > Tree > Azure > <azure-tenant-
name> > Shared Mailboxes — Listing the shared mailboxes in the tenant
2. Select the shared mailbox whose membership you want to view or configure.
3. Click Azure Member Of. The list of Azure distribution groups where the shared
mailbox has a membership appears.
4. To add the shared mailbox to a new Azure distribution group of the Azure
tenant, click Add.
5. Select the distribution group(s) you want the shared mailbox to be a member of,
and click OK.
6. To remove the shared mailbox from any distribution group(s), in Azure Member
Of, select the group(s), click Remove, and click OK.
2. Select the shared mailbox whose change history you want to view.
3. Click Change History.
Figure 219: Directory Management > Tree > Azure > <azure-tenant-
name> > Shared Mailboxes — Listing the shared mailboxes in the tenant
To manage the configuration of Active Roles, you must have the necessary permissions. It
is sufficient to be a member of the Active Roles Admin account. The Active Roles Admin
account is specified when configuring the Administration Service. It defaults to the
Administrators group on the computer running the Administration Service.
The authority to modify the Active Roles configuration can be delegated by applying the
Manage Configuration Access Template to the Server Configuration container.
In the Service box, type or select the name of the computer running the Administration
Service to connect to, and then click Connect. The Service box provides a list of names
that were specified for previous connection sessions. The last selected name is displayed
by default.
To select the Administration Service that is not in the list, click the Select button next to
the Service box:
This displays the Select Administration Service dialog box, shown in the
following figure.
The Select Administration Service dialog box lists the Administration Services that are
available in the specified forest. You can choose a different forest by clicking Change. The
list items are sorted according to priority, considering site location and service load (less
Click The following user and specify the user logon name and password of the
account to be used for connection. By selecting the Remember password check box
you can have the console automatically use the specified user name and password in
the future connection sessions. Otherwise, on a subsequent start, the console will
prompt you for a password.
To delegate the control to users in the User Interfaces container you must
apply the User Interface Access Template
1. In the console tree, right-click Active Roles, and then click Connect.
2. In the Service box, type or select the name of the computer running the
Administration Service to connect to, and then click the Connect button.
l If you do not see the Administration Service you want in the Service list, click
the Select button next to the Service box. This displays a list of the Admin-
istration Services that are available in the specified forest. You can choose a
different forest by clicking Change. To add a certain Service to the Service
list, click that Service in the list of available Administration Services, and then
click OK.
l If you need to establish a connection under a user account other than your
logon account, click Options to display the Connect as area, and then click
The following user and specify the user logon name and password of the
account to be used for connection. By selecting the Remember password
check box, you can have the console automatically use the specified user name
and password in the future connection sessions. Otherwise, on a subsequent
start, the console will prompt you for a password.
You have the option to use the default credentials (the service account of the
Administration Service) or enter the user name and password of a different account
(override account). In both cases, the account must have adequate rights in the managed
domain. For more information, refer to the “Access to Managed Domains” section in the
Active Roles Quick Start Guide.
If you choose the option to access the managed domain using the service account
information, consider the following. This option applies to all Administration Services in
your environment. Each Administration Service in your environment will use its own
service account to access the domain. Since different service accounts may have different
levels of access to the domain, Active Roles may have different access rights to the
domain, depending on which Administration Service is being used to manage the domain.
The result is that the behavior of Active Roles may vary when you switch to a different
Administration Service.
After you add a managed domain, the Administration Service retrieves the domain
information, such as the Active Directory schema and the hierarchy of containers. This
process is referred to as loading domain information.
If you choose the second option, type the user name and password of the user
account you want Active Roles to use when accessing the domain.
NOTE:
l You can use the Properties command on an object held in the Managed
Domains container to view or modify the registration information for the
respective managed domain. For example, it is possible to change the logon
information that is used to access the domain: on the General tab in the
Properties dialog box, choose the appropriate option and click Apply. You can
choose one of the two options that are listed in Step 5 of the procedure above.
l The Managed Domains container holds the registration objects for all
domains that are registered with Active Roles. You can un-register domains by
deleting objects from that container.
l By default, no domains are registered with Active Roles. When you register a
domain, the domain registration is saved as part of the Active Roles config-
uration.
As applied to a registered unmanaged domain, the features and functions of Active Roles
are limited to those that do not require write access to the objects held in that domain
(including write access to the object data that is stored by Active Roles as virtual
attributes). Thus, you can use Active Roles to:
1. In the console tree, under the Active Directory node, right-click the domain you
want to configure, and click Enforce Policy.
2. Click Add in the dialog box that appears, and then select the Built-in Policy -
Exclude from Managed Scope Policy Object.
3. Click OK to close the dialog boxes.
Once applied to a domain, the Built-in Policy - Exclude from Managed Scope Policy
Object stops product usage statistics from counting objects in the domain and prevents any
changes to the objects held in that domain, making the objects available for read access
only. For more information, see Managed scope to control product usage.
NOTE: The count can be derived using the LDAP query “(&(objectCategory=person)
(objectClass=user))”.
It is possible to view the average or maximum number of managed users in each domain
or instance for a certain reporting period. Click Product Usage Statistics to open a page
allowing you to:
l Examine the managed user counts for the reporting period you’ve chosen.
The page displays the current number of managed users per Active Directory
domain, AD LDS directory partition, Azure tenant, and SaaS application in the tables
under Total accounts. The Average and the maximum values along with the total
number of managed users can be viewed in the HTML file.
License type and Total estimated licenses, display the type of license in use and
the number of estimated license required, respectively.
l View the information about the license.
Click License description to view a detailed information about the license.
Click Save as HTML at the bottom of the page and specify the desired file name
and location.
Click Export raw counters at the bottom of the page and specify the desired file
name and location. The data is exported in the comma-delimited (CSV) format,
representing the daily counts of managed users over the reporting period.
l Stops product usage statistics from counting objects held in that container, and
l Prevents any changes to the objects held in that container, making the objects
available for read access only.
Thus, you can exclude a certain domain from managed scope by applying a Policy Object:
Choose the Enforce Policy command on the domain object under the Active Directory
node in the Active Roles console, click Add, and select the Built-in Policy - Exclude
from Managed Scope Policy Object. This stops product usage statistics from counting
objects in that domain, and makes all objects in that domain available for read access only.
You will not be able to create new objects (users, groups, computers, and so forth) or
make changes to existing objects in that domain by using Active Roles.
After you have excluded a domain from managed scope, you may need to make a
particular OU in that domain available for read/write access. You can accomplish this by
blocking policy inheritance: In the Active Roles console, choose the Enforce Policy
command on the OU and then select the Blocked option next to Built-in Policy - Exclude
1. Log on as Active Roles Admin, and open the Active Roles console.
Only members of the Active Roles Admin account are authorized to configure
thresholds and notification for the managed object count.
4. In the Threshold Value dialog box that appears, specify the desired threshold value
for Active Directory domains (AD DS), AD LDS directory partitions (AD LDS), Azure
tenants, or SaaS applications.
You can specify an AD DS threshold value, AD LDS threshold value, Azure tenant
threshold value, and SaaS threshold value independently from each other. Active
Roles raises an alert if the total number of managed objects in AD DS, AD LDS
5. If you want Active Roles to notify of the threshold violation alert over e-mail, then, in
the Threshold Value dialog box, configure the notification settings as follows:
a. Select the Notify of threshold violations by e-mail check box.
b. Click the button next to the Recipients field, and specify who you want to
receive the notification messages. You can select recipients from an address
book (requires Microsoft Outlook to be configured), or supply individual e-
mail addresses.
c. Click the button next to the E-mail server settings field. Then, on the Mail
Setup tab in the dialog box that appears, supply the server name and other
settings specific to your outgoing SMTP server.
If multiple mail configuration objects exist in your Active Roles environment, then
you may first need to select the appropriate object from the E-mail server
settings list. Mail configuration objects can be created in the
Configuration/Server Configuration/Mail Configuration container in the
Active Roles console.
Installation label
The Active Roles console allows you to set a text label that helps you identify your Active
Roles installation in the Managed Object Statistics report—a report that lists the managed
object counts (see Viewing product usage statistics). You can use the installation label to
distinguish, for example, between production and non-production or pilot installations. The
label text is displayed in the title of the Managed Object Statistics report.
1. Log on as Active Roles Admin, and open the Active Roles console.
Only members of the Active Roles Admin account are authorized to set or change the
installation label.
4. In the Installation Label dialog box that appears, type the label text you want, and
then click OK.
5. Optionally, in the Description box, type a description for the new virtual attribute.
Click Next.
6. In the Syntax list, click the syntax you want for the new virtual attribute. If you want
the new attribute to be multi-valued, select the Multi-valued check box. Click Next.
7. Select the check boxes next to the object classes with which you want the virtual
attribute to be associated. Click Next.
If you need the new attribute to be associated with object classes that are not listed
by default, select the Show all possible classes check box.
8. If you want to store the values of the attribute in the Active Roles database, select
the check box on the Attribute Storage page.
If you choose not to store the attribute values in the database, a script policy is
required to supply the attribute value when retrieving the attribute and to save the
attribute value when updating the attribute.
However, you should use this option carefully. Storing attribute values in the Active
Roles configuration database may considerably increase the database size.
After the new virtual attribute has been added, reconnect to the Administration Service.
The new virtual attribute appears in the Virtual Attributes container under
Configuration/Server Configuration.
5. Click Next.
The Attribute Syntax page should look as shown in the following figure.
6. Click Next.
7. On the Object Classes page, select the check box next to User, as shown in the
following figure.
8. Click Next.
9. On the Attribute Storage window, select the Store values of this virtual attribute
in the Active Roles Administration database check box.
10. Click Next, and then click Finish to complete the wizard.
To enable the new attribute, reconnect to the Administration Service: right-click the
console tree root and click Reconnect.
In the Active Roles console, you can manage the Birthday attribute on a user
account as follows:
1. Right-click the user account and select All Tasks | Advanced Properties.
2. In the Advanced Properties dialog box, select both the Show all possible
attributes and Include attributes with empty values check boxes.
3. Click Birthday in the list of properties, and then click Edit.
4. In the Value box, type a birthday date.
5. Click OK.
You can also manage the Birthday attribute via the Active Roles Web Interface.
First, you need to add the Birthday field to a form that displays user properties, and
associate that field with the Birthday attribute. You can accomplish this by customizing the
form. For instructions on how to add a field to a form, refer to the Active Roles Web
Interface Administration Guide.
Then, the Birthday attribute can be managed by accessing user properties in a Web
Interface site. For example, users can view and modify this attribute via Site for Self-
Administration, provided that you have self-administration implemented (see Scenario
2: Implementing Self-administration in the Role-based Administration chapter earlier in
this document).
l User Logon name of the account used by the session to connect to the
Administration Service.
l Active Roles Admin Whether or not the client is logged on as a member of the
Active Roles Admin account, and thus has administrator rights on the
Administration Service.
l Client Version Client application, such as MMC Interface or Web Interface, and
its version.
l Last Access Time Date and time that the Administration Service was last accessed
within this session.
l Logon Time Date and time that the session was opened.
l Client Host DNS name of the computer running the client application.
l Client Site Network site of the computer running the client application.
1. Connect to the Administration Service you want to examine for the client sessions.
2. In the console tree, expand Configuration | Server Configuration, and select
Client Sessions.
As a result, the details pane lists the client sessions for the Administration Service to
which the console is connected.
By using the shortcut menu on a client session, you can also perform the following tasks:
For example, to view additional information about a session, right-click the session in the
details pane and click Properties.
The Properties dialog box for a client session includes the following tabs:
l General Information about the session user, client version, client host, and
client site.
l Client Activity Information about logon time, last access time, and the number of
operations performed within the session, grouped by operation type.
l Member Of List of all security groups computed due to a transitive group
membership expansion operation on the session user at the moment of session start.
l Domain Controllers Information about the domain controllers used to retrieve and
update directory data within the session.
To examine Administration Service performance counters, you can use the Performance
tool on the computer running the Administration Service:
1. Start the Performance tool: click Start and select All Programs | Administrative
Tools | Performance.
2. In the console tree, select System Monitor.
3. Click in the details pane, and then press CTRL+I to display the Add
Counters dialog box.
4. From the list in the Performance object box, select any name that begins with the
prefix AR Server. For example, you might select AR Server:Requests.
5. Select an item from the list of counters. For example, you might select
Requests/sec.
6. Click Add and then click Close.
As a result, the Performance tool displays the output of the counter you have selected.
1. Open the Active Roles console and switch into Raw view mode (select View | Mode,
then click Raw Mode and click OK).
2. In the console tree, expand Configuration | Application Configuration, and
select the Active Roles Display Specifiers (Custom) container.
4. In the locale container, create the custom display specifier named user-Display.
You can do this by using the All Tasks | Advanced Create command on the locale
container to create an object of the class Display-Specifier. Note that the name of
the display specifier is case-sensitive, so you should type the name for the new
display specifier exactly user-Display, not user-display or User-display.
As a result of these steps, the New Object - User wizard includes an extra page where you
can specify values for the properties you selected in Step 7. You can start the wizard in the
Active Roles console by right-clicking an organizational unit in the console tree, and then
selecting New | User. Follow the wizard steps to reach the page containing the list of
“other” properties.
1. Open the Active Roles console and switch into Raw view mode (select View | Mode,
then click Raw Mode and click OK).
2. In the console tree, expand Configuration | Application Configuration, and
select the Active Roles Display Specifiers (Custom) container.
3. Use the All Tasks | Advanced Create command to create the appropriate
locale container.
The custom display specifier must be created in the locale container matching the
locale of your environment. These locale containers are named using the hex
representation of that locale’s LCID. Thus the US/English locale’s container is named
409, the German locale’s container is named 407, the Japanese locale’s container is
named 411, and so forth.
You may need to first create the appropriate locale container. You can do this by
using the All Tasks | Advanced Create command to create an object of the class
EDS-Display-Specifier-Container.
4. In the locale container, create the custom display specifier named user-Display.
You can do this by using the All Tasks | Advanced Create command on the locale
container to create an object of the class Display-Specifier. Note that the name of
the display specifier is case-sensitive, so you should type the name for the new
display specifier exactly user-Display, not user-display or User-display.
As a result of these steps, the Properties dialog box includes the Other Properties tab
where you can view or modify values of the properties you selected in Step 7. You can
access that tab in the Active Roles console by right-clicking a user account and then clicking
Properties.
To customize the English-language display name for the User object class
within a forest
1. Open the Active Roles console and switch into Raw view mode (select View | Mode,
then click Raw Mode and click OK).
2. In the console tree, expand Active Directory | Configuration Container |
Display Specifiers, and select the 409 container.
3. In the details pane, right-click user-Display and click Properties.
4. On the Display Names tab, in Display name for object type, modify the display
name as appropriate, and then click OK.
5. Restart the Administration Service and then reconnect the Console to the Service, for
your changes to take effect.
By using these steps, you make changes to the display specifier held in Active Directory, so
your changes affect not only Active Roles but also any client application intended to
manage user objects in Active Directory, such as Active Directory Users and Computers. If
you only want the display names to be customized within the Active Roles client interfaces,
make changes to the custom display specifiers held in the Active Roles Display
Specifiers (Custom) container. The Properties dialog box for custom display specifiers
also includes the Display Names tab, allowing you to customize display names so that
your changes only affect the Active Roles environment.
The Configuration Center operations are fully scriptable using Windows PowerShell
command-line tools provided by the Active Roles Management Shell.
l From the Web Interface page, you can view, create, modify, delete Web Interface
sites, enable force SSL redirection, and configure authentication settings; export
configuration of any existing Web Interface site to a file; open each site in a Web
l On Windows Server 2016 or later, click the Active Roles 7.6 Configuration
Center tile on the Apps page.
As Configuration Center can manage Active Roles not only on the local computer but also
on remote computers, it is possible to use it on a client operating system as well as on
server operating systems. You can install Configuration Center by installing Active Roles
Management Tools on a 64-bit (x64) server or client operating system, and then connect it
to a remote computer on which the Administration Service or Web Interface is installed. To
start Configuration Center on a client operating system:
l On Windows 7, select Start | All Programs | One Identity Active Roles 7.6 |
Active Roles 7.6 Configuration Center.
l On Windows 8 or later, click the Active Roles 7.6 Configuration Center tile on
the Apps page.
9. Click Next.
NOTE: If the Certificates from Trusted Publishers are not installed on the system on
which Active Roles is installed, then the Configuration Center may not launch
successfully.
l Initial configuration tasks, creating the Administration Service instance and the
default Web Interface sites.
l Configuration management tasks, letting you manage the existing instance of the
Administration Service or Web Interface.
l Logging management tasks, enabling or disabling, and viewing AppInsights and
diagnostic logs for Active Roles components that are installed on the computer
running Configuration Center.
l Configuration task to join Active Roles to One Identity Starling.
l Management of MMC interface user login settings.
To perform configuration tasks, you need administrator rights on computer on which the
Administration Service or Web Interface is installed. In addition, if you are going to create
a new Active Roles database, then you need SQL Server rights sufficient to create
l The logon name and password of the account in which this Administration Service
instance will be running (service account)
l The name of the group or user account that will have full access to all Active
Roles features and functions through this Administration Service instance (Active
Roles Admin)
l The database in which this Administration Service instance will store the
configuration data and management history data
You have the option to create a new database, or use an existing database of the
current Active Roles version. It is possible to have multiple Administration Service
instances use the same database.
l The authentication mode that this Administration Service instance will use when
connecting to the database
With the Windows authentication option, the Administration Service will use the
credentials of the service account; with the SQL Server authentication option,
the Administration Service will use the SQL login name and password you
supply in the wizard.
l With Azure AD authentication option, the Administration Service will use username
and password of the AD User.
l Azure Databases can be connected using SQL Server authentication or Azure AD
authentication.
To start the wizard, click Configure in the Administration Service area on the
Dashboard page in the Configuration Center main window. For further information and
step-by-step instructions, see “Steps to deploy the Administration Service” in the Active
Roles Quick Start Guide.
l Use the Administration Service instance running on the same computer as the
Web Interface
l Use the Administration Service instance running on a different computer
This option requires you to supply the fully qualified domain name of the computer
running the desired instance of the Administration Service.
l Let the Web Interface choose any Administration Service instance that has the same
configuration as the given one
This option requires you to supply the fully qualified domain name of the computer
running the Administration Service instance of the desired configuration. If your
environment employs Active Roles replication, this must be the computer running the
Administration Service instance whose database server acts as the Publisher for the
Active Roles configuration database.
To start the wizard, click Configure in the Web Interface area on the Dashboard page
in the Configuration Center main window. For further information and step-by-step
instructions, see the “Initial configuration” topic in the “Installing and configuring the Web
Interface” section in the Active Roles Quick Start Guide.
l View or change the core Administration Service settings such as the service account,
the Active Roles Admin account, and the database
l Import configuration data from an Active Roles database of the current version or an
earlier version to the current database of the Administration Service
l Import management history data from an Active Roles database of the current
version or an earlier version to the current database of the Administration Service
l View the state of the Administration Service
l Start, stop or restart the Administration Service
l The SQL Server instance that hosts the Active Roles Management History database
l The name of the Active Roles Management History database
l The Management History database connection authentication mode (Windows
authentication or SQL Server login)
The service account that is used for performing the in-place upgrade or the import or
migration operation should have the following permissions in the SQL Server to perform
the operation:
By default, the database users, permissions, logins, and roles are imported to the
destination database. You can clear the Copy database users, permissions, logins,
and roles check box in the following locations depending on the operation:
NOTE: Depending on the infrastructure, the import operation may take several minutes
to complete.
The task of importing configuration data arises when you upgrade the Administration
Service. In this case, you need to transfer the Active Roles configuration data from the
database used by your Administration Service of the earlier version to the database used
by your Administration Service of the new version. To perform this task, click Import
configuration on the Administration Service page in the Configuration Center main
window, and follow the steps in the Import configuration wizard that appears.
The Import configuration wizard prompts you to specify the Active Roles database from
which you want to import the configuration data (source database) and identifies the
database of the current Administration Service to which the configuration data will be
imported (destination database), letting you choose the connection authentication mode
(Windows authentication, SQL Server login or Azure AD login) for each database.
The Add-on advisor page displays all the pre-installed add-ons for the earlier version of
Active Roles. These Add-ons must be uninstalled manually from the earlier version using
the Active Roles Add-on Manager and from the system where ever applicable, before
continuing configuration import.
The Azure Tenant association page displays the lists of configured Azure tenants in the
source database and options for association. The Azure Tenant association section notifies
you to select an Azure tenant from the drop-down list of Azure tenants configured in the
source database, and the selected Azure tenant is associated with all Azure objects in the
destination database. You can also choose to Run Azure Tenant association
The Services association page displays options to configure the Administration services
for executing Dynamic Groups, Group Families, and Scheduled tasks. You can choose to
run the Services association immediately or Schedule Service association.
NOTE: If Services association is scheduled at a certain time and the upgrade/import
operation is still in progress or completes after the Services association scheduled
time, the services are not associated. You have to run the built-in scheduled task
Update Services To ExecuteOn from the Active Roles console to manually associate
the Services.
To ensure Dynamic Groups, Group Families, and Scheduled tasks continue to function after
an import the installation configures the new Active Roles server as the executing server
for the tasks mentioned above. The configuration mentioned in the Services association
page runs after an upgrade.
NOTE:
l Alternatively, Services association can be performed any time using the template
workflow Update Services To Execute On available in the built-in Workflow
Container. The parameters in the script used by the workflow can be configured to
the required administration services, such as, Dynamic Group Service, Group
Family Service, Scheduled Task Service. You can select the administration
service from the drop-down list. The drop-down list displays all the currently
running administration services that are connected to the current configuration
database. If the parameter value is not selected, then the current administration
service is used.
l Services association does not update certain scheduled tasks, For example,
scheduled tasks that cannot be edited (Managed Object Counter) or scheduled
tasks that are set to All servers option.
After successfully uninstalling the add-ons, the wizard performs the import operation.
During the import operation, the wizard retrieves and upgrades the data from the source
database, and replaces the data in the destination database with the upgraded data from
the source database.
For further information and step-by-step instructions, see “Importing configuration data” in
the Active Roles Quick Start Guide.
The service account that is used for performing the in-place upgrade or the import or
migration operation should have the following permissions in the SQL Server to perform
the operation:
By default, the database users, permissions, logins, and roles are imported to the
destination database. You can clear the Copy database users, permissions, logins,
and roles check box in the following locations depending on the operation:
Although this task looks similar to the task of importing configuration data, there are
important differences:
l The wizard does not replace the existing data in the destination database. It only
retrieves and upgrades management history records from the source database, and
then adds the upgraded records to the destination database.
To start the Management History Import wizard, click Import Management History on
the Administration Service page in the Configuration Center main window. The wizard
prompts you to specify the Active Roles database from which you want to import the
management history data (source database) and identifies the database of the current
Administration Service to which the management history data will be imported (destination
database), letting you choose the connection authentication mode (Windows
authentication, SQL Server login, or Azure AD login) for each database. Then, the wizard
lets you choose whether you want to import all management history records or only
records within a certain date range, and performs the import operation. During the import
operation, the wizard retrieves and upgrades management history records from the source
database, and adds the upgraded records to the destination database.
For further information and step-by-step instructions, see “Importing management history
data” in the Active Roles Quick Start Guide.
l Ready for use Administration Service is running and ready to process client
requests.
l Getting ready Administration Service has just started and is preparing to process
client requests.
l Stopping Administration Service is preparing to stop.
l Stopped Administration Service is stopped.
l Unknown Unable to retrieve the state information.
l Identify the Web Interface sites that are currently deployed on the Web server
running the Web Interface
l Create, modify or delete Web Interface sites
l Export a Web Interface site’s configuration object to a file
l IIS Web site The name of the Web site that holds the Web application
implementing the Web Interface site
l Web app alias The alias of the Web application that implements the Web Interface
site, which defines the virtual path of that application on the Web server
l Configuration Identifies the object that holds the Web Interface site’s configuration
and customization data on the Active Roles Administration Service
From the Web Interface page, you can open Web Interface sites in your Web
browser: Click an entry in the list of Web Interface sites and then click Open in
Browser on toolbar.
l Choose the Web site to contain the Web application that implements the new Web
Interface site
l Supply the desired alias for that Web application. The alias defines the virtual path
that becomes part of the Web Interface site’s address (URL).
Then, the wizard lets you specify the object to hold the configuration and customization
data of the new Web Interface site on the Active Roles Administration Service. You can
choose from the following options:
For further information and step-by-step instructions, see the “Additional configuration”
topic in the “Installing and configuring the Web Interface” section in the Active Roles Quick
Start Guide.
l Choose the Web site to contain the Web application that implements the Web
Interface site
l Supply the desired alias for that Web application. The alias defines the virtual path
that becomes part of the Web Interface site’s address (URL).
Then, the wizard lets you specify the object to hold the site’s configuration and
customization data on the Active Roles Administration Service. You can choose from the
following options:
For further information and step-by-step instructions, see the “Additional configuration”
topic in the “Installing and configuring the Web Interface” section in the Active Roles Quick
Start Guide.
To configure the Web interface for secure communication for the first time
4. To enable the force SSL redirection, switch between the Enable Force SSL
Redirection states. Turn it on.
NOTE:
l If the website is not configured earlier for secure communication, the
Enable Force SSL Redirection option is not selected by default and the
HTTPS configuration status is shown as Not configured.
l If the website is configured earlier for secure communication, then the
Enable Force SSL Redirection option is selected by default and the HTTPS
configuration status shows as Configured.
l If the website is configured earlier for secure communication, and the
SSL bindings was deleted in the IIS site, the Enable Force SSL
Redirection option is selected by default. The status Binding Deleted is
displayed. In this case, the secure communication must be configured
again for the web site.
5. In the Available HTTPS Bindings field, click the drop-down list and select the
required binding for the web site.
6. Click Modify.
After successful completion of configuration changes, in the Web Interface window,
the Force SSL Redirection configuration state for the selected web site is displayed as
green and enabled.
For the configured web site, any HTTP communication is now redirected to HTTPS
automatically.
After disabling the Force SSL Redirection, all communication is now redirected
to HTTP.
For more information on secure communication and Federated Authentication, see Working
with federated authentication.
1. On the Dashboard page in the Configuration Settings main window, in the MMC
Interface Access area, click Manage Settings .
2. On the MMC Interface Access page that opens, in the Settings area, click on the
Component item, and then click Modify or double-click on the Component item.
3. On the MMC Interface Access wizard that is displayed, select one of the following
options:
l Allow Console (MMC Interface) access for all users: Enables user to log
in to MMC interface.
l Restrict Console (MMC Interface) access for all users: Selecting this
option restricts all non Active Roles Administrators from using the console. All
NOTE:
l The user must be delegated with the User Interfaces access rights on the
User Interfaces container under Server Configuration to obtain access to
the MMC interface. User Interfaces Access templates that provide the access
rights are available as part of the Active Roles built-in Access templates in the
User Interfaces container.
l For information on delegating Console access to specified users, see Delegating
control to users for accessing MMC interface
The toolbar on the Logging page allows you to perform the following tasks:
l To enable or disable logging for a given component, select the component in the list,
and then click Modify on the toolbar.
l To open the folder that contains the log file or files for a given component, select the
component in the list, and then click Browse with Explorer on the toolbar.
l To examine the Administration Service log file in Log Viewer, select Administration
Service in the list of components and then click Open in Log Viewer on the
toolbar. For information about Log Viewer, see Active Roles Log Viewer later in
this document.
l Product version
l Language name
l Language display name
l Language code identifier
l Installation of language pack
You can enable or disable Solution Intelligence by using Configuration Center. For
information on managing Solution Intelligence for Active Roles, see Enabling or disabling
Solution Intelligence.
NOTE:Active Roles Service must be installed and running on the system for the
Solution Intelligence feature to be .
l The Key Distribution Services (KDS) Root Key must be available in the KDS service
on the Domain controller.
l The computers and groups that have servers with Active Roles Service installed on
them, must be added to the gMSA account.
l The gMSA account must be available in the Local Administrators group where
the Active Roles service is installed and in the built-in Administrators group of
the domain.
l The gMSA account must have an SQL login with db_Owner permission for Active
Roles database.
l The gMSA account name must be unique across domains.
NOTE: When you create a new database, you can add the DB_owner permission
to gMSA account for the new database only after the Administration Service is
configured.
Based on the authentication mode that the Administration Service instance uses
when connecting to the database, the Administrative Service uses the relevant
credentials:
l With the Windows authentication option, the Administration Service will use the
credentials of the service account.
l With the SQL Server authentication option, the Administration Service will use
the SQL login name and password you supply in the wizard.
10. After all steps are complete, review the settings on the Ready to Configure
summary page and click Configure to complete the configuration.
The Active Roles Admin setting is specific to the instance of the Administration Service. If
you have multiple Administration Service instances deployed in your environment, then
you need to apply the changes on each computer running the Administration Service.
You can start Configuration Center by selecting Configuration Center on the Apps page
or Start menu, depending upon the version of your Windows operating system. For
detailed instructions, see Running Configuration Center.
The Active Roles Admin setting is specific to the instance of the Administration Service. If
you have multiple Administration Service instances deployed in your environment, then
you need to apply the changes on each computer running the Administration Service.
l Choose the level of verbosity for the Administration Service: Basic or Verbose.
The Verbose option results in a more detailed log, but considerably increases the
size of the log file.
It is also possible to enable or disable diagnostic logs by using Configuration Center (see
Logging management tasks earlier in this document). The following instructions apply to
the Active Roles console.
1. Log on as an Active Roles Admin, and open the Active Roles console.
2. In the Active Roles console tree, click the root node to display the Active Roles
summary page in the details pane.
3. On the summary page, expand the Diagnostics area.
In the Diagnostics area, you can view whether the Active Roles Administration
Service’s diagnostic logging is currently enabled (turned on) or disabled (turned off).
l Errors encountered by the Administration Service and recorded in the log file
l Requests processed by the Administration Service and traced in the log file
l All trace records found in the diagnostic log file
l All events found in the event log file
When you select an error in the list, you can choose a command to look for solution in
Knowledge Base. The command performs a search in One Identity Software Knowledge
Base to list the Knowledge Articles that can provide helpful information on how to
troubleshoot the error you selected.
Log Viewer also enables you to:
l Search the list for a particular text string, such as an error message
l Filter the list by various conditions, to narrow the set of list items to those you are
interested in
l View detailed information about each list item, such as error details, request details
or stack trace
l To view a list of requests processed by the Administration Service and traced in the
log file, click Requests in the View area on the Log Viewer toolbar.
l To view all trace records found in the diagnostic log file or all events found in the
event log file, click Raw log records in the View area on the Log Viewer toolbar.
l To search the list for a particular text string, such as an error message, type the text
string in the Search box on the Log Viewer toolbar and press Enter.
l To narrow the set of list items to those you are interested in, click Filter on the Log
Viewer toolbar and specify the desired filter conditions.
l To view detailed information about an error, request, trace record or event, right-
click the corresponding list item, and click Details.
l To view all trace records that apply to a given request, right-click the corresponding
item in the Requests list and click Stack trace. This task is unavailable in case of
an event log file.
l To view the request that caused a given error, right-click the error in the Errors list
and click Related request. This task is unavailable in case of an event log file.
To view all trace records that apply to the request that caused a given error, right-click the
error in the Errors list and click Stack trace for related request. This task is
unavailable in case of an event log file.
SQL Server database replication feature enables copying and distribution of data between
different nodes, which provide the functionality for maintaining replicated data.
Active Roles uses the replication functionality of Microsoft SQL Server to copy and
distribute configuration data from one Administration Service database to another, and to
synchronize data among the databases for consistency.
To understand the replication terminologies, the type of SQL Server Replication model that
Active Roles uses, and the steps required to configure replication see the following topics:
l Replication terminology
l Understanding the Replication model
l SQL Server-related permissions
l Configuring SQL Server
l Configuring replication
l The replication group
l Monitoring replication
l Using Always On Availability Groups
l Using database mirroring
l Best practices
l Troubleshooting Replication failures
NOTE: SQL Server Books Online should be the primary resource you use for SQL
Server replication questions. All contents relevant to Microsoft SQL Server replic-
ation is indexed under the “SQL Server Replication” topic in SQL Server Books Online
at http://technet.microsoft.com/library/ms151198.aspx.
Replication terminology
This section explains the basic terms and concepts used in replication.
Publisher
The Publisher is a database server that makes data available for replication to other
database servers. The Publisher can have one or more publications, each representing a
logically related set of data. In the Active Roles replication model, the Publisher has only
one publication.
Subscribers
Subscribers are database servers that receive replicated data. Depending on the type of
replication, the Subscriber can propagate data changes back to the Publisher or republish
the data to other Subscribers. In the Active Roles replication model, a Subscriber can
propagate data changes to the Publisher and receive replicated data from the Publisher.
Distributor
The Distributor is a server that hosts the distribution database and stores history data,
transactions, and metadata. In the Active Roles replication model, the same server is used
as both the Publisher and Distributor.
Replication group
In the Active Roles replication model, the Publisher and its Subscribers are collectively
referred to as replication group, with each server in the replication group being referred to
as replication partner.
Replication group is comprised of replication partners that include a single Publisher and
may include any number of Subscribers. When data in a replication partner’s database
changes, replication ensures that the data changes are propagated to the databases
maintained by all the other replication partners.
Replication Agents
Replication Agents used with Microsoft SQL Server replication carry out the tasks
associated with copying and distributing data. The Active Roles replication model employs
the Snapshot Agent and Merge Agents.
Snapshot Agent
The Snapshot Agent prepares schema and initial data files of published tables and stored
procedures, stores the snapshot files, and records information about synchronization in
the distribution database. In the Active Roles replication model, the Snapshot Agent runs
at the Publisher.
Merge Agent
The Merge Agent applies the initial snapshot to the Subscriber, and moves and reconciles
incremental data changes that occur. Each Subscriber has its own Merge Agent that
connects to both the Publisher and the Subscriber and updates both.
l Publisher The Publisher is the database server that makes data available for
replication to other replication partners.
The Administration Service that uses the Publisher database server is referred to as
the Publisher Administration Service.
This section briefly discusses the following elements of the Active Roles replication model:
Promote
This task assigns the Publisher role to the Administration Service database server, thereby
creating a replication group. When performing the Promote task, SQL Server creates the
AelitaReplica publication, and starts the Snapshot Agent. The Agent creates an initial
snapshot of schema and data, and saves it to the snapshot folder.
Active Roles automatically specifies and passes to SQL Server all replication settings, such
as filters, type of replication, and retention period for subscriptions. For details, see
Viewing replication settings later in this document.
Add
This task adds the Administration Service database server to the replication group, thus
assigning the Subscriber role to the database server. When performing the Add task, SQL
Server starts the Merge Agent. The Agent copies data from the Publisher’s snapshot folder
to the Subscriber SQL Server. This process is referred to as applying the initial snapshot
(see "Create and Apply the Snapshot" in SQL Server Books Online at
http://msdn.microsoft.com/en-us/library/ms151785.aspx).
Delete
This task removes the Subscriber from the replication group, causing the database server
to revert to the standalone state. When performing the Delete task, SQL Server deletes
the subscription at the Publisher. The database of the former Subscriber retains the
replicated data.
Demote
This task removes the Publisher from the replication group, causing the database server to
revert to the standalone state. The Publisher can only be demoted after all of its
Subscribers are deleted. When performing the Demote task, SQL Server deletes the
AelitaReplica publication, and erases data in the snapshot folder.
l When data is modified at a Subscriber, the data changes are sent to the Publisher.
Then, the Publisher propagates the data changes to the other Subscribers.
l When data is modified at the Publisher, the data changes are propagated to the
Subscribers.
These operations are performed by the Merge Agents running on the Publisher SQL Server.
The Merge Agents are configured so that once data changes are made at a given replication
partner, it normally takes two minutes or less for SQL Server to start synchronizing the
data changes with other replication partners. The time required for the synchronization
process to be completed depends on SQL Server load and on the bandwidth of network
connections. As there is normally a moderate volume of data changes, the replication
traffic is manageable.
The synchronization process tracks data changes on both the Subscribers and the
Publisher. At the Publisher, the changes are merged to form a single version of the
data. During the merge, some conflicts may be found where multiple Subscribers
modified the same data.
.Any conflict between the arrived values is automatically resolved based on the Microsoft
SQL Server DATETIME (Later Wins) Conflict Resolver: The winner of the conflict is chosen
according to a “later wins” solution, with the last to modify the data winning the conflict.
For information about conflict resolvers, see Microsoft COM-Based Resolvers in SQL Server
Books Online at http://msdn.microsoft.com/en-us/library/ms152573.aspx.
Configuring replication
Active Roles uses the replication functionality of Microsoft SQL Server to copy and
distribute configuration data from one Administration Service database to another, and to
synchronize data among the databases for consistency.
Administration Service database servers synchronized by using the SQL Server replication
function are referred to as replication partners. Each replication partner maintains a
writable copy of the Service’s configuration and Management history data. Whenever
changes are made to one replication partner, the changes are propagated to the other
replication partners.
To connect to the Administration Service, use the instructions provided earlier in this
chapter (see Connecting to the Administration Service).
Once connected to the Administration Service, perform the following steps to promote the
Administration Server database server to Publisher:
NOTE: The Promote command is only displayed if the Administration Service uses a
standalone database server, that is, a database server that does not belong to any
replication group.
After you click Promote, it takes several minutes to complete the operation. When the
operation is completed, the new replication group has a single member—the Publisher.
Once the replication group has been created, you can add replication partners—
Subscribers.
After the Promote operation is completed, both the configuration and management history
databases are replicated.
If Active Roles does not have sufficient rights to perform the Promote operation on SQL
Server, then the Active Roles console prompts you to supply an alternative account for that
operation (see “Permissions for creating or removing the Publisher” in the Active Roles
Quick Start Guide).
l Impersonate SQL Server Agent service account Use this option if the SQL
Server Agent service on the Publisher SQL Server is configured to log on as a
Windows user account that has sufficient rights on the Subscriber SQL Server. If
this option is selected, the replication agent connects to the Subscriber SQL
Server under the logon account of the SQL Server Agent service running on the
Publisher SQL Server.
l Use SQL Server Authentication with the following login and password Use
this option if the SQL Server Agent service logon account cannot be configured to
have sufficient rights on the Subscriber SQL Server. You are prompted to specify the
SQL Server login and password that the replication agent running on the Publisher
SQL Server will use to connect to the Subscriber SQL Server.
The account that the replication agent uses to connect to the Subscriber SQL Server must at
minimum be a member of the db_owner fixed database role in the subscription database
(Active Roles’ database on the Subscriber). For further details, see “Replication agent
permissions” in the Active Roles Quick Start Guide.
The completion page of the wizard allows you to review summary information about the
database server you are going to make a Subscriber. After you click Finish, the database
server is added to the replication group. The replication process updates the database of
the new Subscriber with the data retrieved from the Publisher.
IMPORTANT: The Publisher copies new data to the database, overwriting the existing
data. If the database contains valuable information, such as custom Access
Templates or Policy Objects, you should export those objects before designating the
database server as a Subscriber, and import them back after the operation is
completed.
NOTE:
l After you click Finish, the database server is added to the replication group.
The replication process updates the database of the new Subscriber with the
data retrieved from the Publisher.
l The Publisher copies new data to the database, overwriting the existing data. If
the database contains valuable information, such as custom Access Templates
or Policy Objects, you should export those objects before designating the
database as a Subscriber, and import them back after the operation is
completed.
l A database cannot be added to a replication group if it already belongs to
another replication group. To add the database to another replication group,
you must first remove it from its current replication group, and then add it to
the other one.
If Active Roles does not have sufficient rights to perform the operation on SQL Server,
then the Active Roles console prompts you to supply an alternative account for that
operation (see “Permissions for adding or removing a Subscriber” in the Active Roles
Quick Start Guide).
Using this method, you can remove only Subscribers. The Publisher cannot be removed
from its replication group when the group includes Subscribers.
To remove the Publisher, you must first remove all Subscribers, and then demote the
Publisher. This action deletes the entire replication group.
After you remove all Subscribers, you can demote the Publisher: in the Configuration
Databases container, right-click the Publisher and click Demote.
If Active Roles does not have sufficient rights to perform the Demote operation on SQL
Server, then the Active Roles console prompts you to supply an alternative account for that
operation (see “Permissions for creating or removing the Publisher” in the Active Roles
Quick Start Guide).
NOTE:
Monitoring replication
Active Roles makes it possible to monitor the status of replication partners. Monitoring
allows you to determine whether Active Roles replication is working efficiently and
correctly. You can view the status of a replication partner via the Active Roles console:
To connect to the Administration Service, use the instructions provided earlier in this
chapter (see Connecting to the Administration Service).
The Replication Status tab in the Properties dialog box provides information about the
last replication action of the partner and indicates whether the action completed
successfully, failed, or is in progress.
If there are any replication failures in Active Roles, the Active Roles console provides a
visual indication of this issue by modifying the icon of the Server Configuration and
Configuration Databases containers in the console tree. This allows you to detect a
replication failure without examining individual databases.
For more information on how to monitor the health of Active Roles replication, refer to the
Active Roles Replication: Best Practices and Troubleshooting document.
Prerequisites
1. Start the Active Roles Configuration Center on the computer running the
Administration Service, or connect the Active Roles Configuration Center to
that computer.
2. On the Active Roles Configuration Center Dashboard, in Administration Service,
click Manage Settings.
The Connection to Database page opens.
3. To modify the database connection of the Administration Service, in Connection to
Database > Active Roles databases, click Change.
If the DNS host name of the listener is AGListener and the TCP port used by this
listener is 1234, the value is AGListener,1234. You can omit the port number in
case of the default port, 1433.
5. Click Next.
6. To complete the configuration, follow the instructions of the wizard.
Role switching
Within the context of database mirroring, the mirror server acts as the failover partner for
the principal server. In the event of a disaster, the mirror server takes over the role of the
l Automatic failover If the principal server becomes unavailable, quickly brings the
mirror copy of the database online as the new principal database.
l Manual failover Allows the database owner to reverse the roles of the failover
partners, if necessary.
l Forced service If the principal server becomes unavailable, allows the database
owner to restore access to the database by forcing the mirror server to take over the
role of the principal server.
In any role-switching scenario, as soon as the new principal database comes online, the
Administration Service can recover by automatically reconnecting to the database.
For more information about the database mirroring technology, and instructions on how to
set up and administer database mirroring on SQL Server, see the “Database Mirroring”
topics in the SQL Server product documentation at http://msdn.microsoft.com/en-
us/library/bb934127.aspx.
NOTE: The Active Roles replication function is not supported for the databases that
have mirroring set up. If you attempt to perform the “Promote to Publisher” or “Add
Subscriber” operation on such a database, you receive an error.
If the default instance is used, the value data is the short name of the computer running
SQL Server. Otherwise, the value data is the short name of the computer, followed by a
backslash, followed by the name of the instance (such as ComputerName\InstanceName).
By default, the same database is used for the Configuration and Management History data;
therefore, the value data would be the same in the DatabaseConnectionString and
CHDatabaseConnectionString keys.
To restart the Administration Service, open Configuration Center and click the Restart
button at the top of the Administration Service page in the Configuration Center main
window. For instructions on how to run Configuration Center, see Running Configuration
Center later in this document.
In the Active Roles console, you can view the mirroring status of the Configuration or
Management History database that is used by a particular instance of the
Administration Service:
You can also view the mirroring status of a Configuration database or a Management
History database on the General tab in the Properties dialog box for the object
representing that database in the Configuration/Server Configuration/Configuration
Databases or Configuration/Server Configuration/Management History
Databases container, respectively.
You can use the following instructions to examine these settings using SQL Server
Management Studio.
1. In Object Explorer, under the Publisher SQL Server, expand Replication | Local
Publications.
2. In Object Explorer, under Local Publications, right-click AelitaReplica, and click
Properties.
In the Publication Properties dialog box, you can review the Active Roles
publication settings.
Open the Subscription Properties dialog box:
In the Subscription Properties dialog box, you can review the Active Roles
subscription settings.
l The Snapshot Agent starts every day at 12:00 a.m. at the Publisher.
l The Merge Agents start automatically when SQL Server Agent starts, and runs
continuously at the Publisher.
Monitoring replication
In order to identify replication-related problems, you can use the Active Roles console
connected to the Publisher Administration Service. If there are any replication failures, a
red triangle is displayed on the Server Configuration and Configuration Databases
containers in the console tree. In the details pane, the same icon is used to highlight the
database affected by a replication failure.
If you have encountered a replication failure, you should ensure that the SQL Server Agent
service is started on the computer running the Publisher SQL Server, and then use SQL
Server Management Studio to get more information on that failure:
1. In Object Explorer, connect to the instance of the SQL Server Database Engine that
holds the Publisher role, and then expand that instance.
2. Right-click the Replication folder, and click Launch Replication Monitor.
3. In the left pane of the Replication Monitor window, expand your Publisher SQL
Server, and click AelitaReplica.
4. In the right pane of the Replication Monitor window, on the Warnings and
Agents tab, look for a red icon under Agents and jobs related to this
publication. This icon indicates a Snapshot Agent error:
5. Right-click the agent that has encountered an error and then click View Details.
Some typical errors are discussed later in this document (see the Troubleshooting
Replication failures section). The Troubleshooting Replication failures section also provides
information on how to resolve such errors.
l SQL Server Identifies the SQL Server instance used by the Administration Service.
l Database The name of the Administration Service database.
l Use Windows authentication When selected, indicates that the Administration
Service uses Windows authentication mode when connecting to SQL Server.
l Use SQL Server authentication When selected, indicates that the Administration
Service uses SQL Server authentication mode when connecting to SQL Server.
l Login name The name of the SQL Server login that the Administration Service uses
to access SQL Server; only applies to the Use SQL Server authentication option.
You can start Configuration Center by selecting Active Roles 7.6 Configuration
Center on the Apps page or Start menu, depending upon the version of your
Windows operating system. For detailed instructions, see “Running Configuration
Center” in the Active Roles Administrator Guide.
2. On the Dashboard page in the Configuration Center main window, click Manage
Settings in the Administration Service area.
3. On the Administration Service page that opens, click Change in the Active Roles
database area.
4. Use the Change Active Roles Database wizard that appears to view or change the
login or password of the Administration Service for SQL Server authentication: Type
the appropriate login name and password in the fields under the SQL Server
authentication option on the Connection to Database page.
You can start Configuration Center by selecting Active Roles 7.6 Configuration
Center on the Apps page or Start menu, depending upon the version of your
Windows operating system. For detailed instructions, see “Running Configuration
Center” in the Active Roles Administrator Guide.
1. On the computer running the Publisher SQL Server, open SQL Server
Configuration Manager.
2. In the console tree, select SQL Server Services.
3. In the details pane, right-click the SQL Server Agent to modify, and then click
Properties.
4. On the Log On tab, click This account, and specify the account name and password.
5. Click OK.
6. For the changes to take effect, click Yes in the confirmation message box.
Windows authentication
If the Administration Service uses Windows authentication, Replication Agents connect to
SQL Server in the security context of the SQL Server Agent service. Therefore, the SQL
Server Agent logon account must have sufficient permissions for replication to work
properly (see the “SQL Server permissions” section in the Active Roles Quick Start Guide.
If the SQL Server Agent logon account does not have the appropriate permissions, is
deleted, or has the password changed, Active Roles replication fails. To resolve this
problem, give the required permissions to the logon account, or configure the SQL Server
Agent service to log on with a different account that has the appropriate permissions. For
instructions on how to configure the SQL Server Agent service to log on with a given
account, see Changing the SQL Server Agent logon account earlier in this document.
You can use the following instructions to verify that the Replication Agents are configured
properly. The instructions vary depending on whether the SQL Server holds the Publisher or
Subscriber role. In both cases, you should connect to the Publisher SQL Server using SQL
Server Management Studio.
1. With SQL Server Management Studio, connect to the Publisher SQL Server.
2. In the Object Browser, under the Publisher SQL Server, right-click the Replication
folder, and then click Distributor Properties.
3. In the left pane of the Distributor Properties window, click Publishers.
4. In the Publishers list, select the entry representing the Publisher SQL Server, and
click the button in that entry to display the Publisher Properties dialog box.
5. In the Publisher Properties dialog box, under Agent Connection to the
Publisher, verify that the Agent Connection Mode property is set to Impersonate
the agent process account.
1. With SQL Server Management Studio, connect to the Publisher SQL Server.
NOTE: You must have Management Studio connected to the Publisher SQL
Server, regardless of whether you are managing Replication Agents for the
Publisher or for a Subscriber.
2. In the Object Browser, under the Publisher SQL Server, expand Replication | Local
Publications | AelitaReplica.
3. In the list under AelitaReplica, right-click the entry corresponding to the Subscriber
SQL Server and click Properties.
4. In the Subscription Properties window, in the Security section, expand the
Subscriber connection entry.
5. Verify that the Subscriber connection property is set to Impersonate agent
process account (Windows Authentication).
1. Choose a SQL Server login with sufficient rights (see the “SQL Server permissions”
section in the Active Roles Quick Start Guide).
2. Configure the Administration Service to use that login (see Viewing database
connection settings earlier in this document).
3. Configure the Replication Agents to use that login.
The following sections elaborate on how to configure the Replication Agents to use a given
SQL Server login. The instructions vary depending on whether SQL Server in question is the
Publisher or a Subscriber.
1. With SQL Server Management Studio, connect to the Publisher SQL Server.
NOTE: You must have Management Studio connected to the Publisher SQL
Server, regardless of whether you are managing Replication Agents for the
Publisher or for a Subscriber.
2. In the Object Browser, under the Publisher SQL Server, expand Replication | Local
Publications | AelitaReplica.
3. In the list under AelitaReplica, right-click the entry corresponding to the Subscriber
SQL Server and click Properties.
4. In the Subscription Properties window, in the Security section, expand the
Subscriber connection entry.
5. Click the button in the Subscriber Connection entry.
NOTE: The Publisher Administration Service must be up and running. If the Publisher
is unavailable, you can move the Publisher role using the instructions outlined in the
next section of this document.
Open the Active Roles console and connect to the Publisher Administration Service:
1. Look for the Active Roles Console application, and then click to start that
application.
2. Right-click the console tree root, click Connect, and then select the Administration
Service whose database server currently holds the Publisher role.
Use the Active Roles console to remove all Subscribers and to demote the Publisher
as follows:
After these steps, you can promote the appropriate SQL Server to Publisher and designate
the other SQL Servers as Subscribers to the new Publisher, thus configuring the new
replication group.
To configure the new replication group, perform the following steps using the Active
Roles console:
1. Right-click the console tree root, click Connect, and then select the Administration
Service whose SQL Server you want to hold the Publisher role.
2. In the console tree, expand Configuration | Server Configuration, and select the
Configuration Databases container.
3. In the details pane, right-click the database and click Promote.
4. In the confirmation message box, click Yes.
5. Wait while Active Roles performs the operation.
6. In the details pane, right-click the Publisher, and click Add Replication Partner.
7. On the Welcome page in the New Replication Partner wizard, click Next.
8. On the Database Selection page, click Browse.
9. In the Connect to Administration Service dialog box, select the
Administration Service whose SQL Server is to be configured as a Subscriber to
this Publisher. Click OK.
10. In the New Replication Partner wizard, click Next, click Next, and then click Finish.
11. Repeat Steps 6–10 for each SQL Server you want to make a Subscriber.
1. Right-click the console tree root, click Connect, and then select the Administration
Service that uses the Subscriber SQL Server.
Once you have removed all Subscribers from the replication group, you can promote one of
the former Subscribers to Publisher and add Subscribers to the new Publisher by using the
Active Roles console as follows:
1. Right-click the console tree root, click Connect, and then select the Administration
Service whose SQL Server you want to hold the Publisher role.
TIP: After you add a Subscriber, the configuration data stored on the Publisher
will be replicated to the Subscriber, overriding the data on that Subscriber.
Therefore, in order to retain your existing Active Roles configuration, assign
the Publisher role to one of the former Subscribers. This ensures that each
Administration Service in the new replication group inherits the configuration
that was in place when you removed the Subscribers from the replication
group.
Symptoms
Replication stops synchronizing changes to configuration data, that is, changes made on
a replication partner are not propagated to other replication partners. Replication
Monitor in SQL Server Enterprise Manager or SQL Server Management Studio does not
indicate any error.
Solution
Verify that the SQL Server Agent service is started on the Publisher SQL Server:
1. With SQL Server Management Studio, connect to the Publisher SQL Server.
2. In the console tree, right-click SQL Server Agent, and then click Start.
If the Start command is unavailable, the SQL Server Agent service is already
started.
Ensure that the Merge Agents are started on the Publisher SQL Server:
1. With SQL Server Management Studio, connect to the Publisher SQL Server.
2. In the console tree, right-click Replication, and click Launch Replication
Monitor.
3. In Replication Monitor, in the left pane, browse the My Publishers branch to select
the AelitaReplica publication.
4. In Replication Monitor, in the right pane, right-click a subscription and click Start
Synchronizing. Perform this step for each subscription of the AelitaReplica
publication.
Symptoms
Replication fails with one of the following errors on the Snapshot Agent or Merge Agent
(see Monitoring replication earlier in this document):
l The process could not connect to Publisher ‘<Server_name>’. Login failed for user
‘<User_name>’.
l The process could not connect to Subscriber ‘<Server_name>’. Login failed for user
‘<User_name>’.
Solution
By using SQL Server Enterprise Manager or SQL Server Management Studio, verify that the
Replication Agent credentials are set properly. The following conditions must be met:
For information on how to view or modify the credentials that the Snapshot Agent and
Merge Agents use to connect to the Publisher and Subscribers, see Modifying Replication
Agent credentials earlier in this document.
Symptoms
When promoting SQL Server to Publisher, or adding it as a Subscriber to the existing
Publisher, the operation fails with the following error: “An alias cannot be used for
replication. Use the name of the SQL Server instance.”
Solution
This error may be due to one of the following reasons:
l Incorrect server name. The computer running SQL Server is renamed, or SQL Server
has lost its name.
l Administration Service identifies SQL Server by alias. An alias was used to specify
SQL Server when installing the Administration Service.
In this syntax:
l computername is the (short) NetBIOS name of the computer running SQL Server;
l instancename is the name of a SQL Server named instance.
When configuring search filter conditions or property validation criteria, you may need to
use regular expressions. This section helps you learn about the syntax you must use in
regular expressions.
A regular expression is a pattern of text that consists of ordinary characters (for example,
letters a to z) and special characters, known as metacharacters. It serves as a template for
matching a character pattern to the string value being validated.
The following table contains a list of metacharacters and their behavior in the context of
regular expressions that can be used to create search filter conditions and property
validation criteria in Active Roles. To match an exact metacharacter, precede the character
with a backslash (\).
Character Definition
[xyz] A character set. Matches any one of the enclosed characters. For
example, [abc] matches the a in plain.
[^xyz] A negative character set. Matches any character not enclosed. For
example, [^abc] matches the p in plain.
[a-z] A range of characters. Matches any character in the specified range. For
example, [a-z] matches any lowercase alphabetical character in the
range a to z.
\b Matches a word boundary, that is, the position between a word and a
space. For example, er\b matches the er in never but not the er in verb.
\cx Matches the control character indicated by x. For example, \cM matches
a Control-M or carriage return character. The value of x must be in the
\s Matches any white space character including space, tab, form-feed, etc.
Equivalent to [ \f\n\r\t\v].
Order of precedence
Once you have constructed a regular expression, it is evaluated much like an arithmetic
expression. It is evaluated from left to right and follows an order of precedence.
The following table shows the order of precedence for the various regular expression
operators, starting with the highest:
Character Description
\ Escape
| Alteration
Appendix B: Administrative
Template
The Active Roles Administrative Template allows you to control the behavior and
appearance of the Active Roles console by using Group Policy (see Active Roles snap-
in settings).
This Administrative Template also provides a number of policy settings allowing you to
limit the list of Active Roles’ Administration Service instances for auto-connect (see
Administration Service auto-connect settings later in this document).
The Administrative Template provides the following policy settings to control the behavior
and appearance of the Active Roles console:
Hide Exchange Removes all user interface elements (commands, wizards, and
management dialog boxes) intended to manage Exchange recipients. If you
enable this policy, users cannot perform any Exchange tasks and
manage any Exchange recipient settings with the Active Roles
console. If you disable this policy or do not configure it, users with
appropriate permissions can use the Active Roles console to
perform Exchange tasks and manage Exchange recipient settings.
Set default view Specifies view mode in which the Active Roles console will start. If
mode View menu. If you want to enforce view mode, select the User is
not allowed to change view mode policy option. This option
ensures that the console user cannot change the view mode you
have selected.
Hide Configuration Removes the Configuration node from the console tree when the
node Active Roles console is in Advanced view mode. If you enable this
policy, in Advanced view mode, all objects and containers related
to the Active Roles configuration are not displayed. The Managed
Units node and its contents are displayed as well as all advanced
Active Directory objects and containers.
Disable 'Remember Clears and disables the Remember password check box in the
password' option Connect to Administration Service dialog box. If you enable
this policy, the Connect as: The following user option in the
Active Roles console requires that the user enter his password
every time when using that option, rather than encrypting and
storing the password once it has been entered. Note that saving
passwords may introduce a potential security risk.
Set controlled Specifies whether to use a special icon for visual indication of the
objects to be objects to which Access Templates or Policy Objects are applied
marked by default (linked). If you enable this policy, you can choose the category of
object to be marked with a special icon by default. Users can
modify this setting using the Mark Controlled Objects command
on the View menu.
In addition, the Administrative Template provides for policies allowing you to register
extension snap-ins with the Active Roles console. These policies are located in the
folder named Extension Snap-ins. Each policy in that folder is used to register one of
the following:
Table 118: Policies allowing to register extension snap-ins with Active Roles
Console
Toolbar extensions Allows you to register extension snap-ins to extend the toolbar
of the Active Roles console.
Task pad extensions Allows you to register extension snap-ins to extend a task pad
in the Active Roles console.
View extensions Allows you to register extension snap-ins to add user interface
elements to an existing view or to create new views in the
Active Roles console.
When configuring a policy from the Extension Snap-ins folder, you are prompted to
specify the name and the value of the item to be added.
The name parameter determines the type of the node you want to extend. Each type is
identified with a GUID. For example, if you want to extend user objects, the GUID is
{D842D417-3A24-48e8-A97B-9A0C7B02FB17}. For information on other node types, refer
to the Active Roles SDK.
The value parameter determines the extension snap-ins to be added. Each snap-in is
identified with a GUID. You add multiple snap-ins by entering their GUIDs separated by
semicolons. For example, value might look as follows:
{AD0269D8-27B9-4892-B027-9B01C8A011A1}"Description";{71B71FD3-0C9B-473a-B77B-
12FD456FFFCB}"Description"
The entry "Description" is optional and may contain any text describing the extension
snap-in, enclosed in double quotation marks.
When applied to a computer running an Active Roles client application, such as the Active
Roles console, Web Interface or ADSI Provider, these settings make it possible to restrict
auto-connection of the client application to a pre-defined set of computers running the
Administration Service, with inclusions or exclusions of certain computers from the pool of
the Administration Service instances to auto-connect.
Create those folders if they do not exist. For more information about ADMX files, see
Managing Group Policy ADMX Files Step-by-Step Guide at
http://go.microsoft.com/fwlink/p/?LinkId=75124.
Group Policy Object Editor automatically reads all ADMX files found in the central store of
the domain in which the Group Policy object is created. You can configure Active Roles
policy settings in Group Policy Object Editor by selecting User
Configuration/Policies/Administrative Templates/Active Roles Snap-in Settings
or Computer Configuration/Policies/Administrative Templates/Active
Roles/Administration Service Auto-connect Settings, and then apply the Group
Policy object as appropriate.
This section provides a list of communication ports that need to be open in the firewall for
Active Roles to function properly.
This port is required if Active Roles is configured to access the domain by using SSL.
l The TCP port allocated by RPC endpoint mapper for communication with the
domain controller
You can configure Active Directory domain controllers to use specific port numbers
for RPC communication. For instructions, see
http://support.microsoft.com/kb/224196.
l The following ports must be open for the notifications specific to SaaS-based
operations to work. The Web Interface machine should be able to resolve Service
machine name for Notifications to work.
l Port 7465 (HTTP) TCP Inbound/Outbound
l Port 7466 (HTTPS) TCP Inbound/Outbound
You can configure Exchange servers to use specific port numbers for RPC communication.
For more information, contact Microsoft Support.
The following ports must be open for operations related to the WinRM service to work:
Computer restart
l Port 139 (SMB/CIFS on the managed computers) TCP Inbound/Outbound
l Port 137 (WINS) UDP Outbound
The Web Interface normally runs over port 80, or over port 443 if SSL is enabled (off
by default).
Non-federated
In a non-federated environment, the on-premises domains are not registered in Azure AD,
and neither Azure AD Connect nor any third-party synchronization tools are configured in
the domain for synchronization. In non-federated environments, the changes made in
Active Roles are immediately replicated to Azure or Office 365 using Graph API Calls or
Command-let calls. Users or Guest Users are typically created in Azure with the
onmicrosoft.com UPN suffix.
The on-premises domain is not registered in Azure. The user or guest user is created
in Active Roles with the ID of [email protected] and in Azure as
[email protected]. The user is created in Azure
simultaneously when it is created in Active Roles using a GRAPH API call.
NOTE: One Identity recommends using non-federated environments for testing purposes
only, and does not recommend setting them up as a live production environment.
Federated
In a federated environment, the on-premises domain is always registered in Azure AD,
while Azure AD Connect and Active Directory Federation Services (ADFS) are configured to
facilitate synchronization. Users and Guest Users are typically created with the UPN suffix
of the selected on-premises domain.
The on-premises domain is registered and verified in Azure. The User is created in
Active Roles and Azure AD with the same ID of [email protected].
NOTE: *Active Roles provides cloud-only support only for Office 365 Groups manage-
ment.
NOTE:
l *Active Roles provides cloud-only support only for Native Office 365 Group
management.
l Synced using AAD Connect referenced in the table specifies that the object
operation is initially performed on the on-premise object . After a Microsoft
Azure AD Connect synchronization cycle, the object is updated in Azure AD or
Office 365.
l For more information on how to perform Back Sync operation refer Active
Roles Configuration to synchronize existing Azure AD objects to Active Roles in
the Active Roles Administration Guide.
l Metadata url:
https://login.microsoftonline.com/<AzureTenantID>/FederationMetadata/2007-
06/FederationMetadata.xml
l realm: spn:<Azure Application ID>
l replyurl: https://<Web Server Name>/arwebadmin/
You can integrate Active Roles with the following One Identity products to complement and
extend identity and access management in your organization.
Change Auditor
Quest Change Auditor for Active Directory is a security auditing solution providing real-
time notifications for critical AD, Azure AD and ADFS configuration changes. The
application tracks, audits, reports and alerts on all key configuration changes (for example,
modifications in users, groups, nested groups, GPOs, computers, services, registry entries,
local users or the DNS), and consolidates them in a single console without the overhead of
native auditing.
In addition, you can lock down critical AD objects to protect them from unauthorized or
accidental modifications and deletions. Correlating activity across the on-premises and
cloud directories, Change Auditor provides a single pane of glass view of your hybrid
environment and makes it easy to search all events regardless of where they occurred.
For more information on integrating Active Roles with Change Auditor, see Active Roles
Integration in the Change Auditor Installation Guide, or Change Auditor Knowledge Base
Article 309842.
One Identity Cloud Access Manager (CAM) delivers real productivity gains by minimizing
the effort required to control access to the on-premises applications and cloud service
accounts of your organization. When using CAM, users (such as employees or customers)
require only a single username and password combination to gain secure access to their
resources through a customizable application portal. However, if stronger authentication is
preferred, you can also configure CAM to require one-time passwords (OTP) during login.
For more information on using CAM with Active Roles, see Integrated Windows
Authentication in the Cloud Access Manager Configuration Guide.
Defender
One Identity Defender is a cost-effective security solution that authenticates users who
access your network resources. When deployed in your organization, only users who
successfully authenticate via Defender are granted access to the secured resources.
Defender uses the user identities stored in Microsoft Active Directory (AD) to enable two-
factor authentication (2FA), taking advantage of its inherent scalability and security, and
eliminating the costs and time required to set up and maintain proprietary databases. The
web-based administration tool and the user self-service portal of Defender ease the
Appendix E: Active Roles integration with other One Identity and Quest 1060
products
implementation of 2FA for both administrators and users. Defender also provides a
comprehensive audit trail that enables compliance and forensics.
For more information on using Defender with Active Roles, see Integration with Active
Roles in the Defender Administration Guide.
Enterprise Reporter
Quest Enterprise Reporter provides administrators, security officers, help desk staff, and
other stakeholders insight into their network environment. Reporting on your network
environment provides general visibility into the security and configuration of your
environment, validation against your security policies to ensure objects are configured as
expected, and an easy way to respond to inquiries from auditors requesting security and
configuration information.
Enterprise Reporter provides a unified solution for data discovery and report generation.
Using the Enterprise Reporter Configuration Manager, administrators can easily configure
and deploy discoveries to collect and store data. Once the data has been collected, the
Report Manager allows users to produce reports that help organizations ensure that they
comply with industry regulations and standards, adhere to internal security policies, and
fulfill hardware and software requirements.
For more information on using Enterprise Reporter with Active Roles, see the Enterprise
Reporter Configuration Manager User Guide, or the Quest Enterprise Reporter
Knowledge Base.
Identity Manager
One Identity Manager simplifies managing user identities, access permissions, and security
policies. By delegating identity management and access decisions directly to the
organization, Identity Manager can ease the workload of the company IT team, so they can
focus on their core competences.
For more information on integrating Active Roles with Identity Manager, see Working with
One Identity Manager in the Active Roles Synchronization Service Administration Guide and
the Identity Manager Administration Guide for Active Roles Integration.
Quest Recovery Manager for Active Directory (RMAD) is an AD recovery tool that enables
you to recover sections of the organization AD (for example, selected objects or object
properties) without taking AD offline. RMAD minimizes potential AD downtimes that data
corruption or improper directory modifications can cause by offering automatic backup
options, and fast, remotely managed recovery operations.
Active Roles supports integration with RMAD through its Active Roles Add-on for RMAD
extension. When installed, the Active Roles Web Interface receives a new Restore Object
option, opening the Recovery Manager Portal of RMAD, and allowing you to restore
modified or deleted directory objects.
For more information on RMAD, see the RMAD technical documentation. For more
information on the Active Roles Add-on for RMAD extension, see the Active Roles Add-on
for Recovery Manager for Active Directory Release Notes.
Appendix E: Active Roles integration with other One Identity and Quest 1061
products
Safeguard
One Identity Safeguard is a privileged management software used to control, monitor, and
govern privileged user accounts and activities to identify possible malicious activities,
detect entitlement risks, and provide tamper proof evidence. Safeguard products also aid
incident investigation, forensics work, and compliance efforts.
The One Identity Safeguard for Privileged Passwords (SPP) appliances are built specifically
for use only with the SPP privileged management software, which is pre-installed and
ready for use on the SPP appliance. The SPP appliance is hardened to ensure the system is
secured at the hardware, operating system, and software levels as well. The hardened
appliance approach protects the privileged management software from attacks while
simplifying deployment and ongoing management, and also shortening the time frame to
value period.
For more information on SPP, see the latest One Identity Safeguard for Privileged
Passwords documentation.
One Identity Safeguard Authentication Services (SAS) extends the security and
compliance of AD to Unix, Linux, and macOS platforms and enterprise applications with
the following features:
For more information on integrating Active Roles with SAS, see the Authentication Services
Active Roles Integration Pack Release Notes or SAS Knowledge Base Article 253135.
Starling
Active Roles supports integration with the One Identity Starling Connect service.
One Identity Starling Connect is a cloud-based service extending the provisioning
capabilities of Active Roles to a growing collection of Software-as-a-Service (SaaS)
applications, enabling organizations to streamline processes and secure hybrid
environments. This allows you to extend your on-premises Active Roles deployment to
provision additional applications, regardless of whether they are on-premises or
cloud-based.
For more information on integrating Active Roles with Starling Connect, see Starling
TPAM
The Privileged Appliance and Modules (TPAM) appliance is a robust collection of integrated
modular technologies designed specifically to meet the complex and growing compliance
and security requirements associated with privileged identity management and privileged
access control. TPAM consists of two main modules:
Appendix E: Active Roles integration with other One Identity and Quest 1062
products
l Privileged Password Manager ensures that when administrators require elevated
access, that access is granted according to the established organization policy, with
all appropriate approvals, with all actions fully audited and tracked, and in a way that
the password used is immediately changed upon its return.
l Privileged Session Manager provides tools for session and proxy control, and for
auditing, recording and replaying the activities of high-risk users, for example
administrators or remote vendors. It provides a single point of control from which
you can authorize connections, limit access to specific resources, view active
connections, record all activities, or raise alerts and terminate connections if they
exceed the pre-set time limits.
With its available modules, One Identity TPAM automates, controls and secures the entire
process of granting administrators the credentials necessary to perform their duties.
For more information on the TPAM Appliance, see the One Identity TPAM technical
documentation, or the TPAM Knowledge Base.
Appendix E: Active Roles integration with other One Identity and Quest 1063
products
Appendix F: Active Roles
integration with Duo
Active Roles can be integrated with Duo to complement and extend identity and access
management. For more information about Duo, see https://duo.com.
Starting from Active Roles 7.5.3, the rSTS API Admin Tool is no longer available and
supported, so you will need assistance from One Identity Professional Services in
configuring Active Roles with Duo. To use Active Roles with Duo, contact One Identity
Professional Services. For more information, see https://support.oneidentity.com/active-
roles/professional-services.
Active Roles can be integrated with Okta to complement and extend identity and access
management. For more information about Okta, see https://www.okta.com/.
Okta is a cloud-based identity service offering identity, authentication, and access control
functions as a service. To support functions such as Single Sign-on (SSO) and Multi-Factor
Authentication (MFA), Active Roles integrates with the Okta identity management service
through Federated Authentication. This enables you to leverage an additional out-of-band
factor (typically through the user’s registered smartphone) when authenticating the user.
The additional factor is processed in-line with the connection, so users do not have to
switch to an external application to process the additional factor. This results in a
seamless and efficient user experience that is readily accepted by the users. Okta
supports a broad range of authentication methods, including software, hardware, and
mobile-based solutions.
By enabling this integration with Okta, Active Roles can use your users' Okta accounts to
authenticate them when accessing the Active Roles Web Interface. To enable this
functionality with Active Roles, you need to configure it using the Federated Authentication
login method in the Active Roles Configuration Center. The MFA functionality is an
additional configuration that you need to perform in the Okta Admin Console.
NOTE: In Okta, the Active Roles application must be assigned to users so that they can be
used for logging in.
Prerequisites
Before you can configure Okta in the Active Roles Configuration Center, you must configure
the Active Roles application in Okta. For more information, see Configuring the Active
Roles application in Okta.
About us
One Identity solutions eliminate the complexities and time-consuming processes often
required to govern identities, manage privileged accounts and control access. Our solutions
enhance business agility while addressing your IAM challenges with on-premises, cloud and
hybrid environments.
Contacting us
For sales and other inquiries, such as licensing, support, and renewals, visit
https://www.oneidentity.com/company/contact-us.aspx.