<?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 Why do I need MANAGE privilege on a connection to run a pipeline? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/why-do-i-need-manage-privilege-on-a-connection-to-run-a-pipeline/m-p/146917#M52729</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I have a notebook that I am able to run in itself, but when I run it within a Databricks job, it fails with the following error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[UNAUTHORIZED_ACCESS] PERMISSION_DENIED: User does not have MANAGE on Connection 'dev_postgres'. SQLSTATE: 42501&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The notebook uses a connection to az Azure hosted Posgresql database for writing logs and reading metadata. My user had ALL PRIVILEGES privilege on this connection, but this was not enough. When I got MANAGE privilege, the job ran successfully.&lt;/P&gt;&lt;P&gt;I can't find a reason why this MANAGE privilege is needed in order to be able to run the notebook in a job. MANAGE privilege is used to grant and revoke privileges for other users. Does this mean that there is another user that runs the task behind the hood when I run it within a job? Or what other explanations are there? Is there another way to run the job besides giving MANAGE privilege to the user for the connection?&lt;/P&gt;</description>
    <pubDate>Thu, 05 Feb 2026 16:29:42 GMT</pubDate>
    <dc:creator>smoortema</dc:creator>
    <dc:date>2026-02-05T16:29:42Z</dc:date>
    <item>
      <title>Why do I need MANAGE privilege on a connection to run a pipeline?</title>
      <link>https://community.databricks.com/t5/data-engineering/why-do-i-need-manage-privilege-on-a-connection-to-run-a-pipeline/m-p/146917#M52729</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have a notebook that I am able to run in itself, but when I run it within a Databricks job, it fails with the following error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[UNAUTHORIZED_ACCESS] PERMISSION_DENIED: User does not have MANAGE on Connection 'dev_postgres'. SQLSTATE: 42501&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The notebook uses a connection to az Azure hosted Posgresql database for writing logs and reading metadata. My user had ALL PRIVILEGES privilege on this connection, but this was not enough. When I got MANAGE privilege, the job ran successfully.&lt;/P&gt;&lt;P&gt;I can't find a reason why this MANAGE privilege is needed in order to be able to run the notebook in a job. MANAGE privilege is used to grant and revoke privileges for other users. Does this mean that there is another user that runs the task behind the hood when I run it within a job? Or what other explanations are there? Is there another way to run the job besides giving MANAGE privilege to the user for the connection?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 16:29:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-do-i-need-manage-privilege-on-a-connection-to-run-a-pipeline/m-p/146917#M52729</guid>
      <dc:creator>smoortema</dc:creator>
      <dc:date>2026-02-05T16:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I need MANAGE privilege on a connection to run a pipeline?</title>
      <link>https://community.databricks.com/t5/data-engineering/why-do-i-need-manage-privilege-on-a-connection-to-run-a-pipeline/m-p/146920#M52730</link>
      <description>&lt;P&gt;When you ran the job, was your data_security/access mode set to Dedicated/Single-User or Standard/Shared.&lt;/P&gt;
&lt;P&gt;I assume it was the former. If it's the latter, you wouldn't have need to give that permission.&lt;/P&gt;
&lt;P&gt;You would get the same experience trying to do a simple SELECT of that same table set up through Lakehouse Federation and trying to query it from a dedicated vs standard access model cluster.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.azure.cn/en-us/databricks/query-federation/database-federation#limitations" target="_blank"&gt;https://docs.azure.cn/en-us/databricks/query-federation/database-federation#limitations&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;See last limitation. Manage is giving you pseudo-Owner to rise above that limitation. The reason is that the underlying privilege model is different for dedicated/single-user.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 16:40:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/why-do-i-need-manage-privilege-on-a-connection-to-run-a-pipeline/m-p/146920#M52730</guid>
      <dc:creator>MoJaMa</dc:creator>
      <dc:date>2026-02-05T16:40:39Z</dc:date>
    </item>
  </channel>
</rss>

