Skip to content
Enable SCCM Active Directory User Discovery | Exclude OU | ConfigMgr | Best Guide

Enable SCCM Active Directory User Discovery | Exclude OU | ConfigMgr | Best Guide

Written By Anoop C Nair
Last Updated August 22, 2024
Posted In SCCM
SHARE

First, learn to Enable SCCM Active Directory User Discovery. Then, let’s check the ConfigMgr options to Exclude OUs from SCCM Active Directory User Discovery.

Configuration Manager has different discovery methods to find resources to manage from the network, Active Directory, and Azure Active Directory (Azure AD).

ConfigMgr’s most common discovery methods (a.k.a SCCM) are the Active Directory system and Active Directory user discoveries. AD discovery is one of the first steps you will take after building a new ConfigMgr Primary Server.

Microsoft introduced a new option to exclude an OU from SCCM Active Directory User Discovery with the 2103 version of ConfigMgr. This post explains the exclude options.

Patch My PC

SCCM Active Directory User Discovery FAQs?

Let’s learn more about frequently asked questions about SCCM Active Directory Discovery methods.

What is SCCM Active Directory System Discovery?

SCCM collects system record details from the Active Directory domain. This process is called SCCM Active Directory system discovery.

What is SCCM Active Directory User Discovery?

SCCM collects User record details from the Active Directory domain. This process is called SCCM Active Directory User Discovery.

How many types of Active Directory Schedules are available?

There are two types of AD discovery schedules are available. Full Discovery and Delta Discovery.

Is it Possible to exclude OUs from AD System Discovery?

Yes

Is it Possible to exclude OUs from AD User Discovery?

Yes

SCCM Active Directory User Discovery

Let’s understand how to configure SCCM Active Directory User Discovery.

Go to Administration > Hierarchy Configuration > Discovery Methods from the ConfigMgr console. Double-click on the Active Directory User Discovery method to go to properties.

Enable SCCM Active Directory User Discovery | Exclude OU | ConfigMgr | Best Guide - Fig.1
Enable SCCM Active Directory User Discovery | Exclude OU | ConfigMgr | Best Guide – Fig.1

Click on the option – Enable Active Directory User Discovery. Click on the Star button to add Active Directory Containers/OUs.

Enable SCCM Active Directory User Discovery | Exclude OU | ConfigMgr | Best Guide - Fig.2
Enable SCCM Active Directory User Discovery | Exclude OU | ConfigMgr | Best Guide – Fig.2

Click on BROWSE from Active Directory Container. Select the OU from where you want to discover the computer.

Select Intune OU and Click OK to discover all users in the Active directory for my test lab.

LDAP://OU=Intune,DC=memcm,DC=com

Enable SCCM Active Directory User Discovery | Exclude OU | ConfigMgr | Best Guide - Fig.3
Enable SCCM Active Directory User Discovery | Exclude OU | ConfigMgr | Best Guide – Fig.3

You can now exclude OUs from ConfigMgr Active Directory User Discovery. To exclude an OU:

In the Active Directory Container dialog box, locate the search option Select sub-containers/sub-OU to be excluded from discovery.

Select Add to add an exclusion OU. Select OK to save the Active Directory container configuration.

Enable SCCM Active Directory User Discovery | Exclude OU | ConfigMgr | Best Guide - Fig.4
Enable SCCM Active Directory User Discovery | Exclude OU | ConfigMgr | Best Guide – Fig.4

Click OK on the Active Directory container. Click OK again to complete.

Enable SCCM Active Directory User Discovery | Exclude OU | ConfigMgr | Best Guide - Fig.5
Enable SCCM Active Directory User Discovery | Exclude OU | ConfigMgr | Best Guide – Fig.5

Right-Click on Active Discovery User Discovery. Select Run Full Discovery Now.

Enable SCCM Active Directory User Discovery | Exclude OU | ConfigMgr | Best Guide - Fig.6
Enable SCCM Active Directory User Discovery | Exclude OU | ConfigMgr | Best Guide – Fig.6

Confirmation | Verification – How to Configure SCCM Active Directory User Discovery

Let’s check the SCCM log file adusrdis.log to confirm whether configuring Active directory user discovery works fine.

Some of the important steps are noted in the log file snippet below:

  • SMS_EXECUTIVE started SMS_AD_USER_DISCOVERY_AGENT as thread ID 82860 (0x143AC).
  • Connecting to site server’s (\CMMEMCM.memcm.com) registry
  • !!!!Valid Search Scope Name: LDAP://OU=Intune,DC=memcm,DC=com Search Path: LDAP://OU=INTUNE,DC=MEMCM,DC=COM IsValidPath: TRUE
  • Starting the data discovery.
  • INFO: Processing search path: ‘LDAP://OU=INTUNE,DC=MEMCM,DC=COM’.
  • INFO: Succeed to cached binding for LDAP://ADMEMCM.memcm.com/RootDSE
  • INFO: search filter = ‘(&(objectClass=user)(objectCategory=person))’
  • INFO: ads path = ‘LDAP://ADMEMCM.memcm.com/OU=INTUNE,DC=MEMCM,DC=COM’
  • INFO: discovered object with ADsPath = ‘LDAP://ADMEMCM.MEMCM.COM/CN=HR User 1,OU=HR,OU=Intune,DC=memcm,DC=com’
  • WARN: Discovered object is in excluded AD container. Skip.
  • INFO: discovered object with ADsPath = ‘LDAP://ADMEMCM.MEMCM.COM/CN=Intune User 1,OU=Intune,DC=memcm,DC=com’
  • Message processing engine client for SMS_AD_USER_DISCOVERY_AGENT created.
Enable SCCM Active Directory User Discovery | Exclude OU | ConfigMgr | Best Guide - Fig.7
Enable SCCM Active Directory User Discovery | Exclude OU | ConfigMgr | Best Guide – Fig.7

Bug? How to Configure SCCM Active Directory User Discovery OU Exclusion

I have seen that users from HR OU are getting discovered even after exclusion is set up in the configuration. Have you also seen this issue before? Share your experience in the comments section below.

Resources

We are on WhatsApp. To get the latest step-by-step guides and news updates, Join our Channel. Click here –HTMD WhatsApp.

Author

Anoop C Nair has been Microsoft MVP for 10 consecutive years from 2015 onwards. He is a Workplace Solution Architect with more than 22+ years of experience in Workplace technologies. He is a Blogger, Speaker, and Local User Group Community leader. His primary focus is on Device Management technologies like SCCM and Intune. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security, Career, etc.

Written by

Anoop C Nair is Workplace Technology solution architect with 25+ years of experience in global enterprise organizations such as JP Morgan, Capgemini, etc. Microsoft Certified Trainer. Microsoft MVP from 2015 onwards for consecutive 11+ years! He also conducts Intune and modern workplace tech training for enterprise organizations. He is Blogger, Speaker, and Founder of HTMD Community and HTMD Conference. His main focus is on Device Management technologies like Intune, Windows, Cloud PC. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security.

Discussion · 1 comment

  1. Is there a way to use LDAPS for the AD discovery methods? I tried updating the LDAP string to LDAPS ending in 636 but I just get an error that Config Manager doesn’t like the syntax. I am using an account to connect and again it works fine using LDAP but it would be better to use LDAPS.

Join the discussion

Your email address will not be published. Required fields are marked *

Related guides

Intune

Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws

Key Takeaways Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws! In the July 2026 Patch, Microsoft introduced new features designed to improve the overall Windows experience. The update adds enhancements to Windows Update for more flexible update management and introduces Point-in-Time Restore, providing an additional recovery option for […]

AC Anoop C Nair 9 min read
Intune

2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws

Key Takeaways 2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws! The June 2026 Windows 11 Patch Tuesday update brings several improvements to File Explorer. It adds support for additional archive formats, including UU, CPIO, XAR, and NuGet Packages (NUPKG). The update also preserves View and Sort preferences in […]

AC Anoop C Nair 10 min read
Intune

2026 May KB5089549 KB5087420 Windows 11 Patch | 0 Zero Day Vulnerabilities and 120 Flaws

Key Takeaways The Windows 11 May 2026 Patch KB5089549 KB5087420 Update brings important security fixes, performance improvements, and reliability enhancements across the operating system. The update introduces new features such as Xbox Mode for gaming, File Explorer improvements, enhanced input and sharing experiences, better taskbar and Windows Hello reliability, and additional enterprise management capabilities for […]

AC Anoop C Nair 8 min read
SCCM

ConfigMgr 2603 Introduces New Early Update Enrollment Process

Key Takeaways In this post we are discussing the ConfigMgr 2603 Introduces New Early Update Enrollment Process. Microsoft has officially released Configuration Manager version 2603 to the Early Update Ring, giving organizations an opportunity to test upcoming improvements before the global production rollout. The release is targeted at enterprises running ConfigMgr version 2409 or later […]

AC Anoop C Nair 3 min read