# Getting Missing role error for AD user with all\_access role

**URL:** <https://forum.opensearch.org/t/getting-missing-role-error-for-ad-user-with-all-access-role/28041>\
**Category:** Security\
**Created:** [May 3, 2026, 4:14pm UTC](https://forum.opensearch.org/t/getting-missing-role-error-for-ad-user-with-all-access-role/28041 "2026-05-03T16:14:50Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Santhosh.Gollapudi](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Santhosh.Gollapudi](https://forum.opensearch.org/u/Santhosh.Gollapudi)\
**Post date:** [May 3, 2026, 4:14pm UTC](https://forum.opensearch.org/t/getting-missing-role-error-for-ad-user-with-all-access-role/28041/1 "2026-05-03T16:14:51Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser): 3.6.0 / RHEL 9.7 / Chrome

**Describe the issue** : We recently built a opensearch cluster for our test environment and we have configured our ADOM group as backend role mapping to all\_access role in the cluster. I was able to login to the cluster since last week and all of a sudden, I am not able to get into the cluster. Whenever I am trying to login, authentication is working but authorization is failing and page is immediately redirecting to Missing Role message. I have run \_plugins/\_security/authinfo with my credentials from POSTMAN and getting empty response for backend\_roles. Other members part of different ADOM group with same all\_access role are able to login.

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [May 5, 2026, 5:04am UTC](https://forum.opensearch.org/t/getting-missing-role-error-for-ad-user-with-all-access-role/28041/2 "2026-05-05T05:04:47Z")

</div>

@Santhosh.Gollapudi Could you share output of the following command. Please hide all sensitive data.

```auto
curl --insecure -u admin:<password> "https://localhost:9200/_plugins/_security/api/securityconfig?pretty"

```

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [May 5, 2026, 11:29am UTC](https://forum.opensearch.org/t/getting-missing-role-error-for-ad-user-with-all-access-role/28041/4 "2026-05-05T11:29:39Z")

</div>

@Santhosh.Gollapudi Thank you for sharing the configuration. Is your username unique for each domain? Please be aware that if you use the same username in more than one domain, the first match will be used by the security plugin.

If this is a test environment, can you test your authentication/authorization against a single LDAP domain?

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [May 5, 2026, 1:19pm UTC](https://forum.opensearch.org/t/getting-missing-role-error-for-ad-user-with-all-access-role/28041/6 "2026-05-05T13:19:36Z")

</div>

@Santhosh.Gollapudi At this point, you don’t know which domain authenticated your user. Since this is a test cluster, you could try to leave only one domain and check which one is failing. Alternatively, you could create a unique user in each domain and see if you get roles from each domain.

---

<div class="post-metadata">

**Author:** ![Santhosh.Gollapudi](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Santhosh.Gollapudi](https://forum.opensearch.org/u/Santhosh.Gollapudi)\
**Post date:** [May 5, 2026, 1:29pm UTC](https://forum.opensearch.org/t/getting-missing-role-error-for-ad-user-with-all-access-role/28041/7 "2026-05-05T13:29:58Z")

</div>

I will try this. But, I have another user with read only access to opensearch dashboards. He has only one domain for his id and he was able to login earlier but not now.

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [May 5, 2026, 5:54pm UTC](https://forum.opensearch.org/t/getting-missing-role-error-for-ad-user-with-all-access-role/28041/8 "2026-05-05T17:54:14Z")

</div>

@Santhosh.Gollapudi Which domain out of the shared ones is your read-only user in?  
Do you see any errors in OpenSearch logs when that user logs in?

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [May 15, 2026, 10:04pm UTC](https://forum.opensearch.org/t/getting-missing-role-error-for-ad-user-with-all-access-role/28041/10 "2026-05-15T22:04:06Z")

</div>

@Santhosh.Gollapudi I’ve checked and tested your configuration. The only unknown factor for me is the binding user. Can the binding user search for groups in the rolebase DN?

Could you test with the `ldapsearch` tool?

````auto
env LDAPTLS_REQCERT=never ldapsearch -b <bind_dn> -H ldaps://<DC_HOST>:636 -D <bind_user>```

I see that you've used the same user for bind_dn in both authc and authz. Is the password the same for both?
````

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [May 17, 2026, 8:52pm UTC](https://forum.opensearch.org/t/getting-missing-role-error-for-ad-user-with-all-access-role/28041/12 "2026-05-17T20:52:58Z")

</div>

@Santhosh.Gollapudi Thank you for sharing your solution. Just out of curiosity, are workspaces enabled in your OpenSearch Dashboards?

```auto
explore.enabled: true
workspace.enabled: true

```

---

<div class="post-metadata">

**Author:** ![Santhosh.Gollapudi](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@Santhosh.Gollapudi](https://forum.opensearch.org/u/Santhosh.Gollapudi)\
**Post date:** [May 18, 2026, 3:40pm UTC](https://forum.opensearch.org/t/getting-missing-role-error-for-ad-user-with-all-access-role/28041/13 "2026-05-18T15:40:25Z")

</div>

explore is enabled but workspace is disabled. We are using tenants and kept workspaces disabled.
