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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.