<?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 add 'additionallyAllowedTenants' in Databricks config or PySpark config? in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/how-to-add-additionallyallowedtenants-in-databricks-config-or/m-p/86724#M1681</link>
    <description>&lt;P&gt;I have a multi-tenant Azure app. I am using this app's credentials to read ADLS container files from Databricks cluster using PySpark dataframe.&lt;/P&gt;&lt;P&gt;I need to set this 'additionallyAllowedTenants' flag value to '*' or a specific tenant_id of the multi-tenant app in the databricks cluster config or PySpark session.&lt;/P&gt;&lt;P&gt;In Python I can achieve this by executing the below line of code:&lt;/P&gt;&lt;PRE&gt;default_credential = DefaultAzureCredential(additionally_allowed_tenants=[&lt;SPAN class=""&gt;'*'&lt;/SPAN&gt;])&lt;/PRE&gt;&lt;P&gt;My query is, how can I achieve the same in Databricks config or PySpark session. Any leads are appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Aug 2024 06:01:28 GMT</pubDate>
    <dc:creator>soumiknow</dc:creator>
    <dc:date>2024-08-30T06:01:28Z</dc:date>
    <item>
      <title>How to add 'additionallyAllowedTenants' in Databricks config or PySpark config?</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-add-additionallyallowedtenants-in-databricks-config-or/m-p/86724#M1681</link>
      <description>&lt;P&gt;I have a multi-tenant Azure app. I am using this app's credentials to read ADLS container files from Databricks cluster using PySpark dataframe.&lt;/P&gt;&lt;P&gt;I need to set this 'additionallyAllowedTenants' flag value to '*' or a specific tenant_id of the multi-tenant app in the databricks cluster config or PySpark session.&lt;/P&gt;&lt;P&gt;In Python I can achieve this by executing the below line of code:&lt;/P&gt;&lt;PRE&gt;default_credential = DefaultAzureCredential(additionally_allowed_tenants=[&lt;SPAN class=""&gt;'*'&lt;/SPAN&gt;])&lt;/PRE&gt;&lt;P&gt;My query is, how can I achieve the same in Databricks config or PySpark session. Any leads are appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 06:01:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-add-additionallyallowedtenants-in-databricks-config-or/m-p/86724#M1681</guid>
      <dc:creator>soumiknow</dc:creator>
      <dc:date>2024-08-30T06:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to add 'additionallyAllowedTenants' in Databricks config or PySpark config?</title>
      <link>https://community.databricks.com/t5/administration-architecture/how-to-add-additionallyallowedtenants-in-databricks-config-or/m-p/103640#M2626</link>
      <description>&lt;P&gt;Update: Currently spark does not have this feature.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2024 06:36:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/how-to-add-additionallyallowedtenants-in-databricks-config-or/m-p/103640#M2626</guid>
      <dc:creator>soumiknow</dc:creator>
      <dc:date>2024-12-31T06:36:14Z</dc:date>
    </item>
  </channel>
</rss>

