MetricSign
EN|NLRequest Access
Medium severityconfiguration

Power BI Refresh Error:
DeleteFilesAfterCompletionNotSupportedForThisConnector

What does this error mean?

The source connector does not support the delete-after-copy option. Remove this setting from the copy activity or use a supported file-based connector.

Common causes

  • 1Delete files after completion not supported for this connector
  • 2Integration runtime configuration is incorrect or outdated
  • 3Authentication credentials or permissions are insufficient
  • 4The feature or setting is not supported for the selected connector or copy mode

How to fix it

  1. 1Open the copy activity Settings tab and disable the 'Delete source files after completion' option — the source connector does not support this setting.
  2. 2Check the ADF documentation for the specific source connector to confirm whether delete-after-copy is supported — this feature is only available for certain file-based connectors (Azure Blob Storage, ADLS Gen2, Amazon S3, SFTP).
  3. 3As an alternative, add a Delete activity after the copy activity in the pipeline and configure it to delete the source files using the same linked service and dataset path.
  4. 4Ensure the pipeline identity has delete permissions on the source storage if using the Delete activity approach.
  5. 5Validate the pipeline after removing the incompatible setting.

Frequently asked questions

Does this configuration error affect every pipeline run?

Yes — configuration errors are deterministic. Every run fails until fixed; retrying does not help.

How do I validate an ADF pipeline configuration before running it?

Click 'Validate' in the ADF authoring UI for configuration checks. For data flows, use Debug mode with a small sample to validate expressions and mappings.

Can dynamic content expressions in ADF cause configuration errors at runtime?

Yes — @activity(), @pipeline(), or @dataset() parameters that resolve to null or an unexpected type cause runtime failures even when design-time validation passes.

Do configuration errors appear in the ADF activity output?

Yes — the ADF Monitor activity detail shows the error code and the specific property that is invalid or missing.

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

Other configuration errors