Missing Credential Scope - Unable to call databrick(Scala) notebook from ADF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2023 08:17 AM
Hi Team ,
I am using job cluster while setting Linked Service in ADF to call Data bricks Notebook activity .
Cluster Detail -
Policy - Unrestricted
Access Mode - Single user
Unity Catalog Enabled.
databrick run time - 12.2 LTS (includes Apache Spark 3.3.2, Scala 2.12)
Node type - Standard_DS3_v2
I am getting below error --
at com.databricks.unity.UCSDriver$Manager.$anonfun$scope$1(UCSDriver.scala:104)
at scala.Option.getOrElse(Option.scala:189)
at com.databricks.unity.UCSDriver$Manager.scope(UCSDriver.scala:104)
at com.databricks.unity.UCSDriver$Manager.currentScope(UCSDriver.scala:98)
at com.databricks.unity.UnityCredentialScope$.currentScope(UnityCredentialScope.scala:100)
at com.databricks.unity.UnityCredentialScope$.getSAMRegistry(UnityCredentialScope.scala:120)
at com.databricks.unity.SAMRegistry$.mergeSnapshot(SAMRegistry.scala:374)
at com.databricks.sql.unity.SAMSnapshotHelper$.visit(SAMSnapshotHelper.scala:41)
at com.databricks.sql.unity.SAMSnapshotHelper$.$anonfun$visit$1(SAMSnapshotHelper.scala:43)
at com.databricks.sql.unity.SAMSnapshotHelper$.$anonfun$visit$1$adapted(SAMSnapshotHelper.scala:43)
- Labels:
-
Adf
-
Databricks notebook
-
Error
-
LTS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2023 03:39 PM
Hi @Akshay Patni, Could you please provide the first few lines of the error code? Also, it will be helpful if the full stack is been provided.
Please tag @Debayan with your next response which will notify me, Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2023 12:13 AM
Hi @Akshay Patni
We haven't heard from you since the last response from @Debayan Mukherjee . Kindly share the information with us, and in return, we will provide you with the necessary solution.
Thanks and Regards

