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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

Verfiy1

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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

AD FI

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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

Verfiy3

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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

Verfiy4

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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

    Verfiy5

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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

    Verfiy6

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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

Verfiy7

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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

Verfiy8

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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

Verfiy9

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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

Verfiy10

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.

  1. Log on to APP1 as corp\Administrator.

  2. 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.

  3. On the Connect to Server dialog box, under Server Type, select Database Engine.

  4. On the Connect to Server dialog box, under Server name, select APP1.

  5. On the Connect to Server dialog box, under Authentication, select Windows Authentication.

  6. Click Connect. This should be successful and the database information will be displayed on the left.

  7. On the left, expand Databases, expand CONTOSO, expand Tables, right-click HR and select Edit Top 200 Rows. This should populate the center pane.

  8. Verify that Britta Simon and Lola Jacobson are now in SQL.

    Verfiy20

  9. 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

  1. Log on to DC1 as corp\Administrator.

  2. Click Start, select Administrative Tools, and then click Active Directory Users and Computers. This will open the Active Directory Users and Computers MMC.

  3. In the Active Directory Users and Computers click on ECMA2. Verify that there are now 4 users in the ECMA2 OU.

    Verfiy19

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

  1. On APP1, in SQL Server Management Studio, locate the user Lola Jacobson.

  2. Edit Lola’s email by changing the value in the Email box. Change the email to newlolaemail@corp.contoso.com.

  3. Tab through the cells until the cursor reaches the cells below Lola’s.

    Verfiy11

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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

Verfiy21

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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

Verfiy22

Run an Export on the AD_ECMA2

Now export the update to AD/

To run an Export on the AD_ECMA2

  1. In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

    Verfiy23

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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

Verfiy25

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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

Verfiy26

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

  1. Log on to DC1 as corp\Administrator.

  2. Click Start, select Administrative Tools, and then click Active Directory Users and Computers. This will open the Active Directory Users and Computers MMC.

  3. 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.

    Verfiy27

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

  1. On APP1, in SQL Server Management Studio, locate the user John Smith.

  2. 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.

  3. John Smith should be deleted now.

    Verfiy12

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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

Verfiy13

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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click SQL_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

Verfiy14

Run an Export on the AD_ECMA2

Now export the delete to AD.

To run an Export on the AD_ECMA2

  1. In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

    Verfiy15

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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

Verfiy16

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

  1. In the Synchronization Service Manager, at the top, under Management Agents, click AD_ECMA2.

  2. On the right, under Actions menu, click Run. This opens the Run Management Agent window.

  3. 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.

Verfiy17

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.

  1. Log on to DC1 as corp\Administrator.

  2. Click Start, select Administrative Tools, and then click Active Directory Users and Computers. This will open the Active Directory Users and Computers MMC.

  3. In the Active Directory Users and Computers click on ECMA2. Verify there are only 3 users.

    Verfiy18