Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. 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.