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 🙂

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now