cancel
Showing results for 
Search instead for 
Did you mean: 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add 'additionallyAllowedTenants' in Databricks config or PySpark config?

soumiknow
New Contributor III

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.

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.

In Python I can achieve this by executing the below line of code:

default_credential = DefaultAzureCredential(additionally_allowed_tenants=['*'])

My query is, how can I achieve the same in Databricks config or PySpark session. Any leads are appreciated.

0 REPLIES 0

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group