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

GUID from fabric programmatically

Hi 

 

I am looking to get GUID programmatically for objects (pipelines) within Fabric. How do we get that ?

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

HI @asifsyed,

I'd like to suggest you try to use 'sempy' package functions to get the item list from workspace:

sempy.fabric package | Microsoft Learn

 

import sempy.fabric as fabric

# Get the items of this workspace
workspace_items=fabric.list_items()

# Filter by type to get DataPipeline list
itemList= workspace_items[workspace_items.Type == "DataPipeline"]

display(itemList)

 

1.png

Regards,

Xiaoxin Sheng

View solution in original post

asifsyed
Frequent Visitor

Thank You.

 

Is there other approach as well via web API?

View solution in original post

3 REPLIES 3
asifsyed
Frequent Visitor

Thank You.

 

Is there other approach as well via web API?

Anonymous
Not applicable

HI @asifsyed,

I'd like to suggest you try to use 'sempy' package functions to get the item list from workspace:

sempy.fabric package | Microsoft Learn

 

import sempy.fabric as fabric

# Get the items of this workspace
workspace_items=fabric.list_items()

# Filter by type to get DataPipeline list
itemList= workspace_items[workspace_items.Type == "DataPipeline"]

display(itemList)

 

1.png

Regards,

Xiaoxin Sheng

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.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 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.