You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love this code. Thank you. It will fail if the data flow accesses native sql queries.
I updated function _getPowerBIDataflowDefinition
with this
if ($flowdefinition.'pbi:mashup'.'allowNativeQueries')
{
$flowdefinition.'pbi:mashup'.'allowNativeQueries'= $FALSE
}
I love this code. Thank you. It will fail if the data flow accesses native sql queries.
I updated function _getPowerBIDataflowDefinition
with this
if ($flowdefinition.'pbi:mashup'.'allowNativeQueries')
{
$flowdefinition.'pbi:mashup'.'allowNativeQueries'= $FALSE
}
== here is the code snippet
function getPowerBIDataflowDefinition([string] $GroupID, [string]$DataflowName) {
$url = [string]::Format("groups/{0}/dataflows", $GroupID);
$flowItems = Invoke-PowerBIRestMethod -Method GET -Url $url | ConvertFrom-Json
$flow = $flowItems.value | Where-Object { $.name -eq $DataflowName }
The text was updated successfully, but these errors were encountered: