Active Directory / Basic / Lesson 7
Perform a bounded directory search
Specify object identity and search scope and interpret results without modifying the directory.
On this page
Lesson goals
- Identify the controller, search base, and suitable filter.
- Interpret results and verify object identity while protecting data.
- Interpret search results within target, base, filter, permissions and timing.
- Disambiguate duplicate display names before an authorized action.
Define the directory question
A directory search should start with the object type, identity or property sought, expected domain, and an authorized reason. Work in a disposable lab with synthetic accounts and the least access needed to read them. Record the controller and observation time because replication and permissions can affect the view. A missing result is a diagnostic clue, not automatic proof that the object does not exist anywhere.
Look up a known identity
The Active Directory PowerShell module provides commands for querying directory objects when installed and authorized. A known lab account identifier can be looked up directly against an explicitly named lab controller. The first example is read-only but depends on the module, permissions, DNS, and a matching synthetic account. It is marked non-runnable because it targets a hypothetical environment. Never substitute a production account without the appropriate authorization.
Get-ADUser -Identity 'lab-user' -Server 'dc1.lab.example'
This assumes the module, account, controller, and read permission; it modifies no object.
Bound a property search
A property search should specify a suitable search base and filter so it does not scan an unrelated domain or return excessive personal data. The second example uses a fixed synthetic name and a lab organizational unit. The PowerShell filter syntax is distinct from an LDAP filter; consult the installed command documentation before constructing either. Avoid concatenating untrusted user input into a query, and request only properties needed for the task.
Get-ADUser -Filter "Name -eq 'Lab User'" -SearchBase 'OU=Lab,DC=lab,DC=example' -Server 'dc1.lab.example'
The example uses a fixed value and lab base; results depend on data and permissions.
Interpret empty and multiple results
If the result is empty, check the domain controller, search base, filter, access rights, and replication context before creating another account. A display name may not be unique, so multiple matches require a stable identifier and owner confirmation. Preserve the exact query and observation time without copying sensitive attributes into a ticket. Query success does not prove the account can authenticate or access a resource.
Verify the intended object
Compare the returned distinguished name and authorized identifiers with the original request, then ask the object owner to resolve any ambiguity. For a controlled lab change, record the previous state and verify the same object on the relevant controller afterward. A read-only search should remain separate from a modification plan with its own approval and rollback. Document the result and any scope or replication limitations.
Define the search question
A directory search is bounded by its target controller, search base, scope, filter, requested attributes, identity and time. A missing result means that the observed response did not contain a matching object under those conditions; it does not automatically prove that the account does not exist. Before creating an apparently missing account, check the authorized target, base, filter, permissions and replication context, then confirm identity and ownership. Creating a duplicate from an incomplete search can complicate access and recovery.
A course fragment such as Get-ADUser is an illustration unless executed in a compatible, authorized environment with actual output recorded. It proves no live directory state. The Windows Server 2025 course baseline does not make a synthetic search an audit. Record the environment, target and evidence source for any real check.
Understand base, scope and filter
The search base identifies where a search begins, while scope and filter determine which entries are considered and returned. A known account under OU=West may be absent from a query restricted to OU=East without being deleted. A filter on an attribute can exclude an existing object whose value differs. Preserve the exact search context and compare it with the authorized request; do not broaden a search or expose unrelated attributes without a reason and permission.
A missing permission or incomplete replication can also affect an observation. An empty result from one controller is not a domain-wide absence claim. Compare the relevant controller, query and time, and ask the owner for the appropriate evidence. A listed result likewise needs identity verification before it becomes a target for any change.
Disambiguate results
Display names are useful for presentation but can be mutable or nonunique. If two results both display “Mira,” do not select the first automatically. Compare the stable identifiers and distinguished names appropriate to the documented request, domain or authority, and ask the responsible owner to confirm. A distinguished name describes location and can change when an object moves; the integration’s actual identifier contract determines what is stable for its purpose.
A search result shows attributes returned under the query and permission context. It does not itself authorize a reset, group change or deletion. Preserve the exact object identity and requested operation, not passwords or unrelated personal details. If results conflict with the request, pause the dependent action rather than editing records to make them match.
Preserve provenance and privacy
A reviewable search record includes the question, approved target, base, scope, filter, identity, time, requested attributes and sanitized result. Note whether the output was actually observed or is a fictional example. Replication or forwarding delay and different controllers can yield different views; compare the same question and relevant window before attributing a discrepancy. A later successful query does not by itself prove the earlier failure’s cause.
Collect the minimum necessary data. An allowlisted attribute can still contain private content, and a screenshot can expose tokens or unrelated user information. Use approved redaction and restricted storage. Do not ask for passwords or copy a whole directory export merely to resolve one identity question.
Verify before and after an authorized action
When a search fails to find a known account, first validate target, base, filter, permissions and replication evidence and confirm the person with the owner. If a change is eventually approved, record the exact principal, intended action, baseline and recovery plan. A search match is not change authorization, and creating an account is not a harmless test of whether one already existed.
After an authorized action, verify the original user operation and any required restrictions under the intended identity. Record the result and remaining uncertainty for the next owner. These offline examples neither query AD DS nor create, reset or delete accounts; they demonstrate how to reason about bounded evidence.
20 worked examples
1. Wrong base
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: known account: under OU=West search base: OU=East scope: East only
- The known location is outside the declared search base.
- An empty result does not prove directory-wide absence.
known account: under OU=West
search base: OU=East
scope: East only
Hypothetical data for analysis, not a host measurement. Search results are bounded by base and scope. The known location is outside the declared search base.
Expected result: An empty result does not prove directory-wide absence.
Why this result follows: Search results are bounded by base and scope. The known location is outside the declared search base.
2. Filter mismatch
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: object department: West filter: department=East base: includes object
- The object is within the base but fails the declared attribute predicate.
- Its absence from the response is consistent with the filter.
object department: West
filter: department=East
base: includes object
Hypothetical data for analysis, not a host measurement. A filter excludes entries that do not match its condition. The object is within the base but fails the declared attribute predicate.
Expected result: Its absence from the response is consistent with the filter.
Why this result follows: A filter excludes entries that do not match its condition. The object is within the base but fails the declared attribute predicate.
3. Permission unknown
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: search: empty query identity permissions: unverified known account: reported
- The response is empty, but the query identity’s visibility is unknown.
- Inspect authorized permissions before concluding the account is absent.
search: empty
query identity permissions: unverified
known account: reported
Hypothetical data for analysis, not a host measurement. Search visibility depends on the querying context. The response is empty, but the query identity’s visibility is unknown.
Expected result: Inspect authorized permissions before concluding the account is absent.
Why this result follows: Search visibility depends on the querying context. The response is empty, but the query identity’s visibility is unknown.
4. Controller difference
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: controller A: object observed controller B: no result replication context: unknown
- The observations differ between controllers.
- Compare the same query, timing and replication evidence before assigning a cause.
controller A: object observed
controller B: no result
replication context: unknown
Hypothetical data for analysis, not a host measurement. Different directory views require context and time correlation. The observations differ between controllers.
Expected result: Compare the same query, timing and replication evidence before assigning a cause.
Why this result follows: Different directory views require context and time correlation. The observations differ between controllers.
5. Two display names
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: result A: display Mira, ID 101 result B: display Mira, ID 202 request ID: 202
- Both records share a display name but have different identifiers.
- The stated request matches ID 202; confirm with the owner before action.
result A: display Mira, ID 101
result B: display Mira, ID 202
request ID: 202
Hypothetical data for analysis, not a host measurement. Display names are not necessarily unique. Both records share a display name but have different identifiers.
Expected result: The stated request matches ID 202; confirm with the owner before action.
Why this result follows: Display names are not necessarily unique. Both records share a display name but have different identifiers.
6. First result
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: search output: Mira ID 101, Mira ID 202 requested identity: unconfirmed
- The result order supplies no authority to choose an identity.
- Compare stable identifiers and distinguished names with the request and owner.
search output: Mira ID 101, Mira ID 202
requested identity: unconfirmed
Hypothetical data for analysis, not a host measurement. List position is not identity verification. The result order supplies no authority to choose an identity.
Expected result: Compare stable identifiers and distinguished names with the request and owner.
Why this result follows: List position is not identity verification. The result order supplies no authority to choose an identity.
7. DN changes
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: object: moved in fixture old DN: OU=East new DN: OU=West principal: unchanged
- The object’s declared location changes while the fixture retains its principal.
- Applications using a search base need separate review.
object: moved in fixture
old DN: OU=East
new DN: OU=West
principal: unchanged
Hypothetical data for analysis, not a host measurement. A location name and security principal can have different lifecycles. The object’s declared location changes while the fixture retains its principal.
Expected result: Applications using a search base need separate review.
Why this result follows: A location name and security principal can have different lifecycles. The object’s declared location changes while the fixture retains its principal.
8. Wrong target
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: approved controller: lab-DC1 query result: lab-DC2
- The output is labeled for a different controller.
- Do not report DC2’s result as DC1’s observed state.
approved controller: lab-DC1
query result: lab-DC2
Hypothetical data for analysis, not a host measurement. Target identity is part of search evidence. The output is labeled for a different controller.
Expected result: Do not report DC2’s result as DC1’s observed state.
Why this result follows: Target identity is part of search evidence. The output is labeled for a different controller.
9. Old observation
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: account search: empty at 09:00 account observed: 11:00 intervening changes: unknown
- The observations are two hours apart.
- The later result does not by itself explain the earlier empty response.
account search: empty at 09:00
account observed: 11:00
intervening changes: unknown
Hypothetical data for analysis, not a host measurement. Directory state and replication can change over time. The observations are two hours apart.
Expected result: The later result does not by itself explain the earlier empty response.
Why this result follows: Directory state and replication can change over time. The observations are two hours apart.
10. Unexecuted query
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: course: Get-ADUser fragment shown execution: none controller: not contacted
- The fragment is an illustration without target output.
- It proves no real user or group state.
course: Get-ADUser fragment shown
execution: none
controller: not contacted
Hypothetical data for analysis, not a host measurement. Displayed syntax is not an observed directory response. The fragment is an illustration without target output.
Expected result: It proves no real user or group state.
Why this result follows: Displayed syntax is not an observed directory response. The fragment is an illustration without target output.
11. Search match not approval
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: search: account found requested action: reset owner approval: absent
- The search identified a candidate, but the required action approval is missing.
- Do not reset the account from search output alone.
search: account found
requested action: reset
owner approval: absent
Hypothetical data for analysis, not a host measurement. Identity observation and change authorization are separate. The search identified a candidate, but the required action approval is missing.
Expected result: Do not reset the account from search output alone.
Why this result follows: Identity observation and change authorization are separate. The search identified a candidate, but the required action approval is missing.
12. Duplicate creation risk
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: search: no result in narrow base known user: reported identity confirmation: pending
- The search scope may omit the existing account.
- Check target, base, filter and owner before creating another.
search: no result in narrow base
known user: reported
identity confirmation: pending
Hypothetical data for analysis, not a host measurement. An incomplete search cannot justify assuming absence. The search scope may omit the existing account.
Expected result: Check target, base, filter and owner before creating another.
Why this result follows: An incomplete search cannot justify assuming absence. The search scope may omit the existing account.
13. Requested attributes
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: question: department value query: requests display name only result: name returned
- The response does not include the attribute needed for the question.
- Use an authorized query scoped to the necessary attribute.
question: department value
query: requests display name only
result: name returned
Hypothetical data for analysis, not a host measurement. A search can only report requested and visible data. The response does not include the attribute needed for the question.
Expected result: Use an authorized query scoped to the necessary attribute.
Why this result follows: A search can only report requested and visible data. The response does not include the attribute needed for the question.
14. Private value
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: allowed field: description value: contains token audience: broad
- The field is permitted structurally, but its value is sensitive.
- Redact under the approved process and restrict the source.
allowed field: description
value: contains token
audience: broad
Hypothetical data for analysis, not a host measurement. Allowed field names do not guarantee safe values. The field is permitted structurally, but its value is sensitive.
Expected result: Redact under the approved process and restrict the source.
Why this result follows: Allowed field names do not guarantee safe values. The field is permitted structurally, but its value is sensitive.
15. Exact filter
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: requested user: learner1 filter: learner10 result: empty
- The filter names a different literal account from the request.
- Correct the approved query context before inferring account absence.
requested user: learner1
filter: learner10
result: empty
Hypothetical data for analysis, not a host measurement. A filter’s literal value determines what can match. The filter names a different literal account from the request.
Expected result: Correct the approved query context before inferring account absence.
Why this result follows: A filter’s literal value determines what can match. The filter names a different literal account from the request.
16. Display rename
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: display: Mira → Mira Training security principal: unchanged in fixture
- The presentation text changes while the declared principal remains the same.
- Verify integration and access separately rather than inferring them from the label.
display: Mira → Mira Training
security principal: unchanged in fixture
Hypothetical data for analysis, not a host measurement. Display attributes and security identity are different concepts. The presentation text changes while the declared principal remains the same.
Expected result: Verify integration and access separately rather than inferring them from the label.
Why this result follows: Display attributes and security identity are different concepts. The presentation text changes while the declared principal remains the same.
17. Same query comparison
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: controller A and B: same base, filter, identity A returns object; B empty time: aligned
- The results differ while the stated query conditions and time match.
- Investigate replication and visibility evidence without assuming a single cause.
controller A and B: same base, filter, identity
A returns object; B empty
time: aligned
Hypothetical data for analysis, not a host measurement. Controlled comparisons narrow but do not alone prove a cause. The results differ while the stated query conditions and time match.
Expected result: Investigate replication and visibility evidence without assuming a single cause.
Why this result follows: Controlled comparisons narrow but do not alone prove a cause. The results differ while the stated query conditions and time match.
18. Partial result
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: search: one result returned result limit: reached additional matches: unknown
- The query returned a record but hit its stated limit.
- Do not claim it is the only matching account.
search: one result returned
result limit: reached
additional matches: unknown
Hypothetical data for analysis, not a host measurement. Result limits can hide additional matches. The query returned a record but hit its stated limit.
Expected result: Do not claim it is the only matching account.
Why this result follows: Result limits can hide additional matches. The query returned a record but hit its stated limit.
19. No secrets
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: handoff: sanitized ID and DN password: omitted owner: named
- The record retains the necessary identity context without a password.
- Send it only through the approved channel to the responsible owner.
handoff: sanitized ID and DN
password: omitted
owner: named
Hypothetical data for analysis, not a host measurement. A bounded handoff can support verification while protecting credentials. The record retains the necessary identity context without a password.
Expected result: Send it only through the approved channel to the responsible owner.
Why this result follows: A bounded handoff can support verification while protecting credentials. The record retains the necessary identity context without a password.
20. Original operation
Problem: Analyze the synthetic directory search record and calculate or infer the supported result and its limits. Record: after authorized lab change: account found user sign-in: untested
- The search finds a record, but the requested user operation is not observed.
- Verify the approved synthetic sign-in and relevant resource task separately.
after authorized lab change: account found
user sign-in: untested
Hypothetical data for analysis, not a host measurement. A directory match is not end-to-end user recovery. The search finds a record, but the requested user operation is not observed.
Expected result: Verify the approved synthetic sign-in and relevant resource task separately.
Why this result follows: A directory match is not end-to-end user recovery. The search finds a record, but the requested user operation is not observed.
Common errors and fixes
Creating a new account after an empty search
- Why it happens
- The search scope, controller, or permission may be wrong.
- How to fix it
- Verify scope, replication, and identity with the owner.
- Prevent it next time
- Document search context before modifying anything.
Choosing the first duplicate display name
- Why it happens
- A display name is not guaranteed to be unique.
- How to fix it
- Compare stable identifiers with the approved request.
- Prevent it next time
- Use a specific identity when available.
Copying excess personal data into a ticket
- Why it happens
- The query requested more properties than needed.
- How to fix it
- Follow the data owner’s exposed-information procedure.
- Prevent it next time
- Minimize properties and protect query output.
20 practice exercises
1. A search did not find a known account. What should you check before creating it?
Show hint
Review controller, base, filter, permissions and replication before creation.
Show worked solution
Check the controller, search base, filter, permissions, and replication context, then confirm identity with the owner.
An empty search does not establish directory-wide account absence. Check controller, base, filter, query identity and replication context, then confirm the person with the owner before any authorized creation.
Check your solution
- Identify target, base, filter, permissions and replication.
- Confirm identity with the owner before account creation.
2. Two results share a display name. How do you choose?
Show hint
Compare stable identifiers and distinguished names, not result order.
Show worked solution
Do not select the first automatically. Compare stable identifiers and distinguished names with the authorized request and confirm with the owner.
A display name can be duplicated or changed. Compare appropriate identifiers and distinguished names with the request and domain, then confirm the principal with the owner before selecting or changing it.
Check your solution
- Do not select the first result from display name alone.
- Compare identifier and DN and confirm with the owner.
3. A search does not find a known account. What should be checked before creating another?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
Check the controller, base, filter, query permissions and replication context, then confirm identity with the owner. An empty narrow result is not proof of absence. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Identify search and replication context to verify.
- Confirm identity before creating an account.
4. A known account is under OU=West, but a search covers only OU=East. What does an empty result mean?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
The account is outside the declared base. The result does not establish directory-wide absence. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Identify the base mismatch.
- Limit the conclusion to the searched scope.
5. An object is in the base but has department=West while the filter asks for East. Why is it absent?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
It fails the declared filter predicate. Its absence from this response does not prove deletion. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Identify the attribute mismatch.
- Do not infer deletion.
6. A search is empty and the querying identity’s permissions are unknown. Is account absence proven?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
No. Verify the authorized identity’s visibility and other search conditions before concluding. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Identify unknown query permissions.
- Keep account existence unresolved.
7. Controller A returns an object and B does not for a time-aligned query. Is replication failure proven?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
No. Compare the exact base, filter, identity and replication evidence. The difference is a starting observation. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Identify differing controller results.
- Investigate query and replication context.
8. Two results display Mira, with IDs 101 and 202; the authorized request names 202. How should support choose?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
Compare stable identifiers and distinguished names with the request, then confirm the intended principal with the owner before action. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Identify 202 as the requested identifier.
- Confirm identity with the owner.
9. Two results share a display name and the requested identity is unconfirmed. Should the first result be selected?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
No. Result order is not identity proof. Compare stable identifiers and distinguished names with the owner. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Do not select by list position.
- Confirm the scoped principal.
10. A fictional object moves from OU=East to OU=West while its principal is unchanged. What changed?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
Its declared location or distinguished-name path changes. Application searches and effective access require separate review. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Identify the location change.
- Keep principal and access questions separate.
11. The approved controller is DC1, but output is labeled DC2. Can it establish DC1’s result?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
No. Reconcile the target and obtain matching authorized evidence for DC1. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Identify the controller mismatch.
- Keep DC1’s result unverified.
12. An empty query at 09:00 and a successful query at 11:00 are observed, with intervening changes unknown. Does the later result explain the first?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
No. State or replication may have changed during the two-hour gap. Preserve both contexts and investigate. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Identify the time gap.
- Keep the earlier cause unresolved.
13. A course displays Get-ADUser without execution. Does it prove a real account exists?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
No. The fragment has no observed target output. A real claim needs an authorized query and result. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Identify the unexecuted fragment.
- Do not claim real account state.
14. A search finds a candidate account, but reset approval is absent. May it be reset?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
No. A search match is not change authorization. Confirm the principal and obtain the required owner decision. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Identify the search match.
- Require separate reset approval.
15. A question needs the department attribute, but a query returns display name only. Is the department known?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
No. The necessary attribute was not returned. Use an authorized query limited to the required data. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Identify the missing attribute.
- Request only necessary data under authorization.
16. An allowed description field contains a token, and the audience is broad. Is it safe to share unchanged?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
No. Redact the sensitive value and restrict the source under the approved process. A field name does not guarantee safe content. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Identify the token.
- Apply redaction and audience controls.
17. The request names learner1, but the filter asks for learner10 and returns empty. What should be checked?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
The literal filter differs from the requested identity. Correct the authorized query context before inferring absence. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Identify the literal-name mismatch.
- Do not create an account from that result.
18. Two controllers receive the same time-aligned base, filter and identity, but only A returns the object. Is one cause proven?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
No. The controlled contrast narrows the issue, but replication and visibility need separate evidence. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Identify the differing responses.
- Investigate replication and visibility without overclaiming.
19. A query returns one account but reaches its result limit. Is it necessarily the only match?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
No. Additional matches may be omitted by the limit. Use the approved bounded query process to clarify. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Identify the reached result limit.
- Keep additional matches unknown.
20. After an authorized lab change, a search finds the account but the original sign-in is untested. Is recovery verified?
Show hint
Identify target, base, scope, filter, identity and result limits.
Show worked solution
No. Verify the approved synthetic sign-in and relevant resource operation under the intended identity. Record the observation context and identity before testing the result in an authorized lab.
Check your solution
- Identify the successful search.
- Require original user-task verification.
Key takeaways
- Bound the search by identity, scope, and controller.
- Interpret results cautiously and protect directory attributes.
- An empty search does not establish directory-wide absence.
- Display name and result order do not prove identity.
- A displayed query is not a real server result.