cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
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

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

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