Warm tip: This article is reproduced from stackoverflow.com, please click
azure azure-databricks databricks spn

CICD Authentication using SPN

发布于 2020-04-18 10:03:51

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.

Questioner
Sujatha
Viewed
34
Axel R. 2020-02-05 01:07

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.