Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
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
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 11 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |