March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
13 | |
4 | |
3 | |
2 | |
2 |