Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Showing results for 
Search instead for 
Did you mean: 

Missing Credential Scope - Unable to call databrick(Scala) notebook from ADF

New Contributor II

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)


Esteemed Contributor III
Esteemed Contributor III

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!

Not applicable

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