# Cannot log in to Kibana in Azure

**URL:** <https://discuss.elastic.co/t/cannot-log-in-to-kibana-in-azure/202838>\
**Category:** Elasticsearch\
**Created:** [October 9, 2019, 1:32pm UTC](https://discuss.elastic.co/t/cannot-log-in-to-kibana-in-azure/202838 "2019-10-09T13:32:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![B\_Z](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/b_z/32/48504_2.png) [@B\_Z](https://discuss.elastic.co/u/B_Z)\
**Post date:** [October 9, 2019, 1:32pm UTC](https://discuss.elastic.co/t/cannot-log-in-to-kibana-in-azure/202838/1 "2019-10-09T13:32:15Z")

</div>

I've created an ElasticStack from Azure but when I try to log in to Kibana through the IP Address (IPADDRESS:5601) then this error is generated:

`{"statusCode":403,"error":"Forbidden","message":"Forbidden"}`

Can you please help me to solve this problem @forloop ?

Thanks

---

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [October 9, 2019, 8:52pm UTC](https://discuss.elastic.co/t/cannot-log-in-to-kibana-in-azure/202838/2 "2019-10-09T20:52:08Z")

</div>

To clarify, you get a JSON response of

```auto
{"statusCode":403,"error":"Forbidden","message":"Forbidden"}

```

When navigating to `http(s)://IPADDRESS:5601` in the browser?

Some things to look at to start:

1. Was template deployment successful? If not, what was the error message?

2. What do the kibana logs on the VM show? You can get these by ssh'ing into the Kibana VM using the admin username and password/ssh key defined in the template or Marketplace steps. The log file will be located at `/var/log/kibana.log`.

3. What's in the kibana configuration file? You can find this in `/etc/kibana/kibana.yml` and redact any sensitive information if posting here.

---

<div class="post-metadata">

**Author:** ![B\_Z](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/b_z/32/48504_2.png) [@B\_Z](https://discuss.elastic.co/u/B_Z)\
**Post date:** [October 10, 2019, 6:56am UTC](https://discuss.elastic.co/t/cannot-log-in-to-kibana-in-azure/202838/3 "2019-10-10T06:56:34Z")

</div>

Yes, the JSON response comes when I navigate to`http(s)://IPADDRESS:5601` in the browser.

1. The template deployment was successfull. Everything is on green.

2. I am new to this sry for this "beginner" question: can I ssh into Kibana VM through the Power Shell in Azure Portal?

---

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [October 10, 2019, 7:49am UTC](https://discuss.elastic.co/t/cannot-log-in-to-kibana-in-azure/202838/4 "2019-10-10T07:49:30Z")

</div>

> [@B\_Z](#):
>
> I am new to this sry for this "beginner" question: can I ssh into Kibana VM through the Power Shell in Azure Portal?

The Azure Marketplace deploys Elasticsearch onto Ubuntu VMs, so you'll need an ssh client to log in. You can use Azure cloud shell with Bash if you don't have an ssh client on your machine.

You'll need to ssh into Kibana VM using the admin username and password/ssh key that was specified in step of the Azure Marketplace portal:

 ![admin_credentials](https://us1.discourse-cdn.com/elastic/original/3X/e/8/e87ceef304635f7c05ebb8985c26b6cd67d15c57.png)

In the shell

```auto
ssh <admin username>@<kibana public IP address>

```

Take a look at the [accessing nodes documentation](https://www.elastic.co/guide/en/elastic-stack-deploy/current/azure-arm-template-troubleshooting-accessing-nodes.html) for more details. Once connected to the Kibana VM, you'll can then access the files, ssh into another VM on the network, etc.

---

<div class="post-metadata">

**Author:** ![B\_Z](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/b_z/32/48504_2.png) [@B\_Z](https://discuss.elastic.co/u/B_Z)\
**Post date:** [October 10, 2019, 8:14am UTC](https://discuss.elastic.co/t/cannot-log-in-to-kibana-in-azure/202838/5 "2019-10-10T08:14:01Z")

</div>

Thank you! I will give it a try and come back with my progress.

---

<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:** [November 7, 2019, 8:14am UTC](https://discuss.elastic.co/t/cannot-log-in-to-kibana-in-azure/202838/6 "2019-11-07T08:14:02Z")

</div>

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