Forum Discussion
Martin51
5 years agoFrequent Visitor
Failed to update data model parameters - using new October update way to change connection string
Hello, I am trying to change the connection string using parameters, as described on this page: Change data source connection strings with PowerShell - Power BI | Microsoft Docs. When I creat...
lbendlin
5 years agoSuper User
Please confirm if you are working with Power BI Report Server or with the regular Power BI Service.
For Service: Try doing the same call in the Power BI API sandbox. If that works, use the basic
Invoke-RestMethod (Microsoft.PowerShell.Utility) - PowerShell | Microsoft Docs
or the slightly more luxurious
Invoke-PowerBIRestMethod (MicrosoftPowerBIMgmt.Profile) | Microsoft Docs
instead of your cmdlets.