# Not able to connect power BI ODBC to Elastic search

**URL:** <https://discuss.elastic.co/t/not-able-to-connect-power-bi-odbc-to-elastic-search/348170>\
**Category:** Kibana\
**Created:** [November 28, 2023, 6:02pm UTC](https://discuss.elastic.co/t/not-able-to-connect-power-bi-odbc-to-elastic-search/348170 "2023-11-28T18:02:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cbeprem](https://avatars.discourse-cdn.com/v4/letter/c/51bf81/32.png) [@cbeprem](https://discuss.elastic.co/u/cbeprem)\
**Post date:** [November 28, 2023, 6:02pm UTC](https://discuss.elastic.co/t/not-able-to-connect-power-bi-odbc-to-elastic-search/348170/1 "2023-11-28T18:02:33Z")

</div>

![elasticodbcerror](https://us1.discourse-cdn.com/elastic/original/3X/7/2/72daa6e755c7b80c299ab1927276de7a77cd554e.png)

Hi Team,

I have a Elastic cluster running on 7.17.6, but i am trying to connect Power Bi desktop to elastic through ODBC client , but it throwing the below error, also enclosed is the image. Kindly suggest me how to coonect power bi to Elasticsearch.

_connection failed: [Elastic][EsODBC 7.17.6(v7.17.5-1-g6f04931 + ,u,r) Driver]security\_exception: current license is non- compliant for [odbc]_

Regards,  
Prem.

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [December 1, 2023, 10:03pm UTC](https://discuss.elastic.co/t/not-able-to-connect-power-bi-odbc-to-elastic-search/348170/2 "2023-12-01T22:03:38Z")

</div>

In order to make use of the Elasticsearch SQL ODBC Driver, the server must have Elasticsearch SQL installed and running with the valid license.

Check to make sure your Elastic cluster has a valid license. For the license info see: [Subscriptions | Elastic Stack Products & Support | Elastic](https://www.elastic.co/subscriptions)

---

<div class="post-metadata">

**Author:** ![cbeprem](https://avatars.discourse-cdn.com/v4/letter/c/51bf81/32.png) [@cbeprem](https://discuss.elastic.co/u/cbeprem)\
**Post date:** [December 3, 2023, 8:45am UTC](https://discuss.elastic.co/t/not-able-to-connect-power-bi-odbc-to-elastic-search/348170/3 "2023-12-03T08:45:59Z")

</div>

Thanks

---

<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:** [December 31, 2023, 8:46am UTC](https://discuss.elastic.co/t/not-able-to-connect-power-bi-odbc-to-elastic-search/348170/4 "2023-12-31T08:46:39Z")

</div>

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