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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
jaryszek
Post Prodigy
Post Prodigy

How to add cloud connection and bind it after to dataset programatically/via rest API

Hi Guys,

I want to add cloud connection (to the blob storage)  to the power bi service and as next step i want to bind it with currect existing dataset.

How to do this programatically? 

Current solution which I found are related with connecting to on-promises data source (existing ones). 
https://www.youtube.com/watch?v=lfP6ygindSU&list=PLpBU4EcPajILyeFik6p9EedYoUH4kh12m&index=8 

Best,
Jacek

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. The bind is only for Gateway. After you configure a gateway and a source you can set a source to the dataset. But, if you are connecting to cloud sources that's not an option. The most similar thing I have seen at the Fabric Rest API (it's kind of new), it's updating connection. It let's you change the connection and credentials of a dataset. I'm not sure how the body is built, it's really new and I haven't tried it yet. You can read about it here: https://learn.microsoft.com/en-us/rest/api/fabric/core/connections/update-connection?tabs=HTTP

I don't think there is another way.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

1 REPLY 1
ibarrau
Super User
Super User

Hi. The bind is only for Gateway. After you configure a gateway and a source you can set a source to the dataset. But, if you are connecting to cloud sources that's not an option. The most similar thing I have seen at the Fabric Rest API (it's kind of new), it's updating connection. It let's you change the connection and credentials of a dataset. I'm not sure how the body is built, it's really new and I haven't tried it yet. You can read about it here: https://learn.microsoft.com/en-us/rest/api/fabric/core/connections/update-connection?tabs=HTTP

I don't think there is another way.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

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 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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