Azure wepapp setup through Azure shell - command not working

Umashankar Arumugam 1 Reputation point
2022-11-28T09:20:20.727+00:00

Following command is not working and Azure Shell - Bash

1st command = git clone https://github.com/azure-samples/html-docs-hello-world.git

2nd command = az webapp up --location eastus --name thegreatdemoapp --html index.html

Error = unrecognized arguments: index.html

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,370 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sam Cogan 10,342 Reputation points MVP
    2022-11-28T10:11:36.277+00:00

    The error is correct, adding index.html to the end does not do anything. The --html flag is a boolean that sets "Ignore app detection and deploy as an html app.", it does not take any values.

    0 comments No comments