Error in configuring nginx on Azure VM in learn sandbox

Paul Kang 31 Reputation points

need help on this:262125-image.png

PS /home/paul> az vm extension set --resource-group learn-cff128e5-0fd7-4d18-8223-c9ccb0577a26 --vm-name my-vm --name customScript --publisher Microsoft.Azure.Extensions --version 2.1 --settings '{"fileUris":[""]}' --protected-settings '{"commandToExecute": "./"}'
Failed to parse string as JSON:
Error detail: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
Please provide a valid JSON file path or JSON string.
The provided JSON string may have been parsed by the shell. See

Azure Fundamentals
Azure Fundamentals
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Fundamentals: Foundational knowledge about Microsoft products.
192 questions
{count} vote

Accepted answer
  1. kobulloc-MSFT 15,161 Reputation points Microsoft Employee

    Hello, @Paul Kang !

    Where are you seeing this issue?

    Issue: Why am I running into an error on step 2, az vm extension set?
    Thank you again for bringing this to our attention. The command az vm extension set on step 2 has had reports of failures recently that we've been investigating however they all appear to be resolved by restarting the sandbox. If you continue to see this error after restarting the sandbox, please let us know so we can continue to troubleshoot this.

    Thank you again for your patience!

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful