question

MichalMlka-6672 avatar image
0 Votes"
MichalMlka-6672 asked ShaikMaheer-MSFT answered

Deploy Synapse trigger from ARM template: array parameter passed as string

Hi,

I have an array parameter in Synapse ARM template:

     "daily-parse-trigger_parameters_lists": {
         "type": "array",
         "defaultValue": [
             "Brand",
             "Store"
         ]
     },

parameters file:

     "daily-parse-trigger_parameters_lists": {
         "value": [
             "Brand",
             "Store"
         ]
     },

But after deployment using Azure DevOps task: Synapse workspace deployment@1
is result in Synapse:

             "parameters": {
                 "lists": "Brand,Store"
             }
azure-synapse-analytics
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ShaikMaheer-MSFT avatar image
0 Votes"
ShaikMaheer-MSFT answered

Hi @MichalMlka-6672 ,

Welcome to Microsoft Q&A Platform. Thank you for posting query here.

You need to define a string parameter with a comma separated list of values. Don't have spaces in the list. And then use Split function to get array out of it.

Similar issue discussed in below link. Kindly refer it for better understanding. Thank you.
azure - ARM template array parameter - Stack Overflow

Hope this will help. Thank you


  • Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how

  • Want a reminder to come back and check responses? Here is how to subscribe to email-notifications.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.