cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

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

akshay_patni228
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)

2 REPLIES 2

Debayan
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!

Anonymous
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

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.