<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Do you need to be workspace admin to create jobs? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/do-you-need-to-be-workspace-admin-to-create-jobs/m-p/9491#M4842</link>
    <description>&lt;P&gt;We're using a setup where we use gitlab ci to deploy workflows using a service principal, using the Jobs API (2.1) &lt;A href="https://docs.databricks.com/dev-tools/api/latest/jobs.html#operation/JobsCreate" alt="https://docs.databricks.com/dev-tools/api/latest/jobs.html#operation/JobsCreate" target="_blank"&gt;https://docs.databricks.com/dev-tools/api/latest/jobs.html#operation/JobsCreate&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we wanted to reduce permissions of the ci to minimum privileges, it looks like it actually needs to be admin in the workspace to create jobs. Can that really be the case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the error that we got&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: &lt;A href="https://adb-000000000000000.00.azuredatabricks.net/api/2.1/jobs/create" alt="https://adb-000000000000000.00.azuredatabricks.net/api/2.1/jobs/create" target="_blank"&gt;https://adb-000000000000000.00.azuredatabricks.net/api/2.1/jobs/create&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Response from server:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;{ 'error_code': 'PERMISSION_DENIED',&lt;/P&gt;&lt;P&gt;&amp;nbsp;'message': 'User d2e55b97-c94a-4ba0-b11f-872bc4873fa8 is not a workspace '&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'admin'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Feb 2023 14:07:29 GMT</pubDate>
    <dc:creator>grazie</dc:creator>
    <dc:date>2023-02-13T14:07:29Z</dc:date>
    <item>
      <title>Do you need to be workspace admin to create jobs?</title>
      <link>https://community.databricks.com/t5/data-engineering/do-you-need-to-be-workspace-admin-to-create-jobs/m-p/9491#M4842</link>
      <description>&lt;P&gt;We're using a setup where we use gitlab ci to deploy workflows using a service principal, using the Jobs API (2.1) &lt;A href="https://docs.databricks.com/dev-tools/api/latest/jobs.html#operation/JobsCreate" alt="https://docs.databricks.com/dev-tools/api/latest/jobs.html#operation/JobsCreate" target="_blank"&gt;https://docs.databricks.com/dev-tools/api/latest/jobs.html#operation/JobsCreate&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we wanted to reduce permissions of the ci to minimum privileges, it looks like it actually needs to be admin in the workspace to create jobs. Can that really be the case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the error that we got&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: &lt;A href="https://adb-000000000000000.00.azuredatabricks.net/api/2.1/jobs/create" alt="https://adb-000000000000000.00.azuredatabricks.net/api/2.1/jobs/create" target="_blank"&gt;https://adb-000000000000000.00.azuredatabricks.net/api/2.1/jobs/create&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Response from server:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;{ 'error_code': 'PERMISSION_DENIED',&lt;/P&gt;&lt;P&gt;&amp;nbsp;'message': 'User d2e55b97-c94a-4ba0-b11f-872bc4873fa8 is not a workspace '&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'admin'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 14:07:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/do-you-need-to-be-workspace-admin-to-create-jobs/m-p/9491#M4842</guid>
      <dc:creator>grazie</dc:creator>
      <dc:date>2023-02-13T14:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Do you need to be workspace admin to create jobs?</title>
      <link>https://community.databricks.com/t5/data-engineering/do-you-need-to-be-workspace-admin-to-create-jobs/m-p/9492#M4843</link>
      <description>&lt;P&gt;@Geir Iversen​&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message you received indicates that the user account being used by GitLab CI does not have the necessary permissions to create jobs in the Databricks workspace. By default, only users with the "Workspace Admin" role can create jobs in a Databricks workspace.&lt;/P&gt;&lt;P&gt;To create jobs with a non-admin user, you can grant the necessary permissions to the service principal account that GitLab CI is using. You can grant the "Can Manage" permission on the Jobs resource to the service principal account.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 06:29:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/do-you-need-to-be-workspace-admin-to-create-jobs/m-p/9492#M4843</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-13T06:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Do you need to be workspace admin to create jobs?</title>
      <link>https://community.databricks.com/t5/data-engineering/do-you-need-to-be-workspace-admin-to-create-jobs/m-p/9493#M4844</link>
      <description>&lt;P&gt;Got it, thanks for the response. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if you mean that we could set (1) permissions per job, or (2) if there is a way to set "CAN_MANAGE" for "Jobs" in the workspace generally?&lt;/P&gt;&lt;P&gt;Since this is a CI principal that deploys workflows using the API, it also controls the per Job permissions, so (1) would become a "chicken and egg" type problem where CI would first need permissions to create the job/workflow, but the job is not existing yet so that can't be done. (2) would be exactly what I'm looking for.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 12:58:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/do-you-need-to-be-workspace-admin-to-create-jobs/m-p/9493#M4844</guid>
      <dc:creator>grazie</dc:creator>
      <dc:date>2023-03-14T12:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Do you need to be workspace admin to create jobs?</title>
      <link>https://community.databricks.com/t5/data-engineering/do-you-need-to-be-workspace-admin-to-create-jobs/m-p/9494#M4845</link>
      <description>&lt;P&gt;Hi @Geir Iversen​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting your question in our community! We are happy to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 10:12:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/do-you-need-to-be-workspace-admin-to-create-jobs/m-p/9494#M4845</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-10T10:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Do you need to be workspace admin to create jobs?</title>
      <link>https://community.databricks.com/t5/data-engineering/do-you-need-to-be-workspace-admin-to-create-jobs/m-p/128272#M48195</link>
      <description>&lt;P&gt;You say "By default, only users with the "Workspace Admin" role can create jobs in a Databricks workspace."&lt;/P&gt;&lt;P&gt;"By default" implies that that can be modified. How do I modify?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 17:53:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/do-you-need-to-be-workspace-admin-to-create-jobs/m-p/128272#M48195</guid>
      <dc:creator>no2</dc:creator>
      <dc:date>2025-08-12T17:53:30Z</dc:date>
    </item>
  </channel>
</rss>

