Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
For a couple of years we are using on Azure Devops a powershell script for Power BI Embedded with 2 consecutive lines:
1) Invoke-PowerBIRestMethod -Url "groups/$($workspace.id)/datasets/$($dataset.id)/Default.TakeOver" -Method Post -Verbose
2) Invoke-PowerBIRestMethod -Url "groups/$($workspace.id)/datasets/$($dataset.id)/Default.UpdateDatasources" -Method Post
-Body $UpdateDatabaseBody -Verbose
The first line work fine.
But since 30-10-2023 we have problems with the second line. We get the exception “Dataset doesn't contain a datasource that matches selector #1”. Unclear to me what the selector is and why it gives an error after years of running.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.