MetricSign
EN|NLRequest Access
Medium severitydata flow

Power BI Refresh Error:
DF-Github-WriteNotSupported

What does this error mean?

ADF Mapping Data Flows use GitHub as a read-only source connector — it does not support writing. If a data flow sink is configured to write to GitHub, the flow fails immediately.

Common causes

  • 1A data flow sink was mistakenly configured to write to GitHub instead of reading from it
  • 2Copy/paste of an existing data flow reused a GitHub dataset in a sink position
  • 3A developer intended a different destination (e.g., Azure Blob, ADLS) but selected GitHub by mistake
  • 4Attempt to use GitHub as a lookup or staging destination, which is not supported

How to fix it

  1. 1Open the failing data flow in ADF Studio and inspect the Sink tab — confirm whether GitHub appears as a sink dataset.
  2. 2Replace the GitHub sink with an appropriate writable destination such as Azure Data Lake Storage Gen2 or Azure Blob Storage.
  3. 3If GitHub was intended as a source, move the GitHub dataset to a Source transformation instead of a Sink.
  4. 4If you need to write output back to a Git repository, use a separate pipeline activity (e.g., Web activity or Azure Function) outside the data flow.
  5. 5Save and re-publish the data flow, then trigger a new debug run to confirm the error is resolved.

Frequently asked questions

Can GitHub ever be used as a sink in ADF?

No — GitHub is a source-only connector in ADF Mapping Data Flows. There is no workaround for writing to GitHub from a data flow sink. Use a writable connector (ADLS, Blob, SQL) for output.

How do I write pipeline output back to a Git repo if I need to?

Use a Web activity or Azure Function activity in the pipeline (outside the data flow) to call the GitHub API or a Git push command. Data flows cannot write to version control systems.

Will this error appear in debug mode too?

Yes — debug mode runs the same data flow logic and will also fail if a GitHub sink is configured. The error appears immediately when the Spark executor tries to write the first output batch.

How does this differ from a permissions error on GitHub?

A permissions error would surface if GitHub writing were theoretically possible but blocked — that is not the case here. DF-Github-WriteNotSupported means writing is architecturally not supported by the connector, regardless of credentials.

Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/data-flow-troubleshoot-guide

Other data flow errors