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
UdaySutar
Frequent Visitor

how to get pipeline run status from monitor screen using notebook in Fabric

how to get pipeline run status from monitor screen using notebook in Fabric

1 ACCEPTED SOLUTION
Vinodh247
Resolver III
Resolver III

Try programmatically access the pipeline run metadata using the Fabric REST APIs, specifically the Pipeline API.

  • Fabric notebooks automatically use the current workspace and identity, so you can use MsiTokenProvider to get a token for REST API calls
  • You need the workspace ID and pipeline ID. You can get these from the pipeline URL in Fabric Monitor or Pipeline editor & run the API call ( For Ex:

    https://app.fabric.microsoft.com/groups/<workspace_id>/pipelines/<pipeline_id>

    )
  • You can pick the data you need, for example if you want to pick the recent runs: 
latest_run = runs.get('value', [])[0]
print(f"Latest Run Status: {latest_run['status']}")
​
  • Ensure Fabric REST APIs are available in your tenant (may require admin consent in some environments)

View solution in original post

4 REPLIES 4
v-prasare
Community Support
Community Support

Hi @UdaySutar,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?

 

 

 

Thanks,

Prashanth Are

MS Fabric community support

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query

v-prasare
Community Support
Community Support

Hi @UdaySutar,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?

 

 

 

Thanks,

Prashanth Are

MS Fabric community support

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query

v-prasare
Community Support
Community Support

Hi @UdaySutar,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?

 

 

 

Thanks,

Prashanth Are

MS Fabric community support

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query

Vinodh247
Resolver III
Resolver III

Try programmatically access the pipeline run metadata using the Fabric REST APIs, specifically the Pipeline API.

  • Fabric notebooks automatically use the current workspace and identity, so you can use MsiTokenProvider to get a token for REST API calls
  • You need the workspace ID and pipeline ID. You can get these from the pipeline URL in Fabric Monitor or Pipeline editor & run the API call ( For Ex:

    https://app.fabric.microsoft.com/groups/<workspace_id>/pipelines/<pipeline_id>

    )
  • You can pick the data you need, for example if you want to pick the recent runs: 
latest_run = runs.get('value', [])[0]
print(f"Latest Run Status: {latest_run['status']}")
​
  • Ensure Fabric REST APIs are available in your tenant (may require admin consent in some environments)

Helpful resources

Announcements
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.