Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi Everyone,
I am working on a automated deployment system that deploys PowerBI reports to a new workspace. This is all working fine but the issue i am having is updating the datasource with a new URL to get their information from. These are all SharePoint List data sources that need to be updated.
I am using the Invoke-PowerBIRestMethod to sucessfull get the data sources within a report and I can manipulate the return to change the URL but when sending the update back i just get an error.
No information is given with the error it just doesn't work.
Does anyone have a working example of updatiung a datasource with powershell?
I have seen this thread but it doesn't have a solution
Hi @Anonymous ,
Try to find the error using Resolve-PowerBIError cmdlet or fiddler to capture the API error directly.
Just giving as the reference, to my artilce where you can find the some informations on the powershell scripts
https://community.powerbi.com/t5/Community-Blog/PowerBI-CICD-using-Azure-DevOps/ba-p/769244
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
9 | |
6 | |
3 | |
3 | |
2 |