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
kobaldm
Helper I
Helper I

PowerBiNodeSDK (1.0) - setAllConnections ---Error: Required 'connectionString' property is missing

It is quite clear and simple to create a client

 

var credentials = new msrest.TokenCredentials('cAY0b0dCSSbg0oL3nHcgMScnrB...lw==', 'AppKey');
var client = new powerbi.PowerBIClient(credentials);

To trigger the setAllConnection function

 

 

client.datasets.setAllConnections('pow....','112ef...','a1baf74f...',mparameters,function (err, result, request, response) {
console.log(err );});

Sadly i can't generate the 4. parameter ('mparameters')

 

var mparameters = {theMissungKey: {"connectionString": "data source=yourDB.database.windows.net;initial ....

I have no Clue what the name of the first Key "theMissingKey" could be.

I always get this error message

Error: Required 'connectionString' property is missing or misspelled

 

Any ideas ?

 

Thank you michael

 

 

0 REPLIES 0

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.