Skip to main content
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
asifsyed
New Contributor

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
New Contributor

Thank You.

 

Is there other approach as well via web API?

View solution in original post

3 REPLIES 3
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

asifsyed
New Contributor

Thank You.

 

Is there other approach as well via web API?

frithjof_v
Honored Contributor

Helpful resources

Announcements
Top Solution Authors
Users online (2,584)