# No autorizated for monitoring error

**URL:** https://discuss.elastic.co/t/no-autorizated-for-monitoring-error/338968
**Category:** Kibana
**Created:** [July 21, 2023, 8:25pm UTC](https://discuss.elastic.co/t/no-autorizated-for-monitoring-error/338968 "2023-07-21T20:25:55Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![hlcxpl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hlcxpl/32/123290_2.png) [@hlcxpl](https://discuss.elastic.co/u/hlcxpl)
#### Post date: [July 21, 2023, 8:25pm UTC](https://discuss.elastic.co/t/no-autorizated-for-monitoring-error/338968/1 "2023-07-21T20:25:55Z")

</div>

```auto
You are not authorized to access Monitoring. To use Monitoring, you need the privileges granted by both the `kibana_admin` and `monitoring_user ` roles.

If you are attempting to access a dedicated monitoring cluster, this might be because you are logged in as a user that is not configured on the monitoring cluster.

Since Cross Cluster Search is enabled (`monitoring.ui.ccs.enabled` is set to `true`), make sure your cluster has the `remote_cluster_client` role on at least one node.

```

---

<div class="post-metadata">

### Author: ![PodarcisMuralis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/podarcismuralis/32/122606_2.png) [@PodarcisMuralis](https://discuss.elastic.co/u/PodarcisMuralis)
#### Post date: [July 22, 2023, 3:15pm UTC](https://discuss.elastic.co/t/no-autorizated-for-monitoring-error/338968/2 "2023-07-22T15:15:53Z")

</div>

Hi.

I think you should add the right roles to your user.  
Specifically kibana\_admin and monitoring\_user.

You can find it on Stack Management-\> Security-\> Roles.

If it still doesn't work, you can restart Kibana.

---

<div class="post-metadata">

### Author: ![hlcxpl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hlcxpl/32/123290_2.png) [@hlcxpl](https://discuss.elastic.co/u/hlcxpl)
#### Post date: [July 24, 2023, 7:30pm UTC](https://discuss.elastic.co/t/no-autorizated-for-monitoring-error/338968/3 "2023-07-24T19:30:34Z")

</div>

thank you thats i could resolve with your information i also add  
node.roles: [remote\_cluster\_client] in one of the yml of a node

---

<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: [August 21, 2023, 7:30pm UTC](https://discuss.elastic.co/t/no-autorizated-for-monitoring-error/338968/4 "2023-08-21T19:30:48Z")

</div>

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