'unrecognized arguments: –html

I am trying to create an application using Azure App service.

However, it shows the above error: unrecognized arguments: –html

The command that I use is az webapp up --location AustraliaEast --name learmingapp –html.



Solution 1:[1]

I use the command to update and display my website with a new header. However, it shows the above error: unrecognized arguments: –html

To resolve the above issue , In your script the argument that you are using -htmlinstead of that need to use --html as suggested by @Ash as well,Posting it as an answer to help other community members for similar issue.

For example:- az webapp up --location AustraliaEast --name learmingapp --html

SCREENSHOT FOR REFERENCE:-

enter image description here

enter image description here

For more information please refer this MICROSOFT DOCUMENTATION .

Solution 2:[2]

Thank you for helping me to resolve this issue.

It is correct.

az webapp up --location AustraliaEast --name learmingapp --html

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 Jennie