Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
ricauduro
Regular Visitor

Eventstream - SQL Server CDC on VM DB Error

I´m facing an issue to create a CDC connection to a SQL Server on VM, similar to this one Solved: Re: SQL Server on VM DB Error - Microsoft Fabric Community
Property 'username's value '' is invalid Artifact ID: fa6efc37-ce95-4e4c-9ebb-af6622246cf1 Action: createEventStreamSource Type: SqlServerOnVmDbCdc
But the connection is Basic and have username and password defined. Also, I`m using this connection to ingested data using pipelines

ricauduro_0-1744912928243.png

ricauduro_1-1744913036097.png

 




1 ACCEPTED SOLUTION

Hi @v-sathmakuri . I´ve performed some tests but without success. The DBA is reviewing the permissions you mentioned but as he told me before, they were already ok. 

We are connectiong using SQL authentication and I can ingest data from other tables, not CDC, using the same connection without any issues. 
Thank you for all your support and I let you know soon about new tests.

View solution in original post

6 REPLIES 6
v-sathmakuri
Community Support
Community Support

Hi @ricauduro ,

 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you!!

Hi @v-sathmakuri . I´ve performed some tests but without success. The DBA is reviewing the permissions you mentioned but as he told me before, they were already ok. 

We are connectiong using SQL authentication and I can ingest data from other tables, not CDC, using the same connection without any issues. 
Thank you for all your support and I let you know soon about new tests.

Hi @ricauduro ,

 

Could you please let me know if you have resolved this issue? If so, kindly mark the helpful reply and accept it as the solution. This will assist other community members in resolving similar issues more quickly.

 

Thank you!!

Hi @ricauduro ,

 

Could you please let me know if you have resolved this issue? If so, kindly mark the helpful reply and accept it as the solution. This will assist other community members in resolving similar issues more quickly.

 

Thank you!!

Hi @v-sathmakuri . Thank you for your reply. We had a long weekend in Brazil... Friday and Monday were holidays. I'll test your approach today and let you know.

v-sathmakuri
Community Support
Community Support

Hi @ricauduro ,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Even when using Basic Authentication, you should verify the connection through the Fabric portal. To do this, navigate to the Manage connections pane, locate the SQL Server connection, and click Edit to confirm or update authentication details.

 

CDC connections don’t always support Windows Authentication or integrated authentication by default. It’s essential to use SQL Authentication and ensure that the SQL user has access to the target database. The user must also have CDC-related permissions such as SELECT and VIEW DATABASE STATE to facilitate data capture.

 

Additionally, the SQL user needs the appropriate permissions to access specific CDC system tables and functions. This includes read access to cdc.change_tables, cdc.lsn_time_mapping, and the ability to execute fn_cdc_get_all_changes_* functions, which are crucial for retrieving change data.

 

There are scenarios where a connection might appear valid in the interface but is not properly registered for CDC. In such cases, try deleting and re-creating the connection directly through the Eventstream source setup. Restarting the Fabric runtime or workspace can help refresh the environment. 

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

 

Thank you!!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

May FBC25 Carousel

Fabric Monthly Update - May 2025

Check out the May 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors