Azure WebApp - Unable to auto-detect the runtime stack of your app

az webapp up
upload html to azure web app
gunicorn azure web app
azure static web apps
creating a static html web app by using azure cloud shell
azure app service static website
deploy website to azure app service
azure webapp create

I'm trying to create Web App which is just having a Static HTML. I'm following this link But when I execute the following command

az webapp up --location westeurope --name .

Got the error - " Could not auto-detect the runtime stack of your app" .

I just tried following the steps mentioned in the documentation. Works for me.

mkdir quickstart
cd quickstart
git clone
cd html-docs-hello-world
az webapp up --location westeurope --name azurewebapptest123

Unable to auto-detect the runtime stack of your app � Issue #43633 , Unable to auto-detect the runtime stack of your app #43633 Content: Create static HTML web app - Azure App Service; Content Source:� When I run 'az webapp up' command, on version 2.0.77 it shows error 'Could not auto-detect the runtime stack of your app'. When I change the version 2.0.75, it shows an error: 'NoneType' object has no attribute 'resource_group' When I change to Edge build, it shows the same error as for version 2.0.77. Padmanaabhah commented on Dec 26, 2019

I have tried the similar steps using the sample repo and was able to reproduce it.

Here is the version:

It's a known bug for Azure CLI 2.0.78 and team is working on it, Which you can track it here:

Work around of this issue is to use the older version of Azure CLi e.g. 2.0.75 * for deploying the solution.

Hope it helps.

No longer working � Issue #44124 � MicrosoftDocs/azure-docs � GitHub, You receive error 'Could not auto-detect the runtime stack of your app, see I was able to repro your scenario and I have reached out to Product team to further az webapp up flag for html static sites Azure/azure-cli#11592. …code detect… () * Forcing az webapp up to create or deploy to an app if the code detection doesn't match the list of supported languages Updating History Adding a TODO Removing exta ' Fixing typo * Updating history Making create ASP support the new set of commands style fix Moving the function app zip deploy logic out of the shared enable_zip deploy since this is regressing the build

I tried the following, but added the --html flag at the end of the az webapp up command to bypass auto detection:

mkdir quickstart
cd quickstart
git clone
cd html-docs-hello-world
az webapp up --location westeurope --name azurewebapptest123 --html

That forces HTML. In the help for the command it implies auto-detection works for a bunch of language, but not for static HTML.

Create a static HTML web app in Azure tutorial error, Ask questionsCreate a static HTML web app in Azure tutorial error. Description I got the error message Could not auto-detect the runtime stack of your app, see metric alert via azure cli. hot 2. `az login` fails due to MFA - azure-cli hot 2. Dismiss Join GitHub today. GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Try to manually include a web.config file and/or select the stack on General Settings:

If you have no backend, the best option to host a static site is through Azure Storage:

How to get the runtime stack of the App Service?(is the app is Java , I want identify the platform in which the deployed web app is developed. Request URL :<subscriptin_id> to the effect of, "The stack used by your Web App was automatically detected to be Python. I can able to get the list of web apps but i want identify the . Then I go to the azure portal and try to change the Stack settings to target Python 3.8 under XXXXXX-blf -> Settings -> Configuration -> General settings -> Stack | Major version / Minor version After clicking save I try to run again the command to update my code

I had the same problem. I solved it by using the flag --html to define explicitly the runtime according to the documentation of the runtime detection.

So, the solution is the following line of code:

az webapp up --location westeurope --name <name> --html

N.B: I used Azure cloud shell.

How to target Azure Functions runtime versions, Azure Functions supports multiple versions of the runtime. If you specify only the major version, the function app is automatically updated to new minor You can change the runtime version used by your function app. such as Node.js version and runtime stack, when you change runtime versions. To upgrade your deployment of Azure App Service on Azure Stack Hub, follow these steps: Download the Azure App Service Installer. Run appservice.exe as an admin. Click Deploy Azure App Service or upgrade to the latest version. Review and accept the Microsoft Software License Terms and then click Next.

Deploying Your Web App using Azure App Service, These practices help us to find bugs, find better approaches towards a solution In this article, we will learn how to deploy website using Azure App Service via Github. Runtime Stack: Select the platform or framework you used to create and run your auto. Most popular in GBlog. 5 Ways to Succeed In Technology Sector� Add an Azure storage account configuration to a web app. (Linux Web Apps and Windows Containers Web Apps Only). az webapp config storage-account delete: Delete a web app's Azure storage account configuration. (Linux Web Apps and Windows Containers Web Apps Only). az webapp config storage-account list: Get a web app's Azure storage account

Everything that went wrong when deploying my Node + Hapi app to , Switch the tech stack to 100% JS/TS with React-rendered views, which was positively and Azure will automatically build and deploy it thanks to continuous integration. All Azure web apps run a background service called Kudu, which ( among all of the Node runtime versions that you can use with your Azure web app. Configure an App Service app in the Azure portal. 08/13/2019; 8 minutes to read +2; In this article. This topic explains how to configure common settings for web apps, mobile back end, or API app using the Azure portal. Configure app settings. In App Service, app settings are variables passed as environment variables to the application code.

Getting Started, From the terminal window, config your web app with Maven Plugin for Azure Web Otherwise, it will get you logged in with azure-maven-plugin automatically. PricingTier : Premium_P1V2 OS : Linux RuntimeStack : JAVA 8-jre8 Deploy to� In Azure App Service, a web app is the compute resource that Azure Stack Hub provides for hosting your app code. Your app can be composed of multiple App Service apps of different kinds. For example, if your app is composed of a web front end and a REST API back end, you can: Deploy both (front end and API) to a single web app.

  • There seems to be a contradiction between the quickstart and the documentation which does not list static html as being supported. You will probably have more luck reporting this in the Feedback section of the Quickstart.
  • I have posted this in the Feedback section. Got to know that It is a known problem. Github link for the reference:
  • Funny thing is, in the section where the app is first updated, the --html flag is included in the command.
  • That is totally right. I wrote my answer and then I saw yours. Your answer should be the solution for this question.
  • Yeah, luckily my web site does not have any back-end. So hosted as static site through the Azure Storage