Devtestlab Browser connect via ARM template

kdepenbr 21 Reputation points
2021-12-17T11:29:18.327+00:00

We deploy our devtest labs via an ARM template where we set all our settings.
A setting I'm not able to set via the ARM template is the 'browser connect' setting.
Anyone an idea how to set this setting via the ARM template ?

Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
256 questions
0 comments No comments
{count} votes

Accepted answer
  1. BhargaviAnnadevara-MSFT 5,456 Reputation points
    2021-12-17T14:33:03.56+00:00

    @kdepenbr Thanks for reaching out. This feature for Azure DevTest Labs can be enabled via the browserConnect property. Please ensure to set the apiVersion to 2018-10-15-preview.

    Here is a sample ARM template for your reference:

       {  
           "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",  
           "contentVersion": "1.0.0.0",  
           "parameters": {  
               "lab_name": {  
                   "defaultValue": "myDevTestLab",  
                   "type": "String"  
               }  
           },  
           "variables": {},  
           "resources": [  
               {  
                   "type": "microsoft.devtestlab/labs",  
                   "apiVersion": "2018-10-15-preview",  
                   "name": "[parameters('lab_name')]",  
                   "location": "westus2",  
                   "properties": {  
                       "browserConnect": "Enabled",  
                       "labStorageType": "Premium",  
                       "mandatoryArtifactsResourceIdsLinux": [],  
                       "mandatoryArtifactsResourceIdsWindows": [],  
                       "premiumDataDisks": "Disabled",  
                       "environmentPermission": "Reader",  
                       "announcement": {  
                           "enabled": "Disabled",  
                           "expired": false  
                       },  
                       "support": {  
                           "enabled": "Disabled"  
                       }  
                   }  
               }  
           ]  
       }  
    

    Hope this helps. Do let us know if you have further questions.

    ----------

    If an answer is helpful, please "Accept answer" and/or "Up-Vote" which might help other community members reading this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful