<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Databricks cannot access Azure Key Vault in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-cannot-access-azure-key-vault/m-p/28477#M20273</link>
    <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;FYI I found the answer to my problem and posted about it here on SO to share: &lt;A href="https://stackoverflow.com/questions/56537214/creating-a-secret-scope-in-databricks-backed-by-azure-key-vault-fails/56537215#56537215" target="test_blank"&gt;https://stackoverflow.com/questions/56537214/creating-a-secret-scope-in-databricks-backed-by-azure-key-vault-fails/56537215#56537215&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It was because I was using a user in Databricks that did not have rights in Azure AD to make a service principal.&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2019 05:48:15 GMT</pubDate>
    <dc:creator>Rodneyjoyce</dc:creator>
    <dc:date>2019-06-11T05:48:15Z</dc:date>
    <item>
      <title>Databricks cannot access Azure Key Vault</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-cannot-access-azure-key-vault/m-p/28472#M20268</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I am trying to set retrieve a secret from Azure Key Vault as follows:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;sqlPassword = dbutils.secrets.get(scope = "Admin", key = "SqlPassword")&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The scope has been created correctly, but I receive the following error message:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;com.databricks.common.client.DatabricksServiceException: INVALID_STATE: Databricks could not access the keyvault: &lt;A href="https://AzureKeyVaultName.vault.azure.net/" target="test_blank"&gt;https://AzureKeyVaultName.vault.azure.net/&lt;/A&gt;.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I assume I need to add Databricks in Azure Key Vaults "Access Policies" however I cannot find any information online on how to do this. Any ideas?&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 18:52:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-cannot-access-azure-key-vault/m-p/28472#M20268</guid>
      <dc:creator>SimonNuss</dc:creator>
      <dc:date>2018-10-10T18:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks cannot access Azure Key Vault</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-cannot-access-azure-key-vault/m-p/28473#M20269</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;This might help - &lt;A href="https://docs.azuredatabricks.net/user-guide/secrets/example-secret-workflow.html" target="test_blank"&gt;https://docs.azuredatabricks.net/user-guide/secrets/example-secret-workflow.html&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 12:33:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-cannot-access-azure-key-vault/m-p/28473#M20269</guid>
      <dc:creator>HariBaskar</dc:creator>
      <dc:date>2019-01-09T12:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks cannot access Azure Key Vault</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-cannot-access-azure-key-vault/m-p/28474#M20270</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;You can follow the steps mentioned at:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://medium.com/@cprosenjit/azure-databricks-with-azure-key-vaults-c00df6548222" target="test_blank"&gt;https://medium.com/@cprosenjit/azure-databricks-with-azure-key-vaults-c00df6548222&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jan 2019 05:23:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-cannot-access-azure-key-vault/m-p/28474#M20270</guid>
      <dc:creator>Prosenjit</dc:creator>
      <dc:date>2019-01-20T05:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks cannot access Azure Key Vault</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-cannot-access-azure-key-vault/m-p/28475#M20271</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hey did you solve the issue?&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 21:27:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-cannot-access-azure-key-vault/m-p/28475#M20271</guid>
      <dc:creator>sagarsharmas</dc:creator>
      <dc:date>2019-03-05T21:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks cannot access Azure Key Vault</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-cannot-access-azure-key-vault/m-p/28476#M20272</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;This did not work for me. I have the same error - including misspelling -&lt;/P&gt;
&lt;P&gt;"Internal error happened while granting read/list permission to Databricks ervice principal to KeyVault: XYZ"&lt;/P&gt;
&lt;P&gt;I'm assuming Databricks is using a default service principal in Azure AD to communicate with KeyVault but I don't have access to AD and I can't find the Databricks principal name.&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 03:44:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-cannot-access-azure-key-vault/m-p/28476#M20272</guid>
      <dc:creator>Rodneyjoyce</dc:creator>
      <dc:date>2019-06-11T03:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks cannot access Azure Key Vault</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-cannot-access-azure-key-vault/m-p/28477#M20273</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;FYI I found the answer to my problem and posted about it here on SO to share: &lt;A href="https://stackoverflow.com/questions/56537214/creating-a-secret-scope-in-databricks-backed-by-azure-key-vault-fails/56537215#56537215" target="test_blank"&gt;https://stackoverflow.com/questions/56537214/creating-a-secret-scope-in-databricks-backed-by-azure-key-vault-fails/56537215#56537215&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It was because I was using a user in Databricks that did not have rights in Azure AD to make a service principal.&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 05:48:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-cannot-access-azure-key-vault/m-p/28477#M20273</guid>
      <dc:creator>Rodneyjoyce</dc:creator>
      <dc:date>2019-06-11T05:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks cannot access Azure Key Vault</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-cannot-access-azure-key-vault/m-p/28478#M20274</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Sometimes turning it off and on again is underrated, so I gave up finding the problem, deleted it and re-created the scope - worked a breeze!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;Mine seems like it was something silly, I was able to set up my vault but got the same issue when trying to use it 1hr later - even when logged in as myself, an admin of the workspace. Whenever I created it before with the exact same process (via a pipeline), it worked, just not this time... so no problem ID here, just a solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 04:15:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-cannot-access-azure-key-vault/m-p/28478#M20274</guid>
      <dc:creator>virahkumar</dc:creator>
      <dc:date>2020-08-11T04:15:38Z</dc:date>
    </item>
  </channel>
</rss>

