ADF Switch does not accept '/' for cases

Edwin 61 Reputation points
2021-05-07T13:06:51.49+00:00

Hi,

I have a strange bug. I have an existing Data Factory pipeline where I have cases that are data lake paths e.g. 'container/example/path'. Now that I try to edit the case/path I get a validation error "Pipeline name cannot be 'Switchcontainer/example/path'. Pipeline name should only contain letters, numbers, dashes (-), underscores (_), or spaces." So when I edit the case it tries to change the name of the "pipeline" for that particular case. Before editing the name of that pipeline is effectively 'Switchcontainerexamplepath' so it seems ADF has stopped stripping unallowed characters from the case before using at the name?

So I have I working pipeline with '/' in the cases but now I cannot change it because it breaks the pipelines. Can anyone help?

94728-image.png

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,611 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KranthiPakala-MSFT 46,642 Reputation points Microsoft Employee Moderator
    2021-05-13T23:03:16.647+00:00

    Hi @VehmaanperaEdwin-1860,

    Sorry for the delay. Product team identified this as a UX bug and are working on a fix. I do not have an ETA at the moment but will keep you posted as soon as I have an update from product team about the fix.

    In the meantime you can use replace() function in the switch activity expression to remove '/' from expected input. @replace([input value], '/', '')
    For case names please avoid special characters to avoid the exception.

    Do let us know if you have further query.

    Thank you.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.