Forum Discussion
Anonymous
5 years agoNot applicable
Update datasource API - works fine, but not always
Hi all, I have a problem with 'Datasets - Update Datasource In Group' API. I'm using Azure DevOps pipeline to trigger PowerShell scripts to automaticaly update datasources (DirectQuery) during releas...
lbendlin
5 years agoSuper User
If I remember correctly you need to re-own a data source after you changed it via API.
Reference: Session 02: Writing PowerShell Scripts for Power BI · Power BI Dev Camp (powerappsportals.com)
(the topic comes up there)