Forum Discussion
No SetAllConnections support for ImportMode a show stopper!
Hi trevorgermain,
For anyone who also need this feature, please vote the idea and add your comments here to improve Power BI on this feature. :smileyhappy:
Regards
- nimrod8 years ago
Resolver II
Try this one- https://msdn.microsoft.com/en-us/library/mt814715.aspx
It's newer and supports import mode for few datasources.
- trevorgermain8 years ago
Advocate I
The request allows you to change server and database. How do you also update the credentials for the source? Obviously, if you are changing to a different environment (e.g. staging to production), there will be a different set of credentials.
{
"connectionDetails":
{
"server": "new-Sql-Server.com",
"database": "new-Sql-Database"
},
"datasourceSelector":
{
"datasourceType": "Sql",
"connectionDetails":
{
"server":"My-Sql-Server",
"database":"My-Sql-Database"
}
}
}- nimrod8 years ago
Resolver II
Use 'Set credentials'