Step 6: Create and Configure AD MA
Creating and configuring the Delimited Text MA consists of the following:
Create the ECMA OU in Active Directory
Create and edit test users
Create the AD Management Agent
Create the run profiles for the AD management agent
Create the ECMA2 OU in Active Directory
To create the ECMA2 organizational unit
Log on DC1.corp.contoso.com as Administrator
Click Start, select Administrative Tools, and click Active Directory Users and Computers. This will open the Active Directory Users and Computers mmc.
In the Active Directory Users and Computers mmc, from the tree-view on the left, right-click corp.contoso.com, select New, and then Organizational Unit.
In the Name textbox, type ECMA2. Click OK.
Create and edit Test Accounts
Table 1 – Test Accounts
Full Name |
User Logon Name |
Forest |
Password |
Object100 |
Object100 |
corp.contoso.com |
Pass1word$ |
Object101 |
Object101 |
corp.contoso.com |
Pass1word$ |
To create the Test Accounts
In Active Directory Users and Computers, expand corp.contoso.com, right-click ECMA2, select New and then select User. This will bring up the New Object – User window.
On the New Object – User screen, in the Full Name box, enter Object100.
On the New Object – User screen, in the User logon name: box, enter Object100 and click Next.
On the New Object – User screen, in the Password box, enter Pass1word!.
On the New Object – User screen, in the Confirm Password box, enter Pass1word!.
On the New Object – User screen, remove the check from User must change password at next logon.
On the New Object – User screen, add a check to Password never expires and click Next.
Click Finish.
Repeat these steps for all of the accounts listed in the Account Summary table.
To edit the Test Accounts
On to DC1 as CORP\Administrator.
Click Start, select Administrative Tools, and then click ADSI Edit. This will bring up ADSI Edit.
At the top, right-click ADSI Edit and select Connect to. This will bring up a Connections Settings box. Leave the defaults and click OK.
On the right, expand Default Naming Context [DC1.corp.contoso.com], double-click DC=corp,DC=contoso,DC=com, expand DC=corp,DC=contoso,DC=com, and then select OU=ECMA2.
In the center, right-click CN=Object100 and select Properties. This will bring up CN=Object100 Properties.
Scroll through the list of attributes and double-click mail. This will bring up the String Attrribute Editor.
In the box, under Value :, type the following text, and then click OK:
Object100@corp.contoso.comScroll through the list of attributes and double-click employeeID. This will bring up the String Attrribute Editor.
In the box, under Value :, type the following text, and then click OK:
100Click OK.
Click Apply.
Click OK.
In the center, right-click CN=Object101 and select Properties. This will bring up CN=Object101 Properties.
Scroll through the list of attributes and double-click mail. This will bring up the String Attrribute Editor.
In the box, under Value :, type the following text, and then click OK:
Object101@corp.contoso.comScroll through the list of attributes and double-click employeeID. This will bring up the String Attrribute Editor.
In the box, under Value :, type the following text, and then click OK:
101Click OK.
Click Apply.
Click OK.
Close ADSI Edit.
Create the AD Management Agent
Now we will create the Active Directory management agent in the synchronization service.
To create the AD management agent
Log on to FIM1.corp.contoso.com as CORP\Administrator.
Click Start, click All Programs, click Microsoft Forefront Identity Manager, and then click Synchronization Service.
In the Synchronization Service, click the Management Agents button at the top.
In the Management Agents view, on the right, under Actions, click Create. This will bring up the Create Management Agent dialog box.
On the Create Management Agent screen, under Management Agent for, select Active Directory Domain Services. Under Name enter AD and then click Next.
On the Connect to Active Directory Forest screen, enter corp.contoso.com for Forest name. Enter Administrator for the User name. Enter Pass1word$ for the Password. Enter CORP for the Domain. Click Next.
On the Configure Directory Partitions screen, under Select directory partitions, put a check in DC=corp,DC=contoso,DC=com. Under Select containers for this partition, click the Containers button. This will bring up the Select Containers dialog box.
On the Select Containers screen, clear the check in the root DC=corp,DC=contoso,DC=com box. This will remove the check marks in all of the boxes. Now place a check in the ECMA2 box. Click OK. This will close the Select Containers dialog box.
On the Configure Directory Partitions screen, click Next.
On the Configure Provisioning Hierarchy screen click Next.
On the Select Object Types screen, check user and then click Next.
On the Select Attributes screen, place a check in the Show All box in the upper-right.
On the Select Attributes screen, place a check in the box for each attribute in the following list. When finished click Next.
cn
displayName
employeeID
samAccountName
mail
On the Configure Connector Filter dialog box, click Next.
On the Configure Join and Projection Rules dialog box, select user and then click New Projection Rule. This will bring up the Projection dialog box.
On the Projection dialog box select Declared and then click OK. This will close the Projection dialog box.
On the Configure Join and Projection Rules dialog box, click Next.
On the Configure Attribute Flow dialog box, under Data source object type select user.
On the Configure Attribute Flow dialog box, under Metaverse object type select person.
On the Configure Attribute Flow dialog box, under Data source attribute select samAccountName.
On the Configure Attribute Flow dialog box, under Mapping Type select Direct.
On the Configure Attribute Flow dialog box, under Flow Direction select Import.
On the Configure Attribute Flow dialog box, under Metaverse attribute select accountName.
On the Configure Attribute Flow dialog box, click New. This flow rule will appear above. Repeat these steps for each attribute in the following table. When finished, click Next.
Table 1 – Attribute Flow
Data Source Attribute Flow Direction Metaverse attribute samAccountName
Import
accountName
mail
Import
mail
employeeID
Import
employeeID
displayName
Import
displayName
displayName
Export
displayName
mail
Export
mail
employeeID
Export
employeeID
On the Configure Deprovisioning dialog box, click Next.
On the Configure Extensions dialog box, click Finish.
Create the run profiles for the AD management agent
Now that the AD management agent has been created, you will need to create run profiles for the management agent.
To Create the run profiles for the AD management agent
In the Synchronization Service, on the right of the portal page, under Actions menu, click Configure Run Profiles. This opens the Configure run Profiles window.
Click New Profile. This will begin the Configure Run Profile wizard.
On the Profile Name page, in the text box under Name, type the following, and then click Next:
Full ImportOn the Configure Step page, from the drop-down list under Type, select Full Import (Stage Only), and then click Next.
On the Management Agent Configuration page, click Finish.
Click New Profile. This will begin the Configure Run Profile wizard.
On the Profile Name page, in the text box under Name, type the following, and then click Next:
ExportOn the Configure Step page, from the drop-down list under Type, select Export, and then click Next.
On the Management Agent Configuration page, click Finish.
Click New Profile.
On the Profile Name page, in the text box under Name, type the following text, and then click Next:
Full SynchronizationOn the Configure Step page, from the drop-down list under Type, select Full Synchronization, and then click Next.
On the Management Agent Configuration page, click Finish.