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.
8,937 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sam Cogan 10,812 Reputation points Microsoft Employee Volunteer Moderator
    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.