共用方式為


How to do OU based Filtering in Office 365 ?

In this type of filtering we can filter an OU from being synced to the cloud.

Once you install Dirsync the miisclient.exe will be present in

From your DirSync Server navigate to <Drive>\Program Files\Windows Azure Active Directory Sync\SYNCBUS\Synchronization Service\UIShell

 

Miisclient is known as "Synchronization Service Manger on Dirsync"

  • Open MIISClient
  • Click on Management Agents
  • Double click on Active Directory Connector
  • Click on Configure Directory Partitions
  • Make sure the correct Domain is selected at top
  • Click on Containers as indicated below

 

 

  • In the prompt, enter domain credentials for your on-premises domain and then click OK
  • Select OU's that you do not want to Sync and uncheck the check box next to it
  • Click Advanced and modify if required and Click OK

 

  • Right click on Management Agents
  • Select Run
  • Select Full Import Full Sync as indicated below to do OU filtering

 

 

 

 

Once done check the results at the bottom left where it says Export Statistics to see the updates

Comments

  • Anonymous
    January 01, 2003
    Are you trying to sync passwords of users who have also filtered out ?
    Also try downloading and running the latest version of Dirsync
  • Anonymous
    January 01, 2003
    Hello Donald
    Are they in a OU that you are filtering out ? If not clear create another OU filter it and add user to that
  • Anonymous
    January 01, 2003
    @AnthonyFear as long as user is not getting filtered out they will continue to sync
  • Anonymous
    April 11, 2014
    I am introducing "How to" series for new Office 365, aka Wave 15. You will see few guest writers
  • Anonymous
    April 11, 2014
    There are 3 types of filtering that we can apply to Directory Synchronization Tool

    OU(Organizational
  • Anonymous
    May 21, 2014
    When i get to the point of entering Domain credentials i get " MSOL_e3ff9e0fdb13 " for the username value already populated. I'm wondering if i should clear it and put in the tenant credentials or on-premise credentials. Another journey into the unknown for DirSync config.
  • Anonymous
    May 21, 2014
    Delete above, on-premise credentials as stated in the post ;)
  • Anonymous
    June 24, 2014
    Will this continue to sync passwords ?
  • Anonymous
    July 29, 2014
    After set OU filter MIISClient, DirSync do not sync passwords anymore. Someone an idea to fix this?
  • Anonymous
    August 21, 2014
    I setup filtering, ran full import/sync with no error, but users that were previously synced did not filter out. Thoughts?
  • Anonymous
    November 26, 2014
    Nice Post Praveen!!!
    @Donald messageops has a tool that helps filter + cleanup feature for previously synced users..below is the link
    http://www.messageops.com/software/ad-exclusion-tool/
  • Anonymous
    January 20, 2015
    Hi there,

    Thanks for sharing,

    I ran full import full sync after checking my OU, however I cannot see them in Azure.
    Sync was successful.

    Where do I check?