# No compatible realms are enabled in Elasticsearch

**URL:** <https://discuss.elastic.co/t/no-compatible-realms-are-enabled-in-elasticsearch/235159>\
**Category:** Kibana\
**Created:** [June 1, 2020, 12:04pm UTC](https://discuss.elastic.co/t/no-compatible-realms-are-enabled-in-elasticsearch/235159 "2020-06-01T12:04:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bansalhp](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@bansalhp](https://discuss.elastic.co/u/bansalhp)\
**Post date:** [June 1, 2020, 12:04pm UTC](https://discuss.elastic.co/t/no-compatible-realms-are-enabled-in-elasticsearch/235159/1 "2020-06-01T12:04:36Z")

</div>

Hi ,

I have created two simple role-mapping using kibana, even after successful creation of role mapping, kibana says.

```auto
No compatible realms are enabled in Elasticsearch
Role mappings will not be applied to any users. Contact your system administrator and refer to the docs for more information.

```

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/5/751f3231dc47e002c05455db59008de57922612a.png)

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [June 12, 2020, 10:57am UTC](https://discuss.elastic.co/t/no-compatible-realms-are-enabled-in-elasticsearch/235159/3 "2020-06-12T10:57:23Z")

</div>

Hi,  
are you use `file` or `native` realms in elasticsearch? because one cause can be that one:

> Role mappings have no effect for users inside the `native` or `file` realms.

see [Role mappings | Kibana Guide [master] | Elastic](https://www.elastic.co/guide/en/kibana/master/role-mappings.html)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 10, 2020, 11:02am UTC](https://discuss.elastic.co/t/no-compatible-realms-are-enabled-in-elasticsearch/235159/4 "2020-07-10T11:02:57Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
