0

I am creating a CI CD pipeline to move code between dev and test instances of databricks. I am able to achieve this using my personal token. Now, I am trying to do the same thing using a SPN and when I do the same, i get the following error.

HTTP ERROR 403 Problem accessing /api/2.0/workspace/mkdirs. Reason: User not authorized.

Can any of you help me resolve this error or provide any links which talks about how to use SPN to authenticate from devops to databricks.

Joy
  • 1,171
  • 9
  • 15
Sujatha
  • 21
  • 1
  • 7

1 Answers1

0

Does your SPN have Contributor Role on either the Databricks resources or Azure Resource Groups ? It could be throwing a very similar error if not.

Axel R.
  • 1,141
  • 7
  • 22
  • 1
    Thanks Axel. That was the problem. After giving the right permissions, it worked. Thanks much for your reply – Sujatha Feb 05 '20 at 16:40