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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MathieuSGA
Helper I
Helper I

Detect/Capture whenever a Data Connection has been leveraged/activated

Hi all,

Is it possible to detect whenever a data connection has been leveraged/activated, for example through a Copy Data activities ?

If so...
...are those "features" only available to Fabric admins ?
...does it needs any event-related artifact to be activated ?
... ?

Thanks in advance.
Regards,

1 ACCEPTED SOLUTION
v-pnaroju-msft
Community Support
Community Support

Hi MathieuSGA,

Thank you for the follow up.

Based on my understanding, Microsoft Fabric does not currently provide an automatic tenant wide alert or log that explicitly indicates when a specific data connection for example, your ERP has been accessed. Historical monitoring at that level of granularity requires the use of existing monitoring APIs or audit logs.

Please consider the following steps which may assist in resolving the issue:

  1. Navigate to Monitor, then to Pipeline runs or Activity runs. Apply filters for the ERP outage time window and review the Copy activity details to confirm whether the ERP linked service or dataset was used.
  2. Query Pipeline Runs or Activity Runs using the Fabric REST API to retrieve start time, end time, and connection or dataset details.
  3. Request that the administrator check Purview, Unified Audit Logs, or Data Connection Auditing for events related to the ERP connection during the outage to obtain tenant level evidence across workspaces.

For further reference, please consult the following documentation:
Monitor Copy activity - Microsoft Fabric | Microsoft Learn
Activity Runs - Query By Pipeline Run - REST API (Azure Data Factory) | Microsoft Learn
Track user activities in Microsoft Fabric - Microsoft Fabric | Microsoft Learn
Data connection auditing for exfiltration protection | Microsoft Learn

We hope that the information provided will assist you in addressing the issue. If you have any further queries, please feel free to contact the Microsoft Fabric community.

Thank you.

View solution in original post

9 REPLIES 9
v-pnaroju-msft
Community Support
Community Support

Hi MathieuSGA,

We are following up to see if what we shared solved your issue. If you need more support, please reach out to the Microsoft Fabric community.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Hi MathieuSGA,

Thank you for the follow up.

Based on my understanding, Microsoft Fabric does not currently provide an automatic tenant wide alert or log that explicitly indicates when a specific data connection for example, your ERP has been accessed. Historical monitoring at that level of granularity requires the use of existing monitoring APIs or audit logs.

Please consider the following steps which may assist in resolving the issue:

  1. Navigate to Monitor, then to Pipeline runs or Activity runs. Apply filters for the ERP outage time window and review the Copy activity details to confirm whether the ERP linked service or dataset was used.
  2. Query Pipeline Runs or Activity Runs using the Fabric REST API to retrieve start time, end time, and connection or dataset details.
  3. Request that the administrator check Purview, Unified Audit Logs, or Data Connection Auditing for events related to the ERP connection during the outage to obtain tenant level evidence across workspaces.

For further reference, please consult the following documentation:
Monitor Copy activity - Microsoft Fabric | Microsoft Learn
Activity Runs - Query By Pipeline Run - REST API (Azure Data Factory) | Microsoft Learn
Track user activities in Microsoft Fabric - Microsoft Fabric | Microsoft Learn
Data connection auditing for exfiltration protection | Microsoft Learn

We hope that the information provided will assist you in addressing the issue. If you have any further queries, please feel free to contact the Microsoft Fabric community.

Thank you.

Hi @v-pnaroju-msft ,
This sounds like what I'm looking for.
As soon as I'll have this topic back on my plate, I'll give your advices some tries.

Thank you very much for your time.

v-pnaroju-msft
Community Support
Community Support

Thankyou @suparnababu8 and @tayloramy for your responses.

Hi MathieuSGA,

We appreciate your inquiry through the Microsoft Fabric Community Forum.

We would like to inquire whether have you got the chance to check the solutions provided by @suparnababu8 and @tayloramyto resolve the issue. We hope the information provided helps to clear the query. Should you have any further queries, kindly feel free to contact the Microsoft Fabric community.

Thank you.

tayloramy
Community Champion
Community Champion

Hi @MathieuSGA

 

Is your intent to be able to see/audit every time a connection is used? 

You can detect when a Data Factory “Copy data” activity leverages a specific Fabric data connection, but the right place to look depends on whether you want tenant-level auditing, workspace-level run telemetry, or custom, fine-grained logs.

 

  • Workspace / pipeline level (most direct): Use the Monitoring hub to see pipeline and activity runs that used the connection. For automation, call Query Activity Runs on the pipeline run to capture source/sink details (including the connection/dataset behind the Copy). Monitoring hub · Monitor pipeline runs · Query Activity Runs example
  • Tenant / admin level (auditing and exfiltration controls): If you’re asking “who used which connection and when,” enable and query Microsoft Purview (M365) unified audit logs for Fabric/Power BI events, and use Data connection auditing for exfiltration protection across pipelines, Dataflow Gen2, models, and datamarts. Access typically requires Fabric/Power BI admin roles. Track user activities in Fabric · Unified audit log overview · Data connection auditing
  • If you need guaranteed, fine-grained capture per run (non-admin friendly): Add a tiny logging step in your pipeline (after Copy) to write pipelineRunId, activityRunId, connectionName, timestamps, and row counts to a Lakehouse/KQL table-this is reliable and queryable without admin APIs.

 

If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.

If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.

If I might put a little bit of "behind the scene"-context:

we had service interruption from our ERP.

 

Since we are one of many services that get information from this ERP, we wanted to make sure that, around the moment the difficulty started, the data connection to our ERP was not leveraged, and that we were not responsible for bringing down the ERP.

 

If that additional explanation can bring some light to the situation, what would be your go-to solution ? (one fabric-based solution would be much appreciated ;D )

Hi @MathieuSGA

 

So you're looking for historical monitoring to see what was running? 
You'll need to use the admin APIs for that. 

If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.

If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.
suparnababu8
Super User
Super User

Hello @MathieuSGA 

 

If I understood correct, yes, it's possible, especially when you are using copy activity in fabric, you can use in buitl Fabric monitor. Not only Fabric admins everyone who has access they can vbe able to view it. Pls have look on below pic

suparnababu8_0-1759510622516.png

 

Kindly go through this thread Monitor Copy activity - Microsoft Fabric | Microsoft Learn It might helps you.

 

Pls let me know if it helps you.

 

Thank you!!

 

Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

 

 

 

Hi @suparnababu8,

 

Do you mean that I can monitor Data Pipeline executions that trigger the CopyData Activity leveraging the data connection I want information from ?
If so, the way I thought about my usecase was:

- a Data conenction has been defined (for example to get data from an On-Premise) source/database,

- now that I made it available to a set of users, I might not be responsible to know where, how and by whom those data and retrieved through this Data Connection.

 

In  a nutshell: I might not know the complete set of Data Pipelines/Fabric artifacts to look for in the Fabric Built-in Monitoring Hub.

 

Am I understanding your suggestion correctly ?

Helpful resources

Announcements
December Fabric Update Carousel

Fabric Monthly Update - December 2025

Check out the December 2025 Fabric Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.