Step 10: Verify the Management Agents
Verifying the Extensible Connectivity 2.0 Call Based Management Agents test lab consists of the following:
Run a Full Import on the SQL_ECMA2
Run a Full Import on the AD_ECMA2
Run a Full Synchronization on the SQL_ECMA2
Run a Full Synchronization on the AD_ECMA2
Run an Export on the SQL_ECMA2
Run an Export on the AD_ECMA2
Run a Full Import on the SQL_ECMA2
Run a Full Import on the AD_ECMA2
Run a Delta Synchronization on the SQL_ECMA2
Run a Delta Synchronization on the AD_ECMA2
Verify the new users in the SQL database.
Verify the new users are in Active Directory.
Change a user’s email address in SQL
Run a Full Import on the SQL_ECMA2
Run a Delta Synchronization on the SQL_ECMA2
Run an Export on the AD_ECMA2
Run a Full Import on the AD_ECMA2
Run a Delta Synchronization on the AD_ECMA2
Verify the users email has changed in Active Directory.
Delete a user from SQL
Run a Full Import on the SQL_ECMA2
Run a Delta Synchronization on the SQL_ECMA2
Run an Export on the AD_ECMA2
Run a Full Import on the AD_ECMA2
Run a Delta Synchronization on the AD_ECMA2
Verify the user was deleted from Active Directory.
Run a Full Import on the SQL_ECMA2
In order to verify our management agents, we will start by populating the connector spaces of each MA.
To Run a Full Import on the SQL_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Full Import and then click OK. This will take a moment. It should finish with Import Statistics in the lower left window and no errors and tow imports.
Run a Full Import on the AD_ECMA2
In order to verify our management agents, we will start by populating the connector spaces of each MA.
To run a Full Import on the AD_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Full Import and then click OK. This will take a moment. It should finish with Import Statistics in the lower left window and no errors and tow imports.
Run a Full Synchronization on the SQL_ECMA2
Now that the connector spaces are populated we will run synchronizations to project objects into the metaverse and provision objects to their respective connector spaces.
To run a Full Synchronization on the SQL_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Full Synchronization and then click OK. This will take a moment. It should finish with Synchronization Statistics in the lower left window and no errors.
Run a Full Synchronization on the AD_ECMA2
Now that the connector spaces are populated we will run synchronizations to project objects into the metaverse and provision objects to their respective connector spaces.
To run a Full Synchronization on the AD_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Full Synchronization and then click OK. This will take a moment. It should finish with Synchronization Statistics in the lower left window and no errors.
Run an Export on the SQL_ECMA2
Now we will run and export and export the new objects into SQL.
To run an Export on the SQL_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Export and then click OK. This will take a moment. It should finish with Export Statistics in the lower left window and no errors.
Run an Export on the AD_ECMA2
Now we will run and export and export the new objects into Active Directory.
To run an Export on the AD_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Export and then click OK. This will take a moment. It should finish with Export Statistics in the lower left window and no errors.
Run a Full Import on the SQL_ECMA2
Now we will run an import to confirm our export to SQL.
To Run a Full Import on the SQL_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Full Import and then click OK. This will take a moment. It should finish with Import Statistics in the lower left window and no errors and tow imports.
Run a Full Import on the AD_ECMA2
Now we will run an import to confirm our export to AD.
To run a Full Import on the AD_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Full Import and then click OK. This will take a moment. It should finish with Import Statistics in the lower left window and no errors and tow imports.
Run a Delta Synchronization on the SQL_ECMA2
Now we will run a delta synchronization on the SQL_ECMA2
To run a Delta Synchronization on the SQL_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Full Synchronization and then click OK. This will take a moment. It should finish with Synchronization Statistics in the lower left window and no errors.
Run a Delta Synchronization on the AD_ECMA2
Now we will run a delta synchronization on the AD_ECMA2
To run a Delta Synchronization on the AD_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Full Synchronization and then click OK. This will take a moment. It should finish with Synchronization Statistics in the lower left window and no errors.
Verify the new users in the SQL database.
Now check the SQL database to verify the users have been created.
To verify the new users in the SQL database.
Log on to APP1 as corp\Administrator.
Click Start, click All Programs, click Microsoft SQL Server 2008 R2, and then click SQL Server Management Studio. This will launch SQL Server Management Studio.
On the Connect to Server dialog box, under Server Type, select Database Engine.
On the Connect to Server dialog box, under Server name, select APP1.
On the Connect to Server dialog box, under Authentication, select Windows Authentication.
Click Connect. This should be successful and the database information will be displayed on the left.
On the left, expand Databases, expand CONTOSO, expand Tables, right-click HR and select Edit Top 200 Rows. This should populate the center pane.
Verify that Britta Simon and Lola Jacobson are now in SQL.
Leave this open as we will use this again in the preceding sections.
Verify the new users are in Active Directory.
Now check to make sure the two users from SQL were created in Active Directory
To verify the new users are in Active Directory
Log on to DC1 as corp\Administrator.
Click Start, select Administrative Tools, and then click Active Directory Users and Computers. This will open the Active Directory Users and Computers MMC.
In the Active Directory Users and Computers click on ECMA2. Verify that there are now 4 users in the ECMA2 OU.
Change a user’s email address in SQL
Now we will demonstrate an update by changing one of the users emails in the HR table in SQL.
To Change a user’s email address in SQL
On APP1, in SQL Server Management Studio, locate the user Lola Jacobson.
Edit Lola’s email by changing the value in the Email box. Change the email to newlolaemail@corp.contoso.com.
Tab through the cells until the cursor reaches the cells below Lola’s.
Run a Full Import on the SQL_ECMA2
Now lets bring the update into the Connector Space of the SQL_ECMA2.
To Run a Full Import on the SQL_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Full Import and then click OK. This will take a moment. It should finish with Import Statistics in the lower left window and no errors and tow imports.
Run a Delta Synchronization on the SQL_ECMA2
Now run a delta synchronization to process the update.
To run a Delta Synchronization on the SQL_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Delta Synchronization and then click OK. This will take a moment. It should finish with Synchronization Statistics in the lower left window and no errors.
Run an Export on the AD_ECMA2
Now export the update to AD/
To run an Export on the AD_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Export and then click OK. This will take a moment. It should finish with Export Statistics in the lower left window and no errors.
Run a Full Import on the AD_ECMA2
Now we will run an import to confirm our export to AD.
To run a Full Import on the AD_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Full Import and then click OK. This will take a moment. It should finish with Import Statistics in the lower left window and no errors and tow imports.
Run a Delta Synchronization on the AD_ECMA2
Now we will run a delta synchronization on the AD_ECMA2
To run a Delta Synchronization on the AD_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Full Synchronization and then click OK. This will take a moment. It should finish with Synchronization Statistics in the lower left window and no errors.
Verify the email change in Active Directory.
Now check to make sure the email has changed in Active Directory.
To verify the new users are in Active Directory
Log on to DC1 as corp\Administrator.
Click Start, select Administrative Tools, and then click Active Directory Users and Computers. This will open the Active Directory Users and Computers MMC.
In the Active Directory Users and Computers click on ECMA2 and double-click on Lola Jacobson. This will bring up Lola Jacobson’s properties. Verify the Email has changed.
Delete a user from SQL
Now we will demonstrate a delete by removing one of the users in the HR table in SQL.
To Delete a user from SQL
On APP1, in SQL Server Management Studio, locate the user John Smith.
On the left, click the box right before the first Name column to highlight the entire row. Hit the delete key. This will bring up a pop-up that says You are about to delete 1 Row(s). Click Yes.
John Smith should be deleted now.
Run a Full Import on the SQL_ECMA2
Now lets bring the delete into the Connector Space of the SQL_ECMA2.
To Run a Full Import on the SQL_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Full Import and then click OK. This will take a moment. It should finish with Import Statistics in the lower left window and no errors and tow imports.
Run a Delta Synchronization on the SQL_ECMA2
Now run a delta synchronization to process the delete.
To run a Delta Synchronization on the SQL_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Delta Synchronization and then click OK. This will take a moment. It should finish with Synchronization Statistics in the lower left window and no errors.
Run an Export on the AD_ECMA2
Now export the delete to AD.
To run an Export on the AD_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Export and then click OK. This will take a moment. It should finish with Export Statistics in the lower left window and no errors.
Run a Full Import on the AD_ECMA2
Now we will run an import to confirm our export to AD.
To run a Full Import on the AD_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Full Import and then click OK. This will take a moment. It should finish with Import Statistics in the lower left window and no errors and tow imports.
Run a Delta Synchronization on the AD_ECMA2
Now we will run a delta synchronization on the AD_ECMA2
To run a Delta Synchronization on the AD_ECMA2
In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.
On the right, under Actions menu, click Run. This opens the Run Management Agent window.
From the list, select Full Synchronization and then click OK. This will take a moment. It should finish with Synchronization Statistics in the lower left window and no errors.
Verify the user was deleted from Active Directory.
Now check to make sure the user was removed from Active Directory.
To verify the user was deleted from Active Directory.
Log on to DC1 as corp\Administrator.
Click Start, select Administrative Tools, and then click Active Directory Users and Computers. This will open the Active Directory Users and Computers MMC.
In the Active Directory Users and Computers click on ECMA2. Verify there are only 3 users.