{
    "id": "0e359a82-382e-49a9-ab5e-01a60c066128",
    "name": "Configure Virtual Machine Extensions",
    "slug": "configure-virtual-machine-extensions",
    "status": "published",
    "lab_type": "pta",
    "is_sample": false,
    "duration_in_seconds": 1800,
    "metadata": {
        "courses": [
            "1a20bc1a-9d44-4503-95f2-3de135097a2e",
            "0fafa2f2-99f0-42eb-98ff-a5f046da20e1"
        ],
        "pta_sdn": "323",
        "pta_namespace": "my.ine",
        "learning_paths": [],
        "has_published_parent": true
    },
    "session": null,
    "company": "a491bc32-c056-4946-9169-cc053387bada",
    "created": "2022-09-10T21:20:03.966803Z",
    "modified": "2023-10-03T18:58:28.733716Z",
    "is_beta": false,
    "lab_objectives": [],
    "main_learning_area": "d3f82c70-f4e7-428e-afd7-4b1d28988e18",
    "learning_areas": [
        {
            "id": "d3f82c70-f4e7-428e-afd7-4b1d28988e18",
            "name": "Cloud",
            "slug": "cloud"
        }
    ],
    "categories": [],
    "tags": [],
    "difficulty": null,
    "is_web_access": true,
    "is_lab_experience": false,
    "is_featured": false,
    "cve": null,
    "severity": null,
    "year": null,
    "classification": null,
    "is_trackable": false,
    "cpe_credits": null,
    "is_skill_check": false,
    "external_url": "",
    "solution_video": null,
    "explanation_video": null,
    "description": "The goal of this task is to inject configuration into virtual machines using extensions. This will involve using DSC to install IIS on an existing Windows Server 2016 virtual machine, and deploying a custom web app on a new Ubuntu 18.04 server using a custom script extension.",
    "description_html": "<p>The goal of this task is to inject configuration into virtual machines using extensions. This will involve using DSC to install IIS on an existing Windows Server 2016 virtual machine, and deploying a custom web app on a new Ubuntu 18.04 server using a custom script extension.</p>",
    "tasks": "",
    "tasks_html": "",
    "published_date": "2020-04-07T18:00:00Z",
    "solutions": "# Deploy a DSC extension to an existing virtual machine\n\nFirst of all login to your azure portal with the generated credentials. You will see that there are some pre deployed resources for you to work with.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/1.png)\n\nOpen a cloudshell by clicking on the below highlighted icon.\n\nOr you can just access the cloud from below link.\n\n```\nshell.azure.com\n```\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/2.png)\n\nSelect powershell environment to continue.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/3.png)\n\nClick on **Show advanced settings** to configure the storage with your cloudshell\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/4.png)\n\n\nGive a unique name to storage account and the file share.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/5.png)\n\nYou can see one powershell environment will open up to you.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/6.png)\n\nDownload the script file with below command.\n\n```\nwget https://inedemoassets.blob.core.windows.net/taskfiles/azure_admin/IISInstall.ps1 IISInstall.ps1\n```\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/7.png)\n\nDownload the archive file from the below command.\n\n```\nwget https://inedemoassets.blob.core.windows.net/taskfiles/azure_admin/IISInstall.ps1.zip IISInstall.ps1.zip\n```\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/8.png)\n\nUse the below command to check the content of the script file.\n\n```\ncode ./IISInstall.ps1\n```\n\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/9.png)\n\nYou can close the code window with **Ctrl+Q**.\n\nNow declare the below variables into the powershell environment.\n\n```\n$rg = \"ResourceGroupName\"\n$sa = \"StorageAccountName\"\n$vm = \"dsc-vm\"\n$file = \"./IISInstall.ps1.zip\"\n```\n\n* Use the resource group which is assigned to you.\n* use the storage account which was pre deployed.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/10.png)\n\nExecute the below commands to setup the storage account context.\n\n```\n$key = (Get-AzStorageAccountKey -ResourceGroupName $rg -Name $sa)[0].Value\n$context = New-AzStorageContext -StorageAccountName $sa -StorageAccountKey $key\n```\n\nWe are fetching the key of storage account and then setting up a context to upload files to the container.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/11.png)\n\nUpload the archive file you downloaded with the below command.\n\n```\nSet-AzStorageBlobContent -File $file -Container dsc -Context $context\n```\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/12.png)\n\nNow setup the DSC extension to our VM with these configurations.\n\n```\nSet-AzVMDscExtension -Name dsc -Version '2.76' `\n-ResourceGroupName $rg -VMName $vm -ArchiveStorageAccountName $sa `\n-ArchiveBlobName 'IISInstall.ps1.zip' -AutoUpdate -ConfigurationName 'IISInstall' `\n-ArchiveContainerName dsc\n```\n\nWe are setting up an extension for our VM with the archive, which we uploaded to the container of our storage account.\n\nIt will take some minutes to set up the extension. So wait for some minutes.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/13.png)\n\nAfter the extension is successfully provisioned, you can go to the **extensions** of the VM and verify the same.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/14.png)\n\nGet the public IP address of the VM from the overview or networking.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/15.png)\n\nPaste the public IP address in your browser and if everything was successfull. You will see something like the below image.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/16.png)\n\nYou can go and delete the virtua machine which was pre deployed and also all the related resources.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/17.png)\n\n# Deploy a custom script extension via an ARM template\n\nSearch for *Deploy* and click on **Deploy a custom template**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/18.png)\n\nHere search for **extension** in quickstart templates. So you don't have to write the ARM script from scratch.\n\nSelect any of the templates but the changes needed in that will be different from the one used here.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/19.png)\n\nClick on **Edit template** to make required changes to the template.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/20.png)\n\nYou can see the quickstart template along with the resources, parameters and variables.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/21.png)\n\nFirst of all remove the parameter fro the **dnsName**. We dont need FQDN for this lab.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/22.png)\n\nAlso remove the command to execute parameter. We will directly use the command in extension properties.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/23.png)\n\nRemove the **dnsSettings** from the public IP address.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/24.png)\n\nGo to the variables and make appropirate changes as per our requirment. We can just change the **scenarioPrefix**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/25a.png)\n\nRemove the properties from the extension.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/25.png)\n\nPaste the below mentioned properties, so we can use our files and command.\n\n```\n\"properties\": {\n            \"publisher\": \"Microsoft.OSTCExtensions\",\n            \"type\": \"CustomScriptForLinux\",\n            \"typeHandlerVersion\": \"1.4\",\n            \"autoUpgradeMinorVersion\": true,\n            \"settings\": {\n                \"fileUris\": [\n                    \"https://inedemoassets.blob.core.windows.net/taskfiles/azure/webserverinstall.sh\"\n                ],\n                \"commandToExecute\": \"sh webserverinstall.sh\"\n            }\n        }\n```\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/26.png)\n\nNow all the things are configured as for the extension, but we will need a network security group. So we can access the web server we are deploying as an extension.\n\nAdd the network security group to the resources.\n\n```\n{\n            \"type\": \"Microsoft.Network/networkSecurityGroups\",\n            \"apiVersion\": \"2021-02-01\",\n            \"name\": \"nsg\",\n            \"location\": \"[parameters('location')]\",\n            \"properties\": {\n                \"securityRules\": [\n                  {\n                    \"name\": \"HTTP\",\n                    \"properties\": {\n                      \"priority\": 1001,\n                      \"access\": \"Allow\",\n                      \"direction\": \"Inbound\",\n                      \"destinationPortRange\": \"80\",\n                      \"protocol\": \"Tcp\",\n                      \"sourcePortRange\": \"*\",\n                      \"sourceAddressPrefix\": \"*\",\n                      \"destinationAddressPrefix\":\"*\"\n                    }\n                  }\n                ]\n            }\n        },\n```\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/27.png)\n\nNow set up the network security group with the subnet of our virutal network.\n\n```\n\"networkSecurityGroup\":\n    {\n        \"id\": \"[resourceId('Microsoft.Network/networkSecurityGroups','nsg')]\"\n    }\n```\n\nClick on **Save** after doing all the changes.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/28.png)\n\nSet up the parameters as below and click on **Review+Create**.\n\n* Use the resource group assigned to you\n* Set the username as **student**\n* Use auth type as password\n* Use a strong password\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/29.png)\n\nAzure will verify the template created by you. After checking, it will show you **Validation Passed**, if everything was done properly.\n\nClick on **Create** to deploy the template.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/30.png)\n\nAfte sometime you will see **Your deployment is complete**. This means everything was deployed. Click on **Go to resource group** to check the resources you just deployed.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/31.png)\n\nYou can see every resource is deployed.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/31a.png)\n\nGo to the virtual machine's overview or the networking. Get the public IP address of the virtual machine.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/32.png)\n\nGo and paste the IP address to your browser, you will see the name of our virtual machine in the response.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/33.png)\n\nThis means that our extension was properly deployed.\n\nThis lab is now complete.",
    "solutions_html": "<h1>Deploy a DSC extension to an existing virtual machine</h1>\n<p>First of all login to your azure portal with the generated credentials. You will see that there are some pre deployed resources for you to work with.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/1.png\" /></p>\n<p>Open a cloudshell by clicking on the below highlighted icon.</p>\n<p>Or you can just access the cloud from below link.</p>\n<pre class=\"codehilite\"><code>shell.azure.com</code></pre>\n\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/2.png\" /></p>\n<p>Select powershell environment to continue.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/3.png\" /></p>\n<p>Click on <strong>Show advanced settings</strong> to configure the storage with your cloudshell</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/4.png\" /></p>\n<p>Give a unique name to storage account and the file share.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/5.png\" /></p>\n<p>You can see one powershell environment will open up to you.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/6.png\" /></p>\n<p>Download the script file with below command.</p>\n<pre class=\"codehilite\"><code>wget https://inedemoassets.blob.core.windows.net/taskfiles/azure_admin/IISInstall.ps1 IISInstall.ps1</code></pre>\n\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/7.png\" /></p>\n<p>Download the archive file from the below command.</p>\n<pre class=\"codehilite\"><code>wget https://inedemoassets.blob.core.windows.net/taskfiles/azure_admin/IISInstall.ps1.zip IISInstall.ps1.zip</code></pre>\n\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/8.png\" /></p>\n<p>Use the below command to check the content of the script file.</p>\n<pre class=\"codehilite\"><code>code ./IISInstall.ps1</code></pre>\n\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/9.png\" /></p>\n<p>You can close the code window with <strong>Ctrl+Q</strong>.</p>\n<p>Now declare the below variables into the powershell environment.</p>\n<pre class=\"codehilite\"><code>$rg = \"ResourceGroupName\"\n$sa = \"StorageAccountName\"\n$vm = \"dsc-vm\"\n$file = \"./IISInstall.ps1.zip\"</code></pre>\n\n<ul>\n<li>Use the resource group which is assigned to you.</li>\n<li>use the storage account which was pre deployed.</li>\n</ul>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/10.png\" /></p>\n<p>Execute the below commands to setup the storage account context.</p>\n<pre class=\"codehilite\"><code>$key = (Get-AzStorageAccountKey -ResourceGroupName $rg -Name $sa)[0].Value\n$context = New-AzStorageContext -StorageAccountName $sa -StorageAccountKey $key</code></pre>\n\n<p>We are fetching the key of storage account and then setting up a context to upload files to the container.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/11.png\" /></p>\n<p>Upload the archive file you downloaded with the below command.</p>\n<pre class=\"codehilite\"><code>Set-AzStorageBlobContent -File $file -Container dsc -Context $context</code></pre>\n\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/12.png\" /></p>\n<p>Now setup the DSC extension to our VM with these configurations.</p>\n<pre class=\"codehilite\"><code>Set-AzVMDscExtension -Name dsc -Version '2.76' `\n-ResourceGroupName $rg -VMName $vm -ArchiveStorageAccountName $sa `\n-ArchiveBlobName 'IISInstall.ps1.zip' -AutoUpdate -ConfigurationName 'IISInstall' `\n-ArchiveContainerName dsc</code></pre>\n\n<p>We are setting up an extension for our VM with the archive, which we uploaded to the container of our storage account.</p>\n<p>It will take some minutes to set up the extension. So wait for some minutes.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/13.png\" /></p>\n<p>After the extension is successfully provisioned, you can go to the <strong>extensions</strong> of the VM and verify the same.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/14.png\" /></p>\n<p>Get the public IP address of the VM from the overview or networking.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/15.png\" /></p>\n<p>Paste the public IP address in your browser and if everything was successfull. You will see something like the below image.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/16.png\" /></p>\n<p>You can go and delete the virtua machine which was pre deployed and also all the related resources.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/17.png\" /></p>\n<h1>Deploy a custom script extension via an ARM template</h1>\n<p>Search for <em>Deploy</em> and click on <strong>Deploy a custom template</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/18.png\" /></p>\n<p>Here search for <strong>extension</strong> in quickstart templates. So you don't have to write the ARM script from scratch.</p>\n<p>Select any of the templates but the changes needed in that will be different from the one used here.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/19.png\" /></p>\n<p>Click on <strong>Edit template</strong> to make required changes to the template.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/20.png\" /></p>\n<p>You can see the quickstart template along with the resources, parameters and variables.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/21.png\" /></p>\n<p>First of all remove the parameter fro the <strong>dnsName</strong>. We dont need FQDN for this lab.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/22.png\" /></p>\n<p>Also remove the command to execute parameter. We will directly use the command in extension properties.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/23.png\" /></p>\n<p>Remove the <strong>dnsSettings</strong> from the public IP address.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/24.png\" /></p>\n<p>Go to the variables and make appropirate changes as per our requirment. We can just change the <strong>scenarioPrefix</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/25a.png\" /></p>\n<p>Remove the properties from the extension.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/25.png\" /></p>\n<p>Paste the below mentioned properties, so we can use our files and command.</p>\n<pre class=\"codehilite\"><code>\"properties\": {\n            \"publisher\": \"Microsoft.OSTCExtensions\",\n            \"type\": \"CustomScriptForLinux\",\n            \"typeHandlerVersion\": \"1.4\",\n            \"autoUpgradeMinorVersion\": true,\n            \"settings\": {\n                \"fileUris\": [\n                    \"https://inedemoassets.blob.core.windows.net/taskfiles/azure/webserverinstall.sh\"\n                ],\n                \"commandToExecute\": \"sh webserverinstall.sh\"\n            }\n        }</code></pre>\n\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/26.png\" /></p>\n<p>Now all the things are configured as for the extension, but we will need a network security group. So we can access the web server we are deploying as an extension.</p>\n<p>Add the network security group to the resources.</p>\n<pre class=\"codehilite\"><code>{\n            \"type\": \"Microsoft.Network/networkSecurityGroups\",\n            \"apiVersion\": \"2021-02-01\",\n            \"name\": \"nsg\",\n            \"location\": \"[parameters('location')]\",\n            \"properties\": {\n                \"securityRules\": [\n                  {\n                    \"name\": \"HTTP\",\n                    \"properties\": {\n                      \"priority\": 1001,\n                      \"access\": \"Allow\",\n                      \"direction\": \"Inbound\",\n                      \"destinationPortRange\": \"80\",\n                      \"protocol\": \"Tcp\",\n                      \"sourcePortRange\": \"*\",\n                      \"sourceAddressPrefix\": \"*\",\n                      \"destinationAddressPrefix\":\"*\"\n                    }\n                  }\n                ]\n            }\n        },</code></pre>\n\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/27.png\" /></p>\n<p>Now set up the network security group with the subnet of our virutal network.</p>\n<pre class=\"codehilite\"><code>\"networkSecurityGroup\":\n    {\n        \"id\": \"[resourceId('Microsoft.Network/networkSecurityGroups','nsg')]\"\n    }</code></pre>\n\n<p>Click on <strong>Save</strong> after doing all the changes.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/28.png\" /></p>\n<p>Set up the parameters as below and click on <strong>Review+Create</strong>.</p>\n<ul>\n<li>Use the resource group assigned to you</li>\n<li>Set the username as <strong>student</strong></li>\n<li>Use auth type as password</li>\n<li>Use a strong password</li>\n</ul>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/29.png\" /></p>\n<p>Azure will verify the template created by you. After checking, it will show you <strong>Validation Passed</strong>, if everything was done properly.</p>\n<p>Click on <strong>Create</strong> to deploy the template.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/30.png\" /></p>\n<p>Afte sometime you will see <strong>Your deployment is complete</strong>. This means everything was deployed. Click on <strong>Go to resource group</strong> to check the resources you just deployed.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/31.png\" /></p>\n<p>You can see every resource is deployed.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/31a.png\" /></p>\n<p>Go to the virtual machine's overview or the networking. Get the public IP address of the virtual machine.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/32.png\" /></p>\n<p>Go and paste the IP address to your browser, you will see the name of our virtual machine in the response.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/configure-virtual-machine-extensions/33.png\" /></p>\n<p>This means that our extension was properly deployed.</p>\n<p>This lab is now complete.</p>",
    "flags": [],
    "min_points_to_pass": null,
    "access_type": "web",
    "user_status": "unstarted",
    "user_lab_status": null,
    "user_status_modified": null,
    "user_flags": [],
    "global_running_session": null
}