> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/knowledge-base/how-to-articles/enforce-domain-containers.md).

# Enforce domain containers

Domain containers are enforced in Devolutions Server. In earlier versions, as long as the administration credentials had rights to other organizational units (OUs) of the domain, users and user groups could still be used even if they were outside those containers. That is not the case anymore.

Ensure that all users and user groups can be used:

1. Log in to your Devolutions Server web interface using and administrator account.
2. Go to ***Administration – Server settings – Authentication – Domains***.

   <figure><img src="https://cdnweb.devolutions.net/docs/DVLS2004_2024_1.png" alt=""><figcaption></figcaption></figure>
3. Click on ***Edit*** next to your domain.

   <figure><img src="https://cdnweb.devolutions.net/docs/DVLS2005_2024_1.png" alt=""><figcaption></figcaption></figure>
4. Go to the ***Advanced settings***.

   <figure><img src="https://cdnweb.devolutions.net/docs/DVLS2006_2024_1.png" alt=""><figcaption></figcaption></figure>
5. In ***Domain containers***, check if you have any OUs selected. If you have some configured, please ensure that all the users and user groups are included here, or else the users and groups outside of those containers will not be able to connect or have the proper permissions. You could also remove those domain container restrictions if your Active Directory is not large.
6. Click ***OK*** then ***Update*** to save your changes.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.devolutions.net/server/knowledge-base/how-to-articles/enforce-domain-containers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
