MetricSign
Start free
High severityconfigurationAzure Data Factory

ADF Pipeline Error:
ADF Pipeline Error 2355

What does this error mean?

The value provided for commandEnvironment is incorrect — expected an array of CmdEnvVarName=CmdEnvVarValue strings.

Common causes

  • 1commandEnvironment is not an array of strings (e.g. passed as object or single string)
  • 2Entries missing the '=' separator between variable name and value
  • 3Duplicate variable names in the commandEnvironment list
  • 4Empty variable name or value, or stray quotes/whitespace breaking the NAME=VALUE format

How to fix it

  1. 1Open the failing ADF activity (Custom/HDInsight/Batch) and locate the commandEnvironment property in the JSON definition.
  2. 2Ensure the value is a JSON array of strings, each shaped as "variableName=variableValue" (e.g. ["ENV=prod", "REGION=westeu"]).
  3. 3Verify that each variable name appears in the list only once — remove duplicates.
  4. 4Remove any entries with empty names/values or missing '=' separators, then republish the pipeline.
  5. 5Re-run the pipeline and confirm the activity starts past the validation phase.

Frequently asked questions

What causes ADF Pipeline Error 2355?

Pipeline configuration or connectivity issue

Where can I find more details?

Open Azure Data Factory Monitor, find the failed run, click on the activity, and view the full error output in the Output tab.

Source · learn.microsoft.com/en-us/azure/data-factory/data-factory-troubleshoot-guide#error-code-2355

Other configuration errors