Skip to main content

Questions tagged [azure-webapps]

Azure App Service Web Apps (or just Web Apps) is a service for hosting web applications, REST APIs, and mobile back-ends. There are many supported languages such as .NET, .NET Core, Java, Ruby, Node.js, PHP, or Python. Applications run and scale with ease on either Windows-based or Linux-based environments.

azure-webapps
Filter by
Sorted by
Tagged with
34 votes
6 answers
27k views

What is the difference between "Azure Web app" and "Azure App Service"?

I'm quite new to Azure, trying to learn how to explore what are the possibilities of publishing a website on azure, to be a bit more at ease to do the the AZ-204. On the azure dashboard, I can create &...
J4N's user avatar
  • 20.2k
29 votes
5 answers
19k views

Deployed angular app to Azure web app - But showing the default Azure page

I created a Web App in Azure to host an angular application. I selected the runtime as bellow: But my local setup details: Node version: v13.0.1 Angular version: 8.2.11 I used Anguler cli to ...
Roshane Kekuluthotuwage's user avatar
19 votes
5 answers
39k views

"Key vault reference error" in azure web app configuration setting

I have a private certificate that was generated by azure for a web app for linux containers. I want to pass this value to my .net core app via the web app configuration settings in the the azure ...
J King's user avatar
  • 4,356
18 votes
1 answer
12k views

Run async code during startup in a ASP.Net Core application

After changing the signature of the function ConfigureServices to be asynchronous (originally it was just a void synchronous function and the application worked perfectly fine), I get the following ...
Henry Zhu's user avatar
  • 2,578
17 votes
3 answers
29k views

Changing the target framework in an Azure web app

I would like to publish an ASP.NET Core 2.1 website to Azure using an Azure Web App to host it. When creating the Azure Web App on the Azure portal, one of the settings is "Runtime Stack". In this ...
Gary's user avatar
  • 1,825
16 votes
8 answers
31k views

deployment Failed with Error: Package deployment using ZIP Deploy failed. Refer logs for more details

I am trying to deploy my code to azure app service using git. But I am getting error "deployment Failed with Error: Package deployment using ZIP Deploy failed. Refer logs for more details". ...
Muhammad Faizan's user avatar
12 votes
4 answers
4k views

How to deal with naked domains when using azure managed certificates

I'm trying to use the recently announced (in preview) managed certificates for Azure app service. One of the limitations is that you can't get one for naked domains. eg.: you can get one for www....
Thomas Woelfer's user avatar
12 votes
4 answers
12k views

Deploy web app to Azure but still showing Microsoft page instead

I'm trying to deploy my web app to Microsoft Azure and everything goes fine in visual studio. But when it launches it shows: Hey, App Service developers! Your app service is up and running. ...
Peter's user avatar
  • 123
11 votes
1 answer
6k views

Azure Web App + Node.js + Azure AD = Error 431

I created a Node.js based web application, running in an Azure Web App, that I wanted to put behind an Azure Active Directory authentication. After activating "App Service Authentication", the login ...
Dirk Songür's user avatar
9 votes
1 answer
8k views

Azure webapp: Stack settings

I can set my stack for a webapp through the portal: I deploy my infra through an ARM template: "apiVersion": "2015-08-01", "type": "Microsoft.Web/sites", "name": "[variables('name')]", "...
mslot's user avatar
  • 5,176
8 votes
3 answers
5k views

Azure Cli How to enable Application Insights for webapp

Consider the following code. It creates an application insight, then it retrieves the instrumentationkey and assigns it to my webapp. az monitor app-insights component create -g $resourceGroup --...
Sam's user avatar
  • 14.4k
7 votes
3 answers
8k views

Azure ad app - Updating manifest programmatically

I am trying to find a way to update an Azure Ad registered app's manifest via powershell, utilizing a json file. The Json file contains all of the app roles, and i would like to simple inject the App ...
Gvazzana's user avatar
  • 603
7 votes
2 answers
6k views

Azure Portal doesn't see DevOps organization [account problems?]

I'm having trouble connecting my Azure Web App to my Azure DevOps organization. I somehow managed to do it for one Web App (by selecting creating a new 'DevOps Project') but now struggle at setting a ...
Lucas's user avatar
  • 93
7 votes
1 answer
203 views

ASP.NET WebApp in Azure using lots of CPU

We have a long running ASP.NET WebApp in Azure which has no real endpoints exposed – it serves a single functional purpose primarily reading and manipulating database data, effectively a batched, ...
ChrisB_WR's user avatar
6 votes
6 answers
13k views

Error while Deploy Azure App Service : ERROR_COULD_NOT_CONNECT_TO_REMOTESVC

I am getting below error while deploying app service via Azure DevOps. I tried to search for this issue but could not found root cause of this. Error : 2021-03-15T06:01:27.7479723Z ##[error]Error: ...
ctor's user avatar
  • 308
6 votes
2 answers
3k views

How do I get Shiny-server to working with Azure Active Directory

I am using Azure Webapps for Containers to host an R Shiny-Server. I want to use Azure Active Directory to authenticate and authorize the user logging into the app. I am using the rocker/shiny image ...
Kasper Christensen's user avatar
6 votes
1 answer
10k views

How to redirect requests to a different web app hosted via Azure App Service

I have two web apps hosted via Azure Web Services, with the URL https://example1.azurewebsites.net and https://example2.azurewebsites.net respectively. What I am looking at is that I'd like to ...
woodykiddy's user avatar
  • 6,365
6 votes
1 answer
1k views

How to dynamically update configuration property in YAML file using node.js application

I want to update the attribute dynamically in YAML configuration file using node.js application. I have my secrets configured in KeyVault and it has been referenced in App Service configuration. I ...
simbu94's user avatar
  • 1,012
5 votes
3 answers
5k views

ARM template Azure Web App - How do you specify Stack Settings (.NET, .NET Core,...)?

In ARM template for Azure Web App, how do you specify the stack settings for the app (.NET, .NET Core, PHP, ...)? I cannot see any field for it. Thank you
Bertrand Pons's user avatar
5 votes
4 answers
6k views

netFrameworkVersion in Azure App Services Api App

I'm configuring a api app in azure with bicep. This is a dotnet core 3.1 app. For netFrameworkVersion i provide 'v3.1', this however doesn't work. The deployment of the Bicep template does work, but ...
Amateur's user avatar
  • 347
5 votes
2 answers
4k views

what is default username password for Azure WebApp MySQL in App

Created WebApp with MySQL in App, but tried clicking on Manage un MySQL in APP blade, prompt for username and password. Is there default username and password or where can i find the credentials.
Sreedhar's user avatar
  • 29.8k
5 votes
3 answers
3k views

SSL error in .NET Core 3 Linux app on azure

I've published a .NET Core 3 (preview 9) to Azure Web app running on linux. Unfortunately the app won't start and logs show this error: System.InvalidOperationException: Unable to configure HTTPS ...
Enn's user avatar
  • 2,189
5 votes
1 answer
11k views

Rare AADSTS7000215 error from Microsoft (Invalid client secret is provided)

Sometimes on trying to obtain token on: login.microsoftonline.com/common/oauth2/v2.0/token I receive the error: AADSTS7000215: Invalid client secret is provided I am sure that client_secret is ...
Mykola Shved's user avatar
5 votes
0 answers
154 views

Random failure on .net mvc 5 on Azure on dll already in use

We are using App Plans to run web apps (Windows). Lately, some of our apps (randomly) crashes with a message similar to the one below. It can be deployed for a short while or days, there is no ...
Philippe's user avatar
5 votes
2 answers
10k views

ARM Template deployment failed BadRequest

I am deploying ARM templates (Web Apps) via Azure DevOps (ARM Template Deployment) task in resource group. While executing deployment below error is coming : ##[section]Starting: ARM Template ...
ctor's user avatar
  • 308
4 votes
1 answer
14k views

For an Azure App service with a managed identity, how to retrieve the Client ID

How can I retrieve the client id of an Azure Web App (or App Service, generally) for a system-assigned identity? In the identity blade, I only see object id. I need this to enable AAD service to ...
user648931's user avatar
4 votes
2 answers
4k views

Linux flavor and version on my Azure WebApp for linux

I am trying to host my .Net core MVC 2.1 linux application in azure WebApp. How do i know the Linux flavour, O/S, version running on WebApp? I am selecting 'West US' as region. I think this is ...
knowdotnet's user avatar
4 votes
2 answers
5k views

Change web app .NET framework version with ARM template

I'm updating an existing web app to .NET 5. There is an ARM template that describes the web app configuration. In the ARM template I have added "netFrameworkVersion": "v5.0", ...
RasmusW's user avatar
  • 3,446
4 votes
0 answers
2k views

System.Drawing is not supported on this platform on Azure Function

I have read the following answer. It states that App Service sandboxing has some restrictions Win32k.sys (User32/GDI32) Restrictions For the sake of radical attack surface area reduction, the ...
Murdock's user avatar
  • 4,522
3 votes
1 answer
13k views

Azure Linux web app: change OpenSSL default security level?

In my Azure Linux web app, I'm trying to perform an API call to an external provider, with a certificate. That call fails, while it's working fine when deploying the same code on a Windows app service ...
Métoule's user avatar
  • 14.1k
3 votes
1 answer
818 views

Unable to access Video file from Azure web app

I Have an Angular application which is hosted in azure web app. I want to access video file by requesting url like https://something.azurewebsites.net/htmldelivery/assets/videos/test.mp4 But I was ...
Pramod Lawate's user avatar
3 votes
1 answer
2k views

How to deploy a file outside wwwroot directory in Azure Web App using Azure DevOps Release Pipelines

I have a web application hosted in Azure and some files are in the wwwroot folder. I have others outside of wwwroot, actually in a directory called components at the same level. So far I have been ...
Julen's user avatar
  • 1,594
3 votes
2 answers
6k views

What is the purpose of the "Allow" option of the client certificate mode in an Azure App Service?

I'm trying to secure my Azure Web Application by adding a .pfx certificate. In Azure portal I've added my pfx file: App Service -> TLS/SSL settings -> Private Key Certificates (.pfx) -> ...
SuperPoney's user avatar
3 votes
2 answers
3k views

Trouble with URL rewrite using Vue Router HTML5 History Mode on Azure Web App

I serve a Vue SPA from an Azure Web App. There is no server side logic (or none relevant to this problem anyway). I am using Vue Router in HTML5 history mode. It works really well. The only problem ...
Tor Haugen's user avatar
  • 19.6k
3 votes
2 answers
2k views

ASP.Net Core - Application Insights - Stack Trace

I'm setting up a pretty simple ASP.Net Core (2.2) MVC Web App. I want to be able to see any application errors (500s) and what caused them so it seems like Application Insights is the place to look. ...
Mike Smith's user avatar
3 votes
2 answers
2k views

Kestrel address binding errors in azure app service

I have an aspnet core 2.2 app which looks like this: return WebHost.CreateDefaultBuilder(args) .ConfigureAppConfiguration((builderContext, config) => { var env = builderContext....
devlife's user avatar
  • 15.8k
3 votes
1 answer
624 views

In Azure App Service, should I run one big Dockerfile or docker-compose.yml with separate containers?

When I was learning about Docker I was often told it's the best practice to run technologies in separate containers. For example, if I need nginx and php-fpm for my project, I should create a docker-...
Boring person's user avatar
3 votes
1 answer
3k views

Can I view the console logs of my web app in azure?

I'm deploying a web app in azure using the container registry I created and an auto-generated webhook. And now I want to access the console logs of the webapp container, is this possible?
Roei Rom's user avatar
  • 165
3 votes
2 answers
9k views

How delete all the files that are in Folder in Azure app service using Kudu console

I have a Temp Folder in Azure app service, I need to delete files that are inside it, I use Kudu console to login, the Folder in c:\Home\Mysite\wwwroot\Temp How and with what command I can delete all ...
Alma's user avatar
  • 4,160
3 votes
1 answer
1k views

Is there any way to quickly switch private endpoint on/off?

I have an Azure web app that its inbound traffic is limited to a private endpoint and it has only a private ip. The setup is working well and I have a VM inside the subnet that I can browse my Azure ...
Allan Xu's user avatar
  • 8,812
3 votes
1 answer
139 views

Azure WebJob QueueTrigger execution

I am running multiple simultaneous instances of a QueueTrigger within an Azure webjob. It is a single function, but called multiple times in parallel. My function uses static variables to cache data ...
Tony Cheetham's user avatar
3 votes
1 answer
1k views

Azure WebApp FTP not updating

I've published a web app through FTP in Azure WebApps and it worked fine, but now when I open the FTP client in Windows Explorer and replace the index.html file and restart the web app, my changes are ...
MVZ's user avatar
  • 111
3 votes
0 answers
303 views

Azure App Gateway Never Picks up Renewed SSL Certs from Key Vault Automatically

I am seeing a peculiar problem whereby my Azure Application Gateway never picks up renewed certs from KV. I have KV as a reference in the listener. I upload new Certs in the KV and also change the ...
Pallab's user avatar
  • 2,149
3 votes
0 answers
1k views

Azure web app--> The client has disconnected - An operation was attempted on a nonexistent network connection

Get below error in Azure web app .NET FW -> .NET Core 3.1 Appy type --> MVC Core App Azure web app configuration --> .NET 6 LTS Other config --> 64 bit , integrated pipeline , HTTP 1.1 , ...
Sagar's user avatar
  • 700
3 votes
0 answers
2k views

APIM: Intermittent ClientConnectionFailure at forward-request

Something changed behind the scenes of our Azure infrastructure on 2022-02-10 to start causing hundreds of intermittent "ClientConnectionFailure at forward-request" errors per day and we ...
kratka's user avatar
  • 144
3 votes
0 answers
1k views

How to deploy shiny apps in Azure Webapps for container?

I am trying to deploy the standard R shiny example app in an Azure Webapp for Containers. I am using Azure container registry. I have managed to deploy the app but the plots are not showing when I ...
Kasper Christensen's user avatar
3 votes
1 answer
465 views

Handling database changes with Azure deployment slot

I’m currently configuring an environment for a web site. As I’m using azure, I’d like to use deployment slots in order to ensure that users won’t get any downtime. While I understand the goal of ...
ssougnez's user avatar
  • 5,647
3 votes
1 answer
457 views

Azure WebApps Deploy with Jenkins

I'm ripping my hair trying to publish a .Net app to Azure WebApps using Jenkins. Following this guide, I get stuck with the following error: P:\Scripts\Azure\PublishProfiles\my.PublishSettings(1,1): ...
Johan's user avatar
  • 5,013
3 votes
0 answers
552 views

Why does azure console write "Bad request"? (First app on nodejs in Azure)

I was trying run app on node.js in Azure, but something wrong. What i did Create web-app in Azure and deploy code from repository of bitbucket. https://bitbucket.org/devsnice/nodemysql After i'm ...
Borisov Semen's user avatar
3 votes
0 answers
161 views

build fail error while I'm trying to deploy my application in eclipse using azure

I'm trying to deploy my application in to azure using eclipse but I'm getting build fail C:\Users\miracle\workspace13\helloworld_onAzure\package.xml:156: Azure SDK v2.4 or later is not installed after
Kheerthi imandi's user avatar

1
2 3 4 5
13