Skip to content
ADMIN
Download 2.0.0.55

YAADMIN DOCUMENTATION

Active Directory

Read-only Active Directory users, computers, groups and organizational units.

VerifiedSource snapshot · 2026-10-02
Inspect directory information safely. Find an account → Read account details → Review information
Illustrative example. Verified read-only tools; account modification is not established.

Read-only directory tools#

Search/read users, computers, groups, group membership and OUs, plus health. AD enabled/disabled is an account state, not live endpoint connectivity. Use real provider inventory for live endpoint state.

Identity is separate#

The AD authentication provider supports local/AD login paths independently of this module's read-only tools. First-login provisioning does not grant all roles. AD unavailable does not silently authenticate an AD identity as local.

Exact registered tools#

Tool-by-tool operating guide#

The tables below describe the published inputs. Complete nested schemas and original registration metadata remain available in the expandable reference afterward. Fields marked optional may still be needed by the selected operation or provider; they are not permission to guess identities.

ad.health#

Checks AD/RSAT connectivity when explicitly requested or when directory reads fail. A successful health check does not grant other directory permissions.

Permission: ad.health.read. Registration: RiskLevel.READ / ApprovalMode.NEVER. Availability: enabled in the inspected source.

InputRequiredType and published constraints
profileNostring; minLength=1

ad.search_users#

Searches names, account names, UPN, mail, department, title, description or distinguished name. Omit query or use * for a list. enabled_only filters the account flag. Search defaults to 50 records, list-all to 5000; inspect limits before claiming completeness.

Permission: ad.users.read. Registration: RiskLevel.READ / ApprovalMode.NEVER. Availability: enabled in the inspected source.

InputRequiredType and published constraints
queryNostring/null
profileNostring; minLength=1
enabled_onlyNoboolean/null
max_itemsNointeger; minimum=1; maximum=5000

ad.get_user#

Reads the details of one exact directory identity. Resolve ambiguous names first. An identity can be an account name, DN or GUID accepted by the directory provider.

Permission: ad.users.read. Registration: RiskLevel.READ / ApprovalMode.NEVER. Availability: enabled in the inspected source.

InputRequiredType and published constraints
identityYesstring; minLength=1
profileNostring; minLength=1

ad.search_computers#

Searches directory computer names, DNS names, IP, OS, descriptions or DN. The Enabled flag describes the directory account and does not prove that the computer is online.

Permission: ad.computers.read. Registration: RiskLevel.READ / ApprovalMode.NEVER. Availability: enabled in the inspected source.

InputRequiredType and published constraints
queryNostring/null
profileNostring; minLength=1
enabled_onlyNoboolean/null
max_itemsNointeger; minimum=1; maximum=5000

ad.get_computer#

Reads a selected directory computer record. Use real directory identity, not a guessed cross-service endpoint ID. Live connectivity needs the relevant endpoint provider.

Permission: ad.computers.read. Registration: RiskLevel.READ / ApprovalMode.NEVER. Availability: enabled in the inspected source.

InputRequiredType and published constraints
identityYesstring; minLength=1
profileNostring; minLength=1

ad.search_groups#

Searches group names, account names, descriptions or DN. Omit query or use * to list. Pick the exact group before reading membership.

Permission: ad.groups.read. Registration: RiskLevel.READ / ApprovalMode.NEVER. Availability: enabled in the inspected source.

InputRequiredType and published constraints
queryNostring/null
profileNostring; minLength=1
max_itemsNointeger; minimum=1; maximum=5000

ad.get_group#

Reads a group’s category, scope, description and distinguished name. Reading a group does not change access.

Permission: ad.groups.read. Registration: RiskLevel.READ / ApprovalMode.NEVER. Availability: enabled in the inspected source.

InputRequiredType and published constraints
identityYesstring; minLength=1
profileNostring; minLength=1

ad.get_group_members#

Reads members of the selected group. recursive=false is the default; true expands nested groups. Inspect object_class because members can be users, computers or groups. Default maximum is 500, with a schema maximum of 5000.

Permission: ad.groups.read. Registration: RiskLevel.READ / ApprovalMode.NEVER. Availability: enabled in the inspected source.

InputRequiredType and published constraints
identityYesstring; minLength=1
profileNostring; minLength=1
recursiveNoboolean; default=false
max_itemsNointeger; minimum=1; maximum=5000; default=500

ad.get_user_groups#

Lists groups for an exact user identity, default maximum 500 and schema maximum 5000. It does not add or remove membership.

Permission: ad.users.read. Registration: RiskLevel.READ / ApprovalMode.NEVER. Availability: enabled in the inspected source.

InputRequiredType and published constraints
identityYesstring; minLength=1
profileNostring; minLength=1
max_itemsNointeger; minimum=1; maximum=5000; default=500

ad.search_ous#

Searches organizational units by name, description or DN. An OU is a directory container, not a live computer group in another provider.

Permission: ad.ous.read. Registration: RiskLevel.READ / ApprovalMode.NEVER. Availability: enabled in the inspected source.

InputRequiredType and published constraints
queryNostring/null
profileNostring; minLength=1
max_itemsNointeger; minimum=1; maximum=5000

Complete schemas and registration reference#

ad.healthad.health.read

Check native Active Directory/RSAT connectivity. Use only when connectivity is explicitly requested or AD access is failing.

Registration: RiskLevel.READ / ApprovalMode.NEVER · enabled

ExecutionRequest to the provider backend; ExecutionResult carries normalized data/error/status and provider metadata. Runtime RBAC can raise deny or force approval even where metadata says NEVER/POLICY; static metadata is not final policy.

Exact input schema

json
{
    "type": "object",
    "required": [],
    "additionalProperties": false,
    "properties": {
        "profile": {
            "type": "string",
            "minLength": 1,
            "description": "Optional AD profile id; omit to search all configured profiles."
        }
    }
}
ad.search_usersad.users.read

Search or list AD users. Omit query (or use '*') to list all users. With query, search by name, sAMAccountName, UPN, mail, department, title, description or DN. enabled_only filters the AD account Enabled flag.

Registration: RiskLevel.READ / ApprovalMode.NEVER · enabled

ExecutionRequest to the provider backend; ExecutionResult carries normalized data/error/status and provider metadata. Runtime RBAC can raise deny or force approval even where metadata says NEVER/POLICY; static metadata is not final policy.

Exact input schema

json
{
    "type": "object",
    "required": [],
    "additionalProperties": false,
    "properties": {
        "query": {
            "type": [
                "string",
                "null"
            ],
            "description": "Optional search text. Omit it (or use '*') to list all matching AD objects."
        },
        "profile": {
            "type": "string",
            "minLength": 1,
            "description": "Optional AD profile id; omit to search all configured profiles."
        },
        "enabled_only": {
            "type": [
                "boolean",
                "null"
            ]
        },
        "max_items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 5000,
            "description": "Optional result limit. Defaults to 50 for text search and 5000 when query is omitted/list-all."
        }
    }
}
ad.get_userad.users.read

Read detailed AD user properties for an exact identity. Use targets.resolve provider='ad' first when the human name is ambiguous.

Registration: RiskLevel.READ / ApprovalMode.NEVER · enabled

ExecutionRequest to the provider backend; ExecutionResult carries normalized data/error/status and provider metadata. Runtime RBAC can raise deny or force approval even where metadata says NEVER/POLICY; static metadata is not final policy.

Exact input schema

json
{
    "type": "object",
    "required": [
        "identity"
    ],
    "additionalProperties": false,
    "properties": {
        "identity": {
            "type": "string",
            "minLength": 1,
            "description": "Exact AD identity: sAMAccountName, DN, GUID or other identity accepted by Get-AD*."
        },
        "profile": {
            "type": "string",
            "minLength": 1,
            "description": "Optional AD profile id; omit to search all configured profiles."
        }
    }
}
ad.search_computersad.computers.read

Search or list AD computer objects. Omit query (or use '*') to list all computers. With query, search by name, DNS name, IP, OS, description or DN. Enabled means the AD computer account is enabled; it does NOT mean the PC is online.

Registration: RiskLevel.READ / ApprovalMode.NEVER · enabled

ExecutionRequest to the provider backend; ExecutionResult carries normalized data/error/status and provider metadata. Runtime RBAC can raise deny or force approval even where metadata says NEVER/POLICY; static metadata is not final policy.

Exact input schema

json
{
    "type": "object",
    "required": [],
    "additionalProperties": false,
    "properties": {
        "query": {
            "type": [
                "string",
                "null"
            ],
            "description": "Optional search text. Omit it (or use '*') to list all matching AD objects."
        },
        "profile": {
            "type": "string",
            "minLength": 1,
            "description": "Optional AD profile id; omit to search all configured profiles."
        },
        "enabled_only": {
            "type": [
                "boolean",
                "null"
            ]
        },
        "max_items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 5000,
            "description": "Optional result limit. Defaults to 50 for text search and 5000 when query is omitted/list-all."
        }
    }
}
ad.get_computerad.computers.read

Read detailed properties of one exact AD computer object. This does not provide live Connected/Disconnected state.

Registration: RiskLevel.READ / ApprovalMode.NEVER · enabled

ExecutionRequest to the provider backend; ExecutionResult carries normalized data/error/status and provider metadata. Runtime RBAC can raise deny or force approval even where metadata says NEVER/POLICY; static metadata is not final policy.

Exact input schema

json
{
    "type": "object",
    "required": [
        "identity"
    ],
    "additionalProperties": false,
    "properties": {
        "identity": {
            "type": "string",
            "minLength": 1,
            "description": "Exact AD identity: sAMAccountName, DN, GUID or other identity accepted by Get-AD*."
        },
        "profile": {
            "type": "string",
            "minLength": 1,
            "description": "Optional AD profile id; omit to search all configured profiles."
        }
    }
}
ad.search_groupsad.groups.read

Search or list Active Directory groups. Omit query (or use '*') to list all groups. With query, search by name, sAMAccountName, description or DN.

Registration: RiskLevel.READ / ApprovalMode.NEVER · enabled

ExecutionRequest to the provider backend; ExecutionResult carries normalized data/error/status and provider metadata. Runtime RBAC can raise deny or force approval even where metadata says NEVER/POLICY; static metadata is not final policy.

Exact input schema

json
{
    "type": "object",
    "required": [],
    "additionalProperties": false,
    "properties": {
        "query": {
            "type": [
                "string",
                "null"
            ],
            "description": "Optional search text. Omit it (or use '*') to list all matching AD objects."
        },
        "profile": {
            "type": "string",
            "minLength": 1,
            "description": "Optional AD profile id; omit to search all configured profiles."
        },
        "max_items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 5000,
            "description": "Optional result limit. Defaults to 50 for text search and 5000 when query is omitted/list-all."
        }
    }
}
ad.get_groupad.groups.read

Read one exact AD group's category, scope, description and DN.

Registration: RiskLevel.READ / ApprovalMode.NEVER · enabled

ExecutionRequest to the provider backend; ExecutionResult carries normalized data/error/status and provider metadata. Runtime RBAC can raise deny or force approval even where metadata says NEVER/POLICY; static metadata is not final policy.

Exact input schema

json
{
    "type": "object",
    "required": [
        "identity"
    ],
    "additionalProperties": false,
    "properties": {
        "identity": {
            "type": "string",
            "minLength": 1,
            "description": "Exact AD identity: sAMAccountName, DN, GUID or other identity accepted by Get-AD*."
        },
        "profile": {
            "type": "string",
            "minLength": 1,
            "description": "Optional AD profile id; omit to search all configured profiles."
        }
    }
}
ad.get_group_membersad.groups.read

List members of an exact AD group. recursive=true expands nested groups. Returns users, computers and nested groups with their object_class.

Registration: RiskLevel.READ / ApprovalMode.NEVER · enabled

ExecutionRequest to the provider backend; ExecutionResult carries normalized data/error/status and provider metadata. Runtime RBAC can raise deny or force approval even where metadata says NEVER/POLICY; static metadata is not final policy.

Exact input schema

json
{
    "type": "object",
    "required": [
        "identity"
    ],
    "additionalProperties": false,
    "properties": {
        "identity": {
            "type": "string",
            "minLength": 1,
            "description": "Exact AD identity: sAMAccountName, DN, GUID or other identity accepted by Get-AD*."
        },
        "profile": {
            "type": "string",
            "minLength": 1,
            "description": "Optional AD profile id; omit to search all configured profiles."
        },
        "recursive": {
            "type": "boolean",
            "default": false
        },
        "max_items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 5000,
            "default": 500
        }
    }
}
ad.get_user_groupsad.users.read

List AD groups for one exact user identity.

Registration: RiskLevel.READ / ApprovalMode.NEVER · enabled

ExecutionRequest to the provider backend; ExecutionResult carries normalized data/error/status and provider metadata. Runtime RBAC can raise deny or force approval even where metadata says NEVER/POLICY; static metadata is not final policy.

Exact input schema

json
{
    "type": "object",
    "required": [
        "identity"
    ],
    "additionalProperties": false,
    "properties": {
        "identity": {
            "type": "string",
            "minLength": 1,
            "description": "Exact AD identity: sAMAccountName, DN, GUID or other identity accepted by Get-AD*."
        },
        "profile": {
            "type": "string",
            "minLength": 1,
            "description": "Optional AD profile id; omit to search all configured profiles."
        },
        "max_items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 5000,
            "default": 500
        }
    }
}
ad.search_ousad.ous.read

Search or list Active Directory organizational units (OU). Omit query (or use '*') to list all OUs. With query, search by name, description or distinguished name.

Registration: RiskLevel.READ / ApprovalMode.NEVER · enabled

ExecutionRequest to the provider backend; ExecutionResult carries normalized data/error/status and provider metadata. Runtime RBAC can raise deny or force approval even where metadata says NEVER/POLICY; static metadata is not final policy.

Exact input schema

json
{
    "type": "object",
    "required": [],
    "additionalProperties": false,
    "properties": {
        "query": {
            "type": [
                "string",
                "null"
            ],
            "description": "Optional search text. Omit it (or use '*') to list all matching AD objects."
        },
        "profile": {
            "type": "string",
            "minLength": 1,
            "description": "Optional AD profile id; omit to search all configured profiles."
        },
        "max_items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 5000,
            "description": "Optional result limit. Defaults to 50 for text search and 5000 when query is omitted/list-all."
        }
    }
}

Module metadata#

Module ID
ad
Version
1.0.2
Permissions
ad.health.read, ad.users.read, ad.computers.read, ad.groups.read, ad.ous.read
Declared runtime settings
CONTROLHUB_AD_ENABLED, CONTROLHUB_AD_PROFILES, CONTROLHUB_AD_SERVER, CONTROLHUB_AD_SEARCH_BASE, CONTROLHUB_AD_USERNAME, CONTROLHUB_AD_PASSWORD, CONTROLHUB_AD_POWERSHELL, CONTROLHUB_AD_TIMEOUT_SECONDS, CONTROLHUB_AD_HEALTH_TTL_SECONDS, CONTROLHUB_AD_BACKEND_PRIORITY
Dependencies
No declared Python dependencies
Entitlements
Free-tier metadata; runtime enforcement disabled.

Configure and test directory reads#

  1. Confirm reachable Windows/AD services and an identity authorized for the intended directory reads.
  2. Configure the server/search base and credentials using the module’s supported settings or configured profiles.
  3. Check directory health, then grant the exact user/computer/group/OU read categories needed by the role.
  4. Search for a known account and inspect its exact identity before reading group membership.

Verified setting names include CONTROLHUB_AD_SERVER, CONTROLHUB_AD_SEARCH_BASE, CONTROLHUB_AD_USERNAME and CONTROLHUB_AD_PASSWORD. Credential statements in the source are partly redacted; use your environment’s confirmed values and never copy credentials into prompts.

A useful request is “Find this group and show its members.” Clarify duplicate names. An enabled directory computer account is not evidence of live network connectivity. Use provider endpoint status where that is the actual question.

Permissions, approval and directory identity#

All ten native tools are READ / NEVER registrations. This means ordinary authorized reads do not intrinsically request a new approval. Runtime role decisions can still deny or require approval, and the directory identity must itself have access. Directory credentials do not automatically make a YAADMIN user an administrator.

A profile chooses a configured AD profile; omitting it can search across configured profiles. Keep the profile and exact identity together when names overlap. Read tools return directory properties, matching objects or membership data; results are not a live network probe or proof of effective access to every resource.

If a read requires approval under runtime policy, review the exact pending request and use the supported approval action. Approval does not expand directory permissions. The common immutable, expiring, one-time runtime mechanism is described in the approval lifecycle; Action1-specific script rules do not apply to these read tools.

Example: review an employee's group memberships#

  1. Ask “Find Alex Morgan in Active Directory.” Use ad.search_users or resolve an ambiguous name.
  2. Inspect the exact returned identity and profile with ad.get_user.
  3. Ask “Show this user's groups” using ad.get_user_groups.
  4. For a selected group, read details or members. Choose recursive expansion deliberately.
  5. Check retrieval limits and duplicate identities before reporting the result. No access has been changed.

Errors and unsupported changes#

If directory access fails, check the configured profile, connectivity and authorized identity. Run health inspection when investigating the failure. An empty search can mean scope or query mismatch. Password resets, user deletion/disablement and automatic role synchronization are not native capabilities here; approval cannot add an absent tool.

Further reading#

Module setup · Roles and permissions · Troubleshooting · Available modules

Implementation reference: 2026-10-02. Labels distinguish verified behavior, partial implementation and architectural intent.

Search documentation

Search stays in your browser.

YAADMIN CORE

Get YAADMIN Core

Your workspace starts here. We’ll email you a personal installer link. Only email is required.

Security code
Security code: enter the characters shown

We’ll send your installer link and useful YAADMIN updates. Unsubscribe from updates at any time. Privacy policy

YOUR NEXT YAADMIN WORKFLOW

Build your workspace.
Save 15%.

Get practical YAADMIN guides, product news and a personal 15% discount on packages and paid modules after confirming your email.

Open subscription form

One welcome code per email, one use. Can be combined with your 50% customer discount. Technical support and paid-module update renewals are excluded. No purchase required to subscribe. Free modules remain free.

Privacy Policy