> 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/troubleshooting-articles/domain-group-membership-is-not-retrieved-properly.md).

# Domain group membership is not retrieved properly

This is a solution for when the domain group membership is not retrieved correctly from Active Directory. Here are the steps the follow:

1. Access the Devolutions Server web interface and connect using an administrator account.
2. Head over to the ***Administration*** tab, and go to the ***Server settings*** – ***Authentication*** – ***Domain*** page.

![](https://cdnweb.devolutions.net/docs/DVLS4153_2024_3.png)

3. Click on the ***Diagnostics*** button of the desired domain.

![](https://cdnweb.devolutions.net/docs/DVLS4154_2024_3.png)

4. Set the ***Diagnostic type*** option to ***Get groups by user***.

![](https://cdnweb.devolutions.net/docs/docs_en_kb_KB0013.png)

5. Enter a username from the problematic group in the ***Parameter*** field.
6. Set the ***Strategy*** option to ***Directory entry token group***.

![](https://cdnweb.devolutions.net/docs/docs_en_kb_KB0014.png)

7. Click on ***Get Diagnostic***.

![](https://cdnweb.devolutions.net/docs/docs_en_kb_KB0015.png)

{% hint style="info" %}
If this fails, instead use ***Directory entry token group (Legacy)*** or ***Recursively*** in the ***Strategy*** dropdown.
{% endhint %}

8. Close this window by clicking on ***Close***.
9. Go to the domain and click on the ***Edit*** button.

![](https://cdnweb.devolutions.net/docs/DVLS6036_2024_1.png)

10. Click on ***Advanced Settings***.

![](https://cdnweb.devolutions.net/docs/DVLS4155_2024_3.png)

11. Under ***Strategy***, change the ***Get groups by user*** option to the one selected in step #7.

![](https://cdnweb.devolutions.net/docs/DVLS6034_2024_1.png)

12. Click on ***OK*** to save the 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/troubleshooting-articles/domain-group-membership-is-not-retrieved-properly.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.
