Share via


Curious Greg builds a Lab–Part II

In part II of our series I’ll be discussing Directory Synchronization (DirSync). This is where Curious Greg can get into a lot of mischief. See with DirSync everything in the connected on-premises forest is synchronized to the cloud.

 

image 

 

Activating Dirsync.

1. Go to https://portal.microsoftonline.com.
2. Log on using your administrator credentials.
3. On the Office 365 portal, click the Admin tab

clip_image002

4. On the Admin portal, click Users.
clip_image004

5. On the Users page, click Activate next to Active Directory synchronization. Synchronization is deactivated by default.

clip_image006
6. Activating DirSync launches the Set up Active Directory synchronization roadmap. The page provides a list of DirSync implementation considerations and action items. From this page, review the prerequisites, prepare the domain, and install and configure Identity Federation.

clip_image008

Installing the Active Directory Synchronization Tool.

This section discusses how to install the tool and enable it in your cross-premise environment.

*Note The Active Directory Synchronization Tool must be installed on a 32-bit machine that runs Windows Server 2003 Service Pack 2 or greater.This is change soon but for now this is required.

To install DirSync:
1. Go to https://portal.Microsoftonline.com and log on with your administrator credentials.
2. Click the Admin tab.
3. On the Admin portal, click Users.
4. Under Install and configure the Directory Synchronization Tool, click Download.

clip_image013
5. Save files locally to the computer.
6. Double-click the downloaded .msi file and click Next.

7. On Microsoft Software License Terms, click I accept the Microsoft License Terms, and then click Next.

clip_image015

8. On Select Installation Folder, click Next.
clip_image017

9. Installation displays installation progress.
clip_image019

10. Select the Start Configuration Wizard now check box, and click Finish to launch the configuration wizard.
clip_image021

 

That’s it you can either wait the 3 hours until next sync or force a synchronization event.

 

Force Sync.

1. Open the directory structure below and double-click on ‘DirSyncConfigShell.psc1’. This will open powershell.

 

 

image

 

image

 

Check Directory Sync.

 

1. Open the admin portal and on the left column select ‘Users’.

2. Here you should see the double-arrows indicating that these are sync’d users. To delete these users you must delete them from Active Directory.

 

image

 

Next blog will be on Hybrid Exchange configuration. Take care.

Comments

  • Anonymous
    March 18, 2014
    Hi Curious,

    i have small question on Office365 server recomonditions?
    Why MS is recomonded separate server dir sync and ADFS? why we should not install on a same server? what are the limitations if i install dirsync and adfs on same server?

    Can you please help to get clarity on this.

    Thanks in advance.

    Regards,
    Satish Kusumanchi