Active Directory Synchronization
About Active Directory Synchronization
When a scheduled or manual synchronization is run, Active Directory (AD) Synchronization will gather updated information from Microsoft Azure Active Directory, import it into APM, and update the corresponding User records. When the synchronization process is run, APM User properties and status will be updated to reflect the last saved information in Microsoft Azure Active Directory.
The synchronization process will import to APM only the changes (i.e., new users and updated information) that have been made in Microsoft Azure Active Directory since the last synchronization ran, based on the Last Execution date in the job schedule item.
About Active Directory (AD) Field Mapping Records
Active Directory (AD) Mapping records define how fields in Microsoft Azure Active Directory user accounts correspond to fields in APM user records. The mappings that are defined in AD Mapping records are used to synchronize data between Microsoft Azure Active Directory and APM. The AD Mapping records determine what information should be retrieved from Microsoft Azure Active Directory and where it should be stored in APM.
- AD Field: Defines the source fields in Microsoft Azure Active Directory.
- APM Field: Defines the target fields for the corresponding Active Directory fields in APM.
In addition to the pre-configured mappings, dynamic field mapping is supported for AD synchronization; that is, you can map custom fields supported by Azure active directory with Human Resource fields in APM using the Field Mappings section in the AD Synchronization page. For instructions, refer to Create Azure AD Connection.
When AD synchronization occurs, data is pulled from the source fields (values defined in the AD Field boxes) and used to populate the value in the corresponding target fields (defined by the APM Field boxes).
An AD Mapping record must exist for each Microsoft Azure Active Directory field that you want to map to a APM field. APM provides a set of baseline AD Mapping record that map standard Microsoft Azure Active Directory fields to fields in APM. If you want to change the mappings that are defined through the baseline records, you can modify the records as needed. However, it is recommended that you retain the standard field mappings defined in the baseline AD Mapping records.
About the Active Directory Synchronization Process
- The APM system will retrieve the information for the Microsoft Azure Active Directory users associated with the Microsoft Azure Active Directory domains that have been defined in APM. The corresponding APM User records will be updated. Fields in APM will be updated with the information in Microsoft Azure Active Directory using AD Field Mapping records.
- If the APM system finds a user in Microsoft Azure Active Directory who does not have a corresponding APM User record in APM:
- A User record will be created in the APM.
- The User will be associated with each APM Permission Set, whose name matches exactly the name of a Microsoft Azure Active Directory Group to which that user belongs.
- The APM User will be removed from each APM Permission Set, whose name does not match exactly the name of a Microsoft Azure Active Directory Group to which that user belongs.
- The User will be associated with each APM Group, whose name matches exactly the name of a Microsoft Azure Active Directory Group to which that user belongs.
- The APM User will be removed from each APM Group, whose name does not match exactly the name of a Microsoft Azure Active Directory Group to which that user belongs.
- If the Microsoft Azure Active Directory user is locked out of Microsoft Azure Active Directory, the user will not be locked in APM database.
- All the settings specified in the User Preferences, including Time Zone, System of Measure, Culture, and Language are assigned to new users.
Access the AD Synchronization Page
Procedure
AD Synchronization Workflow
This topic provides a basic workflow for using this module, as well as links to the available procedures, concepts, and reference topics.
Steps
- Create Azure AD Connection.
-
Schedule an AD synchronization process to periodically update APM with user information from Microsoft Azure Active Directory.Important: After implementing AD synchronization, do not modify User information in APM; instead, modify the user information in Microsoft Azure Active Directory, and then synchronize. Synchronization overwrites all APM User site assignments, Permission Set assignments, group assignments and all other mapped information with the most recent information in Microsoft Azure Active Directory.
About Managing Users using AD Synchronization
About This Task
User information may change periodically in Microsoft Azure Active Directory (e.g., group assignment, set assignment, site assignment, address, phone number, job title, etc.).
One advantage of configuring AD integration is the ability to synchronize APM User records with the information in Microsoft Azure Active Directory. The changes made in Microsoft Azure Active Directory will be reflected in APM after synchronization.
Create Custom Roles
This task describes how to create roles additional to the baseline roles in APM.
Before You Begin
Procedure
Results
Site Filtering
About This Task
Procedure
Create Azure AD Connection
Before You Begin
- To initiate the sync, create a parent group such as APM.
- Create the sub-groups which have the same name as the permission sets.
- Assign, Create, or Modify the APM users in the sub-groups.
- Any user under a group named as Administrator, will be a super user(Admin) in APM
- Ensure that you have created, in APM, each site that you want to associate with users during synchronization.
- In Microsoft Azure Active Directory, if needed, create groups whose name is <data source>_<site>, where:
- <data source> is the name of the data source to which you will be connected during synchronization.
- <site> is the exact name of a site in APM that you want to assign to some users during synchronization. It will not be assigned as the default site for the users.
- If you want to assign all the sites in APM to a user then have a group in Microsoft Azure Active Directory named as <data source>_AllSites and assign APM user under it.
Note:- Each APM User must have a unique User ID. userPrincipalName in Microsoft Azure Active Directory field value will become the APM User ID for the user.
- Any changes done in userPrincipalName in Microsoft Azure Active Directory will create a new user inAPM as UserID is a unique identifier in APM.
Procedure
What To Do Next
Schedule an AD Synchronization Process
Procedure
Results
- When the job schedule item is active, the synchronization will be executed based on the defined schedule.
- In case a user is not synched, check the Schedule logs.
User Status after AD Synchronization
About This Task
- The Microsoft Azure Active Directory account for the user is deleted.
- The user is not assigned to any Microsoft Azure Active Directory Groups.