It's unclear from this page whether Dataflows are supported as a connection for a PBIDS file. I've tried numerous things to try to get it to work, to no avail. There's no mention of connecting to a dataflow in the "Data Source Reference (DSR) format for protocol and address information" link provided, either.
I'm wondering whether Dataflows are classed as a "Blank query" and therefore they aren't supported in PBIDS yet. Could anyone confirm this?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thanks for your comment, @edfreeman I've assigned this issue to the doc author for review.
In the meantime, you might find an answer in the Power BI Community.
Thanks @srigney2142. Couldn't find anything preexisting on the Power BI Community, so I've Just posted the question there as well (https://community.powerbi.com/t5/Desktop/Does-the-PBIDS-file-type-support-a-Dataflow-connection/m-p/820905#M394432).
Yes it is possible. The protocol is "powerbi-dataflows".
Below is a sample.
Workspace id and dataflow id can be found by clicking on the dataflow in the Power BI web app and looking at the url.
https://app.powerbi.com/groups/
{
"version": "0.1",
"connections": [
{
"details": {
"protocol":"powerbi-dataflows",
"address":{
"workspace":"
"dataflow":"
}
}
}
]
}