cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Running job within job fails

erigaud
Honored Contributor

Hello,

I have a job with a task of type "Run Job". Everything is deployed using asset bundles and the deployment works fine, however when running the job, the Job step fails with error "PERMISSION DENIED : User unknown does not have Manage Run or Owner or Admin permissions on job xxx" 

Note that the Run as for both jobs is a SPN and the Creator (owner) is a second, different SPN.

1 ACCEPTED SOLUTION

Accepted Solutions

-werners-
Esteemed Contributor III

the permissions of a main job are not copied to nested jobs, so the executing user needs the proper permissions for the main job and the nested job.
This can be defined in the permissions seciont of the job (not the task).
I for one am waiting for a central location to manage ALL types of permissions ๐Ÿ™‚

View solution in original post

1 REPLY 1

-werners-
Esteemed Contributor III

the permissions of a main job are not copied to nested jobs, so the executing user needs the proper permissions for the main job and the nested job.
This can be defined in the permissions seciont of the job (not the task).
I for one am waiting for a central location to manage ALL types of permissions ๐Ÿ™‚

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