Thanks for fixing the issue. I now can upload the connection string.
Blow my Request
WebResource { rawResponse: false, queryString: {}, method: 'POST', headers: { 'Content-Type': 'application/json; charset=utf-8', authorization: 'AppKey cAY0b0dCSSbg.......NzKAHhr7sukaxkZ9BfOL94gopjilKcdpLTKz0v2qMlw==' }, url: 'https://api.powerbi.com/v1.0/collections/powerbistart/workspaces/112efff......60-05da61ded3ba/datasets/a1baf74f-8831-....e1ea91fbfe8b/Default.SetAllConnections', body: '{"connectionString":"data source=ServerName.database.windows.net;initial catalog=MyDB;persist security info=True;encrypt=True;trustservercertificate=False"}' } Jsonstring [object Object]
perhaps i missunderstood "initial catalog" ? I insert the db name there.
It seams not to work. I double checked everysting. The report is not updated. Yes i use directQuery.
Did anybody got this to work ?
P.S: If i reload the ifame everything is uptodated. Also if i check when the report was last refreshed it shows me the date of i triggered setAllConnections(). But the Data is still the same.
michael