Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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
Hi
I am looking to get GUID programmatically for objects (pipelines) within Fabric. How do we get that ?
Solved! Go to Solution.
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)
Regards,
Xiaoxin Sheng
Thank You.
Is there other approach as well via web API?
There are REST APIs. Examples:
https://learn.microsoft.com/en-us/rest/api/fabric/core/items/list-items?tabs=HTTP
https://learn.microsoft.com/en-us/rest/api/fabric/admin/items/list-items?tabs=HTTP
https://learn.microsoft.com/en-us/fabric/data-factory/pipeline-rest-api
I haven't tried the APIs myself.
Please note that some APIs are only in preview status.
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)
Regards,
Xiaoxin Sheng
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.
User | Count |
---|---|
6 | |
4 | |
4 | |
3 | |
3 |