Admin - Dataflows ExportDataflowAsAdmin

Exports the definition for the specified dataflow to a JSON file.

Permissions

  • The user must have administrator rights (such as Office 365 Global Administrator or Power BI Service Administrator) or authenticate using a service principal.
  • Delegated permissions are supported.

When running under service prinicipal authentication, an app must not have any admin-consent required premissions for Power BI set on it in the Azure portal.

Required Scope

Tenant.Read.All or Tenant.ReadWrite.All

Relevant only when authenticating via a standard delegated admin access token. Must not be present when authentication via a service principal is used.

GET https://api.powerbi.com/v1.0/myorg/admin/dataflows/{dataflowId}/export

URI Parameters

Name In Required Type Description
dataflowId
path True
  • string
uuid

The dataflow ID

Responses

Name Type Description
200 OK
  • file

Exported Json file