> Source: [sk181664](https://support.checkpoint.com/results/sk/sk181664)

# sk181664 - Harmony Endpoint Active Directory Scanner Organizational Unit does not show all devices and users from the Active Directory

| Property | Value |
|----------|-------|
| Solution ID | sk181664 |
| Date Created | 2023-11-17 |
| Last Modified | 2023-11-20 |
| Technical Level | General |
| Products | Endpoint Security |
| Versions | Cloud, E89.X, E88.X |
| OS | Windows |

## Symptoms

- The groups and organization unit imported by the AD Scanner does not match the actual AD structure.

## Cause

The Harmony Endpoint AD Scanner cannot enumerate large groups if the object name starts with **LDAPS://** .  

To determine if the machine you have configured to scan the AD is affected, check the *cpda* log for the following error.  
![](https://sc1.checkpoint.com/sc/SolutionsStatics/NEW_SK_NOID1700242327880/AD_error202311171232571.png)  

**0x80005000** indicates **E_ADS_BAD_PATHNAME** error, which is returned by **AdsOpenObject** .   
The line before shows the object name starting with **LDAPS://**.

## Solution

[Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to get a Hotfix for this issue - improved Endpoint Security Client package.

A Support Engineer will make sure the Endpoint Security Client is compatible with your environment before providing it.  
For faster resolution and verification, collect the [CPinfo](https://support.checkpoint.com/results/sk/sk90445) file from the Endpoint Security Client involved in the case.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
