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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
jaryszek
Post Patron
Post Patron

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.