# Unable to connect to Azure Log Analytics due to Insufficient Access error

**URL:** <https://community.grafana.com/t/unable-to-connect-to-azure-log-analytics-due-to-insufficient-access-error/14167>\
**Category:** General\
**Tags:** azure\
**Created:** [February 4, 2019, 11:26pm UTC](https://community.grafana.com/t/unable-to-connect-to-azure-log-analytics-due-to-insufficient-access-error/14167 "2019-02-04T23:26:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wayno](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@wayno](https://community.grafana.com/u/wayno)\
**Post date:** [February 4, 2019, 11:26pm UTC](https://community.grafana.com/t/unable-to-connect-to-azure-log-analytics-due-to-insufficient-access-error/14167/1 "2019-02-04T23:26:36Z")

</div>

Hi  
I am unable to connect Grafana to Azure Log Analytics. I’ve tried with a local install of Grafana and one in my Azure subscription (I’m using an MSDN subscription to test Grafana). I can connect to Azure Monitor successfully, but using the same Service Principal or a different one, I cannot connect to Log Analytics. I have followed the guidance for setting up the Service Principal and done it multiple times, with no success  
Error is

1. Azure Log Analytics: Forbidden: InsufficientAccessError. The provided credentials have insufficient access to perform the requested operation  
What am I missing here?  
Thanks

---

<div class="post-metadata">

**Author:** ![wayno](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@wayno](https://community.grafana.com/u/wayno)\
**Post date:** [February 6, 2019, 10:24pm UTC](https://community.grafana.com/t/unable-to-connect-to-azure-log-analytics-due-to-insufficient-access-error/14167/2 "2019-02-06T22:24:54Z")

</div>

So it appears to be an issue with the current version of Grafana. I tested the version 6 beta and it worked no problem using the same Service Principal set up previously!
