<?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 Re: Permissions issue enabling MS-CDC on Azure SQL source in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Permissions-issue-enabling-MS-CDC-on-Azure-SQL-source/m-p/2535467#M15431</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As stated in the Replicate users guide under MS-CSC limitation section (see link below) :&lt;BR /&gt;"&lt;/P&gt;
&lt;P&gt;When running without the db_owner role, the following limitations apply:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;Capture of DDLs is not supported. To prevent&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable Replicate.replication variable"&gt;replication&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;errors, you must clear the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ui_item"&gt;Capture DDL events&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;check box in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://help.qlik.com/en-US/replicate/May2023/Content/Global_Common/Content/SharedReplicateHDD/Azure-MSCDC-Source/msmazuremi_SQLServer_advanced.htm" target="_blank"&gt;the endpoint settings' Advanced tab&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;before running the task.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;MS-CDC cannot be enabled automatically and should therefore be enabled manually&lt;/STRONG&gt;. To prevent&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable Replicate.replication variable"&gt;replication&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;errors, you must also clear the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ui_item"&gt;Enable MS-CDC on all captured tables&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;check box in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://help.qlik.com/en-US/replicate/May2023/Content/Global_Common/Content/SharedReplicateHDD/Azure-MSCDC-Source/msmazuremi_SQLServer_advanced.htm" target="_blank"&gt;the endpoint settings' Advanced tab&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;before running the task."&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/replicate/May2023/Content/Replicate/Main/MicrosoftSQLServer-MSCDC/MicrosoftSQLServer-MSCDC-limitations.htm" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2023/Content/Replicate/Main/MicrosoftSQLServer-MSCDC/MicrosoftSQLServer-MSCDC-limitations.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;So in your case after you enable the MS-CDC manually on your tables the task should run without any issues.&amp;nbsp; IF you still encounter problems please open a Salesforce case and attach to it the task diagnostic package.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Orit&lt;/P&gt;</description>
    <pubDate>Thu, 06 Nov 2025 09:14:50 GMT</pubDate>
    <dc:creator>OritA</dc:creator>
    <dc:date>2025-11-06T09:14:50Z</dc:date>
    <item>
      <title>Permissions issue enabling MS-CDC on Azure SQL source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Permissions-issue-enabling-MS-CDC-on-Azure-SQL-source/m-p/2535316#M15417</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I’m configuring a Log Stream replication task in Qlik Replicate that uses a Microsoft Azure SQL (MS-CDC) source. According to the official documentation for the latest release, it should be possible to run CDC without requiring the db_owner role: &lt;A href="https://help.qlik.com/en-US/replicate/May2025/Content/Global_Common/Content/SharedReplicateHDD/Azure-MSCDC-Source/azremscdc-SQLServerDBSource-security.htm#ar_sqlserverds_1727505754_1656303" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2025/Content/Global_Common/Content/SharedReplicateHDD/Azure-MSCDC-Source/azremscdc-SQLServerDBSource-security.htm#ar_sqlserverds_1727505754_1656303&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Now, a user account has been created for Qlik Replicate on the Microsoft Azure SQL (MS-CDC) source without the db_owner role. When I start the Log Stream task, replication is suspended because the Qlik Replicate user doesn’t have sufficient privileges to enable CDC on the tables. Specifically, the following error is returned:&lt;/P&gt;&lt;P&gt;“SQL_ERROR&amp;nbsp; SqlState: 42000&amp;nbsp; NativeError: 22904&amp;nbsp;&lt;/P&gt;&lt;P&gt;Message: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Caller is not authorized to initiate the requested action. DBO privileges are required.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Line: 1&amp;nbsp; Column: -1&amp;nbsp;&lt;/P&gt;&lt;P&gt;Failed (retcode -1) to execute statement:&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXEC sys.sp_cdc_enable_table &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/95739"&gt;@Source&lt;/a&gt;_schema=N'dbo', &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/95739"&gt;@Source&lt;/a&gt;_name=N'table_name', @role_name=NULL”.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The DBA indicated that it’s not possible to grant permission to execute this statement to the Qlik Replicate user without assigning the db_owner role.&lt;/P&gt;&lt;P&gt;When I try disabling the “Enable MS-CDC on all captured tables” option in the source endpoint instead, the replication of the tables is again suspended, showing the following message: “Data changes of table 'table_name' will not be captured because it is not enabled for MS-CDC, and Replicate is not set to enable this option automatically”.&lt;/P&gt;&lt;P&gt;My questions are&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is there any workaround that would allow a Qlik Replicate user without the db_owner role to enable CDC on the tables?&lt;/LI&gt;&lt;LI&gt;If the Qlik Replicate user doesn’t have the db_owner role, is it mandatory for another user with db_owner privileges to execute the EXEC sys.sp_cdc_enable_table command on the tables to be captured?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thank you very much in advance for your help.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2025 22:26:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Permissions-issue-enabling-MS-CDC-on-Azure-SQL-source/m-p/2535316#M15417</guid>
      <dc:creator>raffaelec</dc:creator>
      <dc:date>2025-11-04T22:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Permissions issue enabling MS-CDC on Azure SQL source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Permissions-issue-enabling-MS-CDC-on-Azure-SQL-source/m-p/2535467#M15431</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As stated in the Replicate users guide under MS-CSC limitation section (see link below) :&lt;BR /&gt;"&lt;/P&gt;
&lt;P&gt;When running without the db_owner role, the following limitations apply:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;Capture of DDLs is not supported. To prevent&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable Replicate.replication variable"&gt;replication&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;errors, you must clear the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ui_item"&gt;Capture DDL events&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;check box in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://help.qlik.com/en-US/replicate/May2023/Content/Global_Common/Content/SharedReplicateHDD/Azure-MSCDC-Source/msmazuremi_SQLServer_advanced.htm" target="_blank"&gt;the endpoint settings' Advanced tab&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;before running the task.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;MS-CDC cannot be enabled automatically and should therefore be enabled manually&lt;/STRONG&gt;. To prevent&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable Replicate.replication variable"&gt;replication&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;errors, you must also clear the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ui_item"&gt;Enable MS-CDC on all captured tables&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;check box in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://help.qlik.com/en-US/replicate/May2023/Content/Global_Common/Content/SharedReplicateHDD/Azure-MSCDC-Source/msmazuremi_SQLServer_advanced.htm" target="_blank"&gt;the endpoint settings' Advanced tab&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;before running the task."&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/replicate/May2023/Content/Replicate/Main/MicrosoftSQLServer-MSCDC/MicrosoftSQLServer-MSCDC-limitations.htm" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2023/Content/Replicate/Main/MicrosoftSQLServer-MSCDC/MicrosoftSQLServer-MSCDC-limitations.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;So in your case after you enable the MS-CDC manually on your tables the task should run without any issues.&amp;nbsp; IF you still encounter problems please open a Salesforce case and attach to it the task diagnostic package.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Orit&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 09:14:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Permissions-issue-enabling-MS-CDC-on-Azure-SQL-source/m-p/2535467#M15431</guid>
      <dc:creator>OritA</dc:creator>
      <dc:date>2025-11-06T09:14:50Z</dc:date>
    </item>
  </channel>
</rss>

