How to provide checkbox selection in parameters section of ARM Template for a parameter

Nirali Shah 146 Reputation points
2024-02-02T17:09:45.16+00:00

I have a usecase where I need to provide checkbox selection to user for fillling parameter values in Azure Resource Manager Template of Data Connector/ Playbook(Azure Logic Apps). I have tried to provide type=array while providing allowedValues but it is creating a dropdown only from which I can select a single value only. But I want a type from which I can select multiple values as we can do in checkbox. Can anyone help me to guide on this to achieve checkbox kind of functionality in ARM Template?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,845 questions
Microsoft Sentinel
Microsoft Sentinel
A scalable, cloud-native solution for security information event management and security orchestration automated response. Previously known as Azure Sentinel.
976 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Urnun 9,666 Reputation points Microsoft Employee
    2024-02-06T04:55:49.5866667+00:00

    Hello @Nirali Shah - Thanks for reaching out, and posting on the MS Q&A. For displaying a multi-select checkbox UI elements out of your ARM template, you'll need to create a Template Spec, and deploy via Portal as shown here: Create Azure portal forms for a template spec The same tutorial shows an example of such an improved experience using checkboxes by adding "multiselect": true and "type": "Microsoft.Common.DropDown" in the template spec file:
    User's image

    I hope this helps, feel free to tag me and comment below if you have any follow-up questions.


    Please "Accept Answer" if the answer is helpful so that others in the community may benefit from your experience.

    0 comments No comments