Databricks passthrough credentials error: AzureCredentialNotFoundException: Could not find ADLS Gen2 Token'

Porsche Me 131 Reputation points
2021-02-02T06:38:55.043+00:00

Setup:

  • Databricks Runtime 7.4, passthrough for a high-concurrency and 'Storage Blob Data Contributor' role on storage
  • DatafactoryV2 Linked Service with MSI, has Contributor role on Databricks and 'Storage Blob Data Contributor' role on Gen2 store.
  • StorageAccount: Gen2 with hierarchical namespace

In Datafactory Databricks activity, triggering Notebook execution was successful but inside the Notebook (see the Notebook) mounting the Gen2 store was failing with the below error...

'com.databricks.backend.daemon.data.client.adl.AzureCredentialNotFoundException: Could not find ADLS Gen2 Token'.

Any help is really appreciated.

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,466 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,164 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,593 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,448 questions
0 comments No comments
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 88,876 Reputation points Microsoft Employee
    2021-02-02T07:20:43.29+00:00

    Hello @Porsche Me ,

    By design it is a limitation on that ADF linked service access token will not be pass through the notebook activity. You need to use the credentials inside the notebook activity or keyvault store.

    62851-image.png

    Reference: ADLS using AD credentials passthrough – limitations.

    Hope this helps. Do let us know if you any further queries.

    ----------------------------------------------------------------------------------------

    Do click on Accept Answer and Upvote on the post that helps you, this can be beneficial to other community members.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.