654 questions
0
votes
0
answers
92
views
Adding Authorization Middleware to Blazor App causes errors when hosted in IIS
I have a Blazor Server app that requires users to sign in with a Microsoft account (within my company's tenant). I'm trying to further secure it by only allowing users who meet a certain criteria, but ...
0
votes
1
answer
54
views
Azure Web App: Zip deployment fails on zip files created through Powershell
I have a Azure Web App with NodeJS Runtime. I am using the following command to deploy published zip files.
az webapp deploy --resource-group test-rg --name AppName001 --src-path C:\path\to\publish....
0
votes
0
answers
72
views
Azure Bot with single tenant issue- AADSTS700016
Since Azure Bot has deprecated multi-tenant support, we have started updating the configuration and code to work with MS Teams app and Azure Bot in a single-tenant setup. However, whenever we send a ...
0
votes
0
answers
22
views
Deleting a file in Azure Webapp
I am trying to delete a file from the Azure web-app. And I am unable to delete.
I tried the following:
Delete icon in UI from the Advanced Tools
Command prompt in Advanced Tools with Force option
...
-1
votes
1
answer
134
views
Why does my KeepAlive Implementation work in Visual Studio but fails after deployment? [closed]
I have an Azure Web Application that fails with a 500 timeout error during a file download when the threshold of 4 minutes has been exceeded.
Ideally I wanted to use Durable Functions as an ...
0
votes
0
answers
108
views
User ID from Azure Web App authentication
I am working on a webapp which has these:
FastAPI - Backend
Chainlit - Frontend
The chainlit frontend is mounted on the FastAPI backend. He is how it looks in the code:
@app.get("/")
async ...
0
votes
1
answer
126
views
Unable to enable only Entra ID authentication for Azure SQL for app service slot
I have azure web app having system managed identity turned on.
I am trying to add this app(using identity) to the Azure SQL Server
CREATE USER [appname] FROM EXTERNAL PROVIDER;
This works fine but ...
0
votes
1
answer
105
views
Getting Error: Deployment Failed, Error: Failed to get app runtime OS when deploying the Azure Web App
I was trying to deploy an updated tag into my Azure App service
I kept getting the error
Error: Deployment Failed, Error: Failed to get app runtime OS
And I was checking all the solutions that were ...
0
votes
2
answers
266
views
ASP.NET Core Web API on Azure App Service returns 401 Unauthorized when Easy Auth is set to "Require authentication"
I’ve deployed an ASP.NET Core 8 Web API to Azure App Service and I’m securing it using OAuth 2.0 Bearer tokens issued by Azure AD.
Setup:
App Service Authentication (Easy Auth) is enabled.
Identity ...
0
votes
1
answer
196
views
500 Internal Server Error when deploying Next.js app with Clerk to Azure Web App
I'm deploying a Next.js application that uses Clerk for authentication to Azure Web App (Linux). The deployment completes successfully, but when I try to access the site in the browser, I get the ...
-1
votes
1
answer
164
views
Getting error in build step of GitHub Actions while deploying a Node.js application to Azure: No such file or directory
I'm trying to deploy my Node.js application to Azure web app instance. Here are the web app details:
Operating System : Linux
Runtime stack : Node-20-LTS
Here is my code structure on my local ...
0
votes
4
answers
504
views
Issue with azure web app runtime stack .NET 6
I want to create WebApp with .NET 6 Runtime Stack, OS as Windows. But not able to find .NET 6 Version while creating web app.
I tried to fetch Web App Stacks via API.
GET https://management.azure.com/...
0
votes
1
answer
109
views
Azure .NET web app is not connected to Azure SQL Server, but works fine on local
I'm trying to deploy my ASP.NET Web API to Azure.
Long story short - it works on local machine - Azure SQL, but not on the cloud app (HTTP ERROR 500) using the same AZURE_SQL_CONNECTIONSTRING.
Is ...
0
votes
1
answer
43
views
URL with spaces results in 404 in Azure Web App
I have an Azure Web App (php based, but this doesn't matter), with the setup redirecting all requests to index.php, which then handles the request. My web.config has this:
<rewrite>
...
0
votes
1
answer
110
views
Azure Web App fails to start after deployment due to unexpected permission code
After deploying my Python/React app to Azure Web App using ZIP Deploy, the app fails to start with the following error:
ValueError: Permission code orders_justification_read is defined in PERMISSIONS ...
-2
votes
1
answer
124
views
Terraform apparently does not populate ASP.NET Core stack settings for an Azure web app on Linux
I have a terraform script to create an ASP.NET Core 9.0 on Azure using the following snippet:
resource "azurerm_linux_web_app" "webapp" {
name = var....
0
votes
1
answer
35
views
Azure Function called from web app completes, but no response is received
I have an Azure Function which is writing to a storage table; the call completes successfully and responds with:
context.res {
result: 200, body: {}
}
return;
My Azure web app makes the call as
...
-1
votes
1
answer
67
views
Is it possible to check scale up logs
I've an azure app service, then i want to know when someone scaleup or scales down my service plan i want to know who did that.
I've used the below command but didnt get any logs
az monitor activity-...
0
votes
1
answer
89
views
In Azure WebApp (Linux) cannot run .sh file remotely via Azure DevOps Pipelines
I am deploying a PHP/Laraval project in Azure WebApp (Linux PHP 8.3) via a Yaml pipeline.
I am running into an issue, but also have a couple of theoretical questions:
ISSUE: After a complete the CD (...
0
votes
1
answer
85
views
Azure WebApp (Windows) - You do not have permission to view this directory or page
I have simple NodeJS app created by npx express-generator myExpressApp --view ejs following this instruction - https://learn.microsoft.com/en-us/azure/app-service/quickstart-nodejs?tabs=linux&...
0
votes
1
answer
92
views
SelectPDF throwing "Conversion Error - Navigation Timeout" in an Azure web app that's been working for over a year
I have a .net 6.0 webapi app running on azure that's been running fine for well over a year. Just today, SelectPDF started throwing this error on most of my controller methods that call it to convert ...
0
votes
1
answer
502
views
How can I access an azure key vault certificate from a web app or an app service?
I am trying to use RBAC to sync an SSL certificate from an key vault into a web app. I have given the web app the Key Vault Certificate User role but I am still getting this error:
Failed to import ...
0
votes
1
answer
132
views
Assigning web app with keyvault reference does not work via BiCep
When deploying our web app application, we knew that we wanted to import certificates to web app from Key vault. However, we've managed to get a lot of issues along the way and wanted to see if there ...
-1
votes
1
answer
139
views
Azure Web App Health endpoint implementation
I setup an Azure Web App using express.js with TypeScript. It implements a health check endpoint. The auto-scaling feature is enabled for the Web App.
const router = express.Router();
router.get('/...
0
votes
1
answer
115
views
Unable to deploy a Java Web App to Azure (from Github)
My teammate and I are trying to build CI/CD pipelines (separate pipelines), one is to check code, build and publish the maven package to Github, and the other is to deploy the app to Azure (We are ...
0
votes
1
answer
91
views
Is it possible to deploy flet app to Azure app service?
I'm trying to deploy sample flet app to Azure from vs code getting Azure default page. Is it possible deploy flet app to Azure if it is how?
main.py:
import flet as ft
def main(page: ft.Page):
...
-1
votes
1
answer
94
views
Why this code block is unresponsive in azure
Code works on local machine in development environment but not on webapp, in azure.
Initially i was loading a json file from a local directoty... didnt work
now i a fetch json string and convert it ...
0
votes
1
answer
83
views
Azure web app can't pull docker image or times out
My Dockerfile I uplaod to azure container registries or using docker hub times out or has issues pulling the docker file. I'm using Azure web app to run a flask based website. My setup is this. I'm ...
-1
votes
1
answer
47
views
How to Deploy Openlayer app to azure app service windows via vs code?
I'm very new to azure,when i deploying simple openlayer app to azure i am facing below issue
Uncaught TypeError: Failed to resolve module specifier "ol/Map.js". Relative references must ...
0
votes
2
answers
377
views
Unable to deploy out of the box web app ARM template
I'm getting the following issue when attempting to deploy an ARM template with an out of the box web app:
2025-01-15T15:37:52.2594815Z There were errors in your deployment. Error code: ...
1
vote
1
answer
171
views
Getting error running webjobs in Azure Linux app
I'm running a simple Python webjob in an Azure Linux webapp.
I am getting this error
Run script 'webjob.py' with script host - 'PythonScriptHost'
f24041: SYS INFO] Status changed to Running
f24041: ...
-1
votes
1
answer
325
views
FastAPI deployed to an azure web app - getting environments variables
I have deployed a FastAPI application to an azure web app. I would like to access the environment variables from the web app in fast api. Is that possible and if yes or do you do that? Both from azure ...
0
votes
1
answer
97
views
Unable to resolve service for type 'AzureKeyVaultIntegration.AzureKeyVaultHelper' while attempting to activate 'IndexModel'
I have a DLL to fetch the secret from the KeyVault using REST AP.
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace ...
1
vote
2
answers
421
views
Azure routing between different subscriptions - force one, common outbound IP and share Site-to-site (IPSec) defined in Virtual network gateway
So I have 3 Azure subscriptions: Staging, Dev1 and Dev2.
In the Staging I have:
Virtual network with:
defaultSubnet 10.0.0.0/24
GatewaySubnet 10.0.1.0/24
Virtual network gateway with connection Site-...
0
votes
1
answer
64
views
How to integrate a class library in Azure Web App?
I have applications hosted as in Azure app service in a resource group. Similarly, I have various applications hosted in different subscriptions/RGs.
The below code/class library is developed using ....
-1
votes
1
answer
990
views
Azure App Service deployment directly from a ZIP package
We were testing the scenario of directly deploying .zip files to the app services slot and slot swapping.
First we tried to deploy the .zip file to the staging slot and the idea was to swap staging ...
0
votes
2
answers
158
views
Prevent cookie being logged to azure web app linux HTTP logs
I am running a NodeJS application, hosted in a Linux Azure Web App. I have set up diagnostic logs for HTTP Logs to be forwarded to a Log Analytics Workspace and having looked at the logs I can see ...
0
votes
2
answers
933
views
Azure Web App deploy via GitHub Actions triggers unwanted Oryx/OneDeploy build
I'm having issues configuring an automatic deployment for a Python (FastAPI) app to Azure Web App using GitHub Actions. The deployment succeeds, but Azure is automatically triggering an Oryx build and ...
0
votes
1
answer
268
views
Difference between function in Azure web job and Azure Function
I am considering writing a queue-triggered function and find there are two ways, one is that I can create a Azure web job and add queue triggered function in the web job guidance here, another one is ...
0
votes
1
answer
179
views
How to deploy a custom Docker image to an Azure Web App (Linux container) slot
We have a custom docker image based on Python and docker file using port 5000 to expose within the container. Also we have created a private Azure Webapp service based on Linux container in our Spoke ...
-1
votes
1
answer
77
views
Pulling multiple Subnets out of data block and making a locals list fails
I am attempting to create a web app with vnet access restrictions. To do this I need to pass a name (which i'd like to be the subnet, the subnet id, and the priority. I have a list of subnets i ...
0
votes
1
answer
302
views
how can we access the content of mounted blob storage to webapp through webapp url
I have mounted a blob storage to a webapp. When I ssh into webapp it shows me directory of that container and inside that directory I can see files that I have uploaded in the blob storage but I want ...
0
votes
1
answer
292
views
Azure Managed Grafana - how to embed a graph on an WebApp
I am creating a web application to display a graph created in Azure managed Grafana. I am trying to achieve this using the share->Embed option on the graph panel.
It has been challenging. I have ...
0
votes
0
answers
80
views
Django Azure Web App receiving 'Bad Request (400)' when accessed via the custom domain but works with the Azure provide default domain
I am deploying a Django Azure Web App and have added a custom domain that I bought off GoDaddy to it. I have also bound an SSL certificate provided by Azure to it.
When I access the website via the ...
0
votes
0
answers
251
views
Deploy one specific folder from GitHub repo to Azure Web App using Github Actions
I have a GitHub repo that contains a client folder for the front-end and a server folder for the back-end at the root of the repo. We are deploying each of these two folders to their own azure web app ...
0
votes
1
answer
264
views
Workflow displays successful deployment message, but the Azure Web App keeps saying that nothing was deployed
This is the pipeline for my Duende IdentityServer application. It's supposed to build then deploy to an Azure Web App:
name: Build and deploy .NET...
on:
workflow_dispatch
env:
AZURE_WEBAPP_NAME: ...
1
vote
1
answer
254
views
Why isn't logout working in my NextJS app on Asure Static Webapps?
I have a Next.js app using Auth0 for authn/authz. Locally everything works fine (login and logout). However, when I deploy my app on Azure Static Webapps, the login still works but the logout doesn't. ...
2
votes
1
answer
600
views
"Error: Could not find a production build in the './.next' directory" on Azure Web Service when I upload Next.js website via Github actions
I am trying to upload a shell Next.js application onto Azure web services via GitHub Actions but get error.
Error: Could not find a production build in the './.next' directory. Try building your app ...
0
votes
1
answer
214
views
URL Rewrite does not work as expected in Azure WebApp (Windows)
I am trying to use URL Rewrite to rewrite HTTP_HOST and REQUEST URL in Azure WebApp (Windows).
There is an Application Gateway in front of the WebApp, which rewrites the request FQDN.
What I want to ...
0
votes
1
answer
287
views
How to auto-restart Azure web app post deployment through CICD (Bitbucket/ Git)?
I am trying to deploy Spring Boot app to Azure web-app/ app service.
Azure web app changes is not reflecting post deployment of new changes through CICD(bitbucket/ Git). It's reflecting once restarted ...