<?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 False positive INGESTION_GATEWAY_SQL_SERVER_AGENT_NOT_RUNNING on Azure SQL Managed Instance in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/false-positive-ingestion-gateway-sql-server-agent-not-running-on/m-p/174179#M2783</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt; Pipeline failed with INGESTION_GATEWAY_SQL_SERVER_AGENT_NOT_RUNNING, but the SQL Server Agent on Azure SQL Managed Instance is always running and cannot be stopped. All CDC prerequisites are confirmed valid:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;sys.databases: is_cdc_enabled = 1 for db2&lt;/LI&gt;&lt;LI&gt;sys.tables: is_tracked_by_cdc = 1 for dbo.tab1&lt;/LI&gt;&lt;LI&gt;msdb.dbo.sysjobs: cdc.db2_capture and cdc.db2_cleanup both enabled&lt;/LI&gt;&lt;LI&gt;msdb.dbo.sysjobactivity: cdc.db2_capture started at 12:56:55 UTC with no stop time — actively running &lt;STRONG&gt;before&lt;/STRONG&gt; the pipeline failure at 13:11 UTC&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Impact:&lt;/STRONG&gt; This error is non-retryable, so the pipeline cannot make progress. The same false positive was also observed on a different database (db1) on the same SQL MI instance with earlier pipelines. The connector's Agent-running check appears incompatible with Azure SQL Managed Instance, where the Agent service is always on and user-managed start/stop is not possible.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expected behavior:&lt;/STRONG&gt; The connector should recognize that SQL Server Agent is always running on SQL MI and not flag this error.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2026 15:01:10 GMT</pubDate>
    <dc:creator>vsrekha213</dc:creator>
    <dc:date>2026-10-21T15:01:10Z</dc:date>
    <item>
      <title>False positive INGESTION_GATEWAY_SQL_SERVER_AGENT_NOT_RUNNING on Azure SQL Managed Instance</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/false-positive-ingestion-gateway-sql-server-agent-not-running-on/m-p/174179#M2783</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt; Pipeline failed with INGESTION_GATEWAY_SQL_SERVER_AGENT_NOT_RUNNING, but the SQL Server Agent on Azure SQL Managed Instance is always running and cannot be stopped. All CDC prerequisites are confirmed valid:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;sys.databases: is_cdc_enabled = 1 for db2&lt;/LI&gt;&lt;LI&gt;sys.tables: is_tracked_by_cdc = 1 for dbo.tab1&lt;/LI&gt;&lt;LI&gt;msdb.dbo.sysjobs: cdc.db2_capture and cdc.db2_cleanup both enabled&lt;/LI&gt;&lt;LI&gt;msdb.dbo.sysjobactivity: cdc.db2_capture started at 12:56:55 UTC with no stop time — actively running &lt;STRONG&gt;before&lt;/STRONG&gt; the pipeline failure at 13:11 UTC&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Impact:&lt;/STRONG&gt; This error is non-retryable, so the pipeline cannot make progress. The same false positive was also observed on a different database (db1) on the same SQL MI instance with earlier pipelines. The connector's Agent-running check appears incompatible with Azure SQL Managed Instance, where the Agent service is always on and user-managed start/stop is not possible.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expected behavior:&lt;/STRONG&gt; The connector should recognize that SQL Server Agent is always running on SQL MI and not flag this error.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2026 15:01:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/false-positive-ingestion-gateway-sql-server-agent-not-running-on/m-p/174179#M2783</guid>
      <dc:creator>vsrekha213</dc:creator>
      <dc:date>2026-10-21T15:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: False positive INGESTION_GATEWAY_SQL_SERVER_AGENT_NOT_RUNNING on Azure SQL Managed Instance</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/false-positive-ingestion-gateway-sql-server-agent-not-running-on/m-p/174205#M2784</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/267596"&gt;@vsrekha213&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is most likely a permissions problem rather than the Agent itself. The gateway checks Agent/capture-job status while logged in as the connector's database user. If that login can't see server-level state or the msdb job tables, the check reads as "not running" even though the Agent is up. Your checks (msdb.dbo.sysjobactivity etc.) were probably run as an admin. Run them as the connector login, then fix the grants by upgrading the utility objects script to 1.7 and re-running lakeflowFixPermissions.&lt;/P&gt;&lt;P&gt;1. Connect as the exact login used in the Unity Catalog connection and run:&lt;/P&gt;&lt;P&gt;SELECT servicename, status_desc FROM sys.dm_server_services;&amp;nbsp; &amp;nbsp;-- needs VIEW SERVER STATE&lt;/P&gt;&lt;P&gt;SELECT j.name, a.start_execution_date, a.stop_execution_date&lt;/P&gt;&lt;P&gt;FROM msdb.dbo.sysjobs j&lt;/P&gt;&lt;P&gt;JOIN msdb.dbo.sysjobactivity a ON a.job_id = j.job_id&lt;/P&gt;&lt;P&gt;WHERE j.name LIKE 'cdc.%';&lt;/P&gt;&lt;P&gt;If either one fails with a permission error or returns no rows for that login, that's your false positive.&lt;/P&gt;&lt;P&gt;2. Fix the grants. Version 1.7 of the utility objects script fixed lakeflowFixPermissions so it now grants the required server-scoped permissions from master. Older installs could miss them, and that's consistent with seeing this on both db1 and db2. As a db_owner on each ingested database, re-run the latest utility_script.sql and then:&lt;/P&gt;&lt;P&gt;SELECT dbo.lakeflowUtilityVersion();&amp;nbsp; -- should return 1.7&lt;/P&gt;&lt;P&gt;EXEC dbo.lakeflowFixPermissions&amp;nbsp;@User = 'your_connector_user', @Tables = 'ALL';&lt;/P&gt;&lt;P&gt;EXEC dbo.lakeflowSetupChangeDataCapture&amp;nbsp;@Tables = 'dbo.tab1', @User = 'your_connector_user';&lt;/P&gt;&lt;P&gt;3. Re-run step 1 as the connector login to confirm the Agent shows as Running, then restart the gateway pipeline. The error is non-retryable, so the gateway needs a fresh start after the grants are fixed.&lt;/P&gt;&lt;P&gt;If step 1 already succeeds as the connector login and the gateway still fails, it's a connector bug on MI. In that case, open a support ticket with the gateway driver logs (stdout) and the pipeline ID.&lt;/P&gt;&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/sql-server-utility-reference" target="_blank"&gt;https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/sql-server-utility-reference&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Privileges: &lt;A href="https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/sql-server-privileges" target="_blank"&gt;https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/sql-server-privileges&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2026 17:48:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/false-positive-ingestion-gateway-sql-server-agent-not-running-on/m-p/174205#M2784</guid>
      <dc:creator>SumeshKashyap</dc:creator>
      <dc:date>2026-10-21T17:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: False positive INGESTION_GATEWAY_SQL_SERVER_AGENT_NOT_RUNNING on Azure SQL Managed Instance</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/false-positive-ingestion-gateway-sql-server-agent-not-running-on/m-p/174377#M2786</link>
      <description>&lt;P&gt;Hi &amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/267596"&gt;@vsrekha213&lt;/a&gt;&amp;nbsp;, did running the checks as the connector login show a permission gap?&lt;/P&gt;&lt;P&gt;If upgrading the utility script to 1.7 and re-running lakeflowFixPermissions cleared the error, please click Accept as Solution so others hitting this false positive on Managed Instance can find it.&lt;/P&gt;&lt;P&gt;If it still fails, post what the two queries return for the connector login (or the permission error) and I'll take another look.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2026 22:01:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/false-positive-ingestion-gateway-sql-server-agent-not-running-on/m-p/174377#M2786</guid>
      <dc:creator>SumeshKashyap</dc:creator>
      <dc:date>2026-10-22T22:01:39Z</dc:date>
    </item>
  </channel>
</rss>

