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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
gacurtin
Microsoft Employee
Microsoft Employee

Pipeline activities failing with 'Failed to resolve connection ... referenced in activity run ...'

Hello, 

A few days ago my pipeline activities started failing with the following error:

Error Code: UserError

Failure Type: User Configuration Issue

Details: Failed to resolve connection [Connection ID] referenced in activity run [Activity ID]' 

 

Prior to seeing this error, the pipelines ran on schedule every night without any issue.  No changes were made to the source, destination or pipeline prior to experiencing this issue. I own the source, destination and pipeline.

 

To resolve the error, I have to go to each activity and run a test connection then rerun.  However, this solution only resolves the issue temporarily.  All failed activities are copy data activitities which have an Azure SQL Database as both the source and destination.  All the copy data activities in these pipelines run concurrently (as opposed to sequentially).  

So far I have tried:

o Creating new connections (issue remains)

o Rerunning Pipeline without testing connection (issue remains)


Does anyone know how to permanently resolve this issue?  Currently, it is taking hours everyday to run a test connection on every failed activity.

7 REPLIES 7
Mauro89
Super User
Super User

Hi @gacurtin

I faced the same issue. In my case what helped was to go to the acutal connection which is used in the activity.

There I checked the rights and renewed the connection credentials. This worked for me. Depending on your authentication type (OAuth, SP, WS Identity) this is worth giving a try.

 

Hope this helps!

 

Best regards!

PS: If you find this post helpful consider leaving kudos or mark it as solution

chetanhiwale
Resolver I
Resolver I

Hi @gacurtin ,

I also got the same error. For me by removing and attaching same connection and saving the pipeline worked for me. 

Steps :
Remove the connnection. 
Save the pipeline
Attach the same connection again.
Updating the creds with the same creds
Save the pipeline

deborshi_nag
Resident Rockstar
Resident Rockstar

Hello @gacurtin 

 

You can try the Fabric CLI to inspect your workspace items with missing connections. 

 

List all items first using:

fab get <workspace-name>.Workspace
 
For the items that you have issues with:
fab get .connections <item-path>
 
If there are no connection binding for the items, recreate them, and see if this issues disappears. 
 
Hope this helps, please appreciate giving a Kudos or accepting it as a Solution
I trust this will be helpful. If you found this guidance useful, you are welcome to acknowledge with a Kudos or by marking it as a Solution.
mnicnielsen
Frequent Visitor

I am facing the same error message. For me, it seems to reference the correct connection when I use the 'Preview' button, but then when I try to run the pipeline, it's trying to reference an old connection that no longer exists. Maddening!

SivaReddy24680
Advocate I
Advocate I

HIi @gacurtin 

 

I faced the same issue. I actually copied the copy activity from another pipeline and pasted in new pipeline and ran the new pipeline. When I re-build the copy activity, it went fine

Anonymous
Not applicable

I was able to fix by adjusting batch counts - was trying to load 55 tables simultaneously via same connection (something that can be done in ADF and Synapse). Adding a batch limit allowed for the pipeline to run..

lbendlin
Super User
Super User

If you have a Pro license you can open a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi
Otherwise you can raise an issue at https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues .

Helpful resources

Announcements
FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Fabric Update Carousel

Fabric Monthly Update - March 2026

Check out the March 2026 Fabric update to learn about new features.