<?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 How to use Manged Identitify within Databricks Azure to access Blob Container? in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/how-to-use-manged-identitify-within-databricks-azure-to-access/m-p/101932#M2506</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My organization has asked that all blob storage accounts be accessed via managed identity. Several data brick notebooks are affected, so I'm currently trying to see how to set up a managed identity.&lt;/P&gt;&lt;P&gt;We've added the Databricks resource provider to the managed identity with Contributor access; however, when accessing blob resources, we get a resource not found error. I don't believe the access is being passed to the cluster, and I am struggling of find relevant documentation for this use case&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from azure.identity import DefaultAzureCredential
from azure.storage.blob import BlobServiceClient

# Create a credential object
credential = DefaultAzureCredential()

# Construct the blob service client
blob_service_client = BlobServiceClient(
    account_url=f"https://{storage_account_name}.blob.core.windows.net",
    credential=credential
)

blob_service_client.list_containers()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Dec 2024 14:39:39 GMT</pubDate>
    <dc:creator>Dex</dc:creator>
    <dc:date>2024-12-12T14:39:39Z</dc:date>
    <item>
      <title>How to use Manged Identitify within Databricks Azure to access Blob Container?</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-use-manged-identitify-within-databricks-azure-to-access/m-p/101932#M2506</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My organization has asked that all blob storage accounts be accessed via managed identity. Several data brick notebooks are affected, so I'm currently trying to see how to set up a managed identity.&lt;/P&gt;&lt;P&gt;We've added the Databricks resource provider to the managed identity with Contributor access; however, when accessing blob resources, we get a resource not found error. I don't believe the access is being passed to the cluster, and I am struggling of find relevant documentation for this use case&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from azure.identity import DefaultAzureCredential
from azure.storage.blob import BlobServiceClient

# Create a credential object
credential = DefaultAzureCredential()

# Construct the blob service client
blob_service_client = BlobServiceClient(
    account_url=f"https://{storage_account_name}.blob.core.windows.net",
    credential=credential
)

blob_service_client.list_containers()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 14:39:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-use-manged-identitify-within-databricks-azure-to-access/m-p/101932#M2506</guid>
      <dc:creator>Dex</dc:creator>
      <dc:date>2024-12-12T14:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Manged Identitify within Databricks Azure to access Blob Container?</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-use-manged-identitify-within-databricks-azure-to-access/m-p/101937#M2507</link>
      <description>&lt;P&gt;Have you followed the instructions available in docs&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/azure-managed-identities" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/azure-managed-identities&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 14:49:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-use-manged-identitify-within-databricks-azure-to-access/m-p/101937#M2507</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-12-12T14:49:35Z</dc:date>
    </item>
  </channel>
</rss>

