Slackbot
07/22/2025, 11:09 PMkapa.ai
07/22/2025, 11:10 PMsql SELECT status_desc FROM sys.dm_server_services WHERE [servicename] LIKE 'SQL Server Agent%' OR [servicename] LIKE 'SQL Server 代理%'
This query is expected to return exactly one row indicating the status of the SQL Server Agent service. However, on Azure SQL Managed Instance, the SQL Server Agent service is managed differently and may not be exposed in the same way as on standard SQL Server installations. As a result, the query may return zero rows, leading to the error you see: Index 0 out of bounds for length 0
This is a known issue when using Airbyte's MSSQL connector with Azure SQL Managed Instance, as the connector expects to find the SQL Server Agent service, which may not be present or visible in the same way as on-premises SQL Server. The connector's logic does not currently account for this Azure-specific behavior, resulting in a failed connection check and the error you encountered. Summary: - The error is due to the connector expecting a result from a query that does not return any rows on Azure SQL Managed Instance. - This is a limitation in the current Airbyte MSSQL connector's CDC validation logic for Azure environments. If you need CDC on Azure SQL Managed Instance, you may need to monitor Airbyte's updates for improved support or consider alternative approaches, as the knowledge sources do not provide a workaround or fix for this scenario at this time. For more details on the SQL Server Agent check, see the official documentation and related issues: [Ensure the SQL Server Agent is running](https://docs.airbyte.com/integrations/sources/mssql#5-ensure-the-sql-server-agent-is-running) [Github Issue: Checking that the SQL Server Agent is running using the query](https://github.com/airbytehq/airbyte/issues/33338)kapa.ai
07/22/2025, 11:15 PMkapa.ai
07/22/2025, 11:15 PMkapa.ai
07/22/2025, 11:17 PMkapa.ai
07/22/2025, 11:17 PM