Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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.