Commands › Power BI
Export-PowerBIDataflow
Exports a Power BI dataflow to the .json file format.
Quick start script
# Export-PowerBIDataflow — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-PowerBIServiceAccount -ServicePrincipal -CertificateThumbprint $thumb -ApplicationId $appId -Tenant $tenantId
# 2. Run and inspect
Export-PowerBIDataflow -Dataflow <Dataflow> -Id <Guid> -OutFile <String> | Format-List
# 3. Export for evidence / drift tracking
Export-PowerBIDataflow | Export-Clixml .\PowerBIDataflow-$(Get-Date -Format yyyyMMdd).xml
Syntax — 2 parameter sets
Id (Default)
Export-PowerBIDataflow [-WorkspaceId <Guid>] -Id <Guid> [-Scope <PowerBIUserScope>] -OutFile <String>
[<CommonParameters>]
Dataflow
Export-PowerBIDataflow [-WorkspaceId <Guid>] -Dataflow <Dataflow> [-Scope <PowerBIUserScope>] -OutFile <String>
[<CommonParameters>]
Parameters (5)
Reference facts derived from Microsoft documentation, © Microsoft, licensed MIT; restructured with original guidance by serv365.ai.