1,208 questions with Azure Static Web Apps tags

Sort by: Updated
0 answers

Intermittent 404 with Static Web App Using Custom Domain with Alias Record Set in Azure DNS Zone

I am experiencing intermittent 404 errors when trying to access a Static Web App via a custom domain. Accessing the Static Web App using the *.azurestaticapps.net domain or a subdomain of our domain works fine, but accessing it via the root domain only…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-08-12T22:29:03.3733333+00:00
PINT Services 0 Reputation points
1 answer

Host html files as they appear dynamically

Hi. I have a service where i build several dashboards, each being a folder with its own html and css and corresponding index.html. These dashboard folders and created many times a day. I would like to host these on an azure app somehow. I also would like…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-07-16T09:25:57.3866667+00:00
Henrik Brøgger 0 Reputation points
answered 2025-08-12T09:29:18.4733333+00:00
Vishvani Jilukara 5 Reputation points Microsoft External Staff Moderator
1 answer

Can't create Static Web App – region not allowed in Azure for Students

I'm using an Azure for Students subscription and trying to deploy a Static Web App. This service is only supported in a few regions (e.g., westeurope, eastus2), but my policy only allows regions like israelcentral, polandcentral, etc. Is it possible to…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-07-29T07:58:12.4566667+00:00
Eyal 0 Reputation points
commented 2025-08-12T08:34:17.2266667+00:00
Vimal Lalani 170 Reputation points Microsoft External Staff Moderator
1 answer

Azure Static Web App Certificate Renewal Failing to Verify External Provider (Cloudflare DNS)

Cloudflare is currently both our domain registrar and DNS provider for several domains used as custom subdomains with Azure Static Web Apps. About one year ago, we configured 3 Azure Static Web Apps to use custom domains. Based on Microsoft’s…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-08-07T20:39:11.37+00:00
Daniel-4204 105 Reputation points
commented 2025-08-11T16:57:39.6333333+00:00
Siva Nair 345 Reputation points Microsoft External Staff Moderator
0 answers

custom authentication (static web app) its not working

Error enabling custom authentication (static web app + Blazor WASM) Two errors occur: 1 - The "/.auth/me" API doesn't return a JSON file, but rather my HTML page (with some error). 2 - When trying to log in (.auth/login/google), it finds…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-08-09T10:05:51.6133333+00:00
Dhiogo Acioli 0 Reputation points
edited a comment 2025-08-11T13:57:11.7833333+00:00
Vimal Lalani 170 Reputation points Microsoft External Staff Moderator
0 answers

Azure Front Door returns 403 Forbidden when routing to Azure Static Web App (Standard tier) but works with Free tier

I'm using Azure Front Door (Standard) to route traffic to two Azure Static Web Apps (SWAs) that run the same statically exported Next.js code (next export). ✅ When routed to SWA A (Free tier), it works fine. ❌ When routed to SWA B (Standard tier), I…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-07-26T11:02:16.61+00:00
Ayo Adesina 0 Reputation points
commented 2025-08-11T06:52:29.27+00:00
Srikanth Reddy Bandi 90 Reputation points Microsoft External Staff Moderator
0 answers

Why is cold starts for managed functions in Azure Static Web App so much slower than "bring your own" functions?

We observe cold starts for managed functions in an Azure Static Web App to be very slow. When deploying the same function app to a dedicated Function App instead and linking it to the Static Web App, cold starts are much quicker. First requests when cold…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
6,024 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-01-08T14:35:42.3833333+00:00
Roger Sæle 36 Reputation points
commented 2025-08-07T03:14:31.22+00:00
James 5 Reputation points
2 answers

How can I host a shared Blazor Custom Elements app on a different Domain?

I tried to publish a Blazor app with custom elements on a Static Web App and reference it from another deployed app. Just added the necessary script tags pointing to the static web app. It does not work. Looking into the blazor.webassembly.js…

Developer technologies | .NET | Blazor
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2023-03-27T18:06:00.6133333+00:00
László Tóth 0 Reputation points
commented 2025-08-06T16:13:30.65+00:00
Bruce (SqlWork.com) 79,101 Reputation points Volunteer Moderator
1 answer

App Service stuck in AdminDisabled state (whitewallet)

Hello, My App Service whitewallet in resource group dev-whitecoin-horizon is stuck in an AdminDisabled state. Subscription: 2bcb9b19-4d01-4c87-9e62-09b2aec06d28 (Pay-As-You-Go, Enabled) CLI: az webapp show returns "AdminDisabled" Trying to…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-07-27T16:58:33.02+00:00
elizabeth white 0 Reputation points
answered 2025-08-06T04:32:35.34+00:00
Srikanth Reddy Bandi 90 Reputation points Microsoft External Staff Moderator
0 answers

Blazor App not direct routing

I updated my routes and staticwebapp.config.json to allow routes to get handled by blazor: "routes": [ { "route": "/api/*", "allowedRoles": ["anonymous"] }, { …

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-08-03T21:23:46.6133333+00:00
Muneeb Akhter 0 Reputation points
edited a comment 2025-08-05T08:27:48.28+00:00
Vimal Lalani 170 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

I am unable to delet the VNET due to app service link integration and and also app service i deleted already due that now vnet is not getting deleted as it have integration with deleted app service.

I am unable to delete the VNET due to app service link integration and and also app service i deleted already due that now vnet is not getting deleted as it have integration with deleted app service.

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-07-31T04:47:34.7533333+00:00
GUPTA SONALI BHARAT BHARATI 20 Reputation points
accepted 2025-08-05T04:56:13.6266667+00:00
GUPTA SONALI BHARAT BHARATI 20 Reputation points
1 answer

Web application redirects from http to https with 307 when HSTS is implemented in config file

Hello, I am hosting a webservice through Azure front door. I have implemented routing rule to redirect http request to https with 301 redirect type. My application also uses HSTS header in web config file. Every time, I enter http request in url, the…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-07-24T11:07:03.21+00:00
Gangurde, Dilip 0 Reputation points
answered 2025-08-04T05:57:19.48+00:00
Srikanth Reddy Bandi 90 Reputation points Microsoft External Staff Moderator
0 answers

NextJS static web app fetching contents from Google Sheets, kind of headless CMS

NextJS static web app fetching contents from Google Sheets, kind of headless CMS but the contents fetched from sheets are blank. I use env method. tried adding this to environmental variable in app configuration and Github secrets but still the same. …

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-08-02T05:12:59.6566667+00:00
Thomas John 0 Reputation points
commented 2025-08-04T02:36:03.4866667+00:00
Bhargavi Naragani 7,525 Reputation points Microsoft External Staff Moderator
1 answer

Custom Domain creation on Azure for static webpage is running since 48 hrs

I have tried to setup a custom domain for my static webpage 48 hrs ago. The request is still validating & didn't finish yet. It hasn't thrown any error & there are no further details on the static webpage. The create page shows the status as…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-07-24T05:37:54.79+00:00
Duggirala, Anand 0 Reputation points
answered 2025-08-04T01:38:38.84+00:00
Srikanth Reddy Bandi 90 Reputation points Microsoft External Staff Moderator
1 answer

The SSH Tool under Development Tools fails in Chrome Browser but works in Safari

When I use the SSH tool under Development Tools in Azure Web Apps, or use the default App Domain link in webapp Overview such as xxxx.eastus2-01.azurewebsites.net, I get the following message: This site can’t provide a secure…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-07-30T16:49:30.6933333+00:00
Dhananjay Agarwal 20 Reputation points
commented 2025-08-03T15:47:44.6966667+00:00
Divyesh Govaerdhanan 8,345 Reputation points
1 answer

How to successfully create a static web app using Terraform apply?

I have a terraform configuration file that defines a azurerm_static_web_app. When I apply this template, the resource is created and I can successfully deploy a SWA; however, the the console seems to get stuck and the process never seems to finish. I…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-07-31T14:46:47.0366667+00:00
Steven Bruce 0 Reputation points
answered 2025-08-01T12:41:55.67+00:00
Siva Nair 345 Reputation points Microsoft External Staff Moderator
1 answer

server.mjs react vite app will not render react only index.html works fine locally

running node 20 with vite and react build works but when serving i am getting an error on my main.jsx file where it encounters the first jsx statement specifically `return (` ```` <div >` the error message is **Uncaught SyntaxError:…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-08-01T10:57:47.6266667+00:00
James Reilly 0 Reputation points
answered 2025-08-01T10:57:47.9866667+00:00
Q&A Assist
1 answer

I added environment variables but still my website is not getting loaded

I added some environment variables but my website is not getting loaded https://lemon-stone-0a3e2d81e.1.azurestaticapps.net/

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-07-28T07:41:59.3166667+00:00
Tooba Nawaz 0 Reputation points
answered 2025-07-31T12:30:32.5033333+00:00
Vishvani Jilukara 5 Reputation points Microsoft External Staff Moderator
0 answers

Abort error with microsoft mysql

Hi Experts, I need some help. I am currently using the azure webapp and the azure sql database. Current the webapp is on B3 and the database is on standard with 10 DTUs and 2GB space each. The thing is that my metrics such as cpu and data io did not…

Azure SQL Database
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2024-04-02T03:43:14.4133333+00:00
Toh Yi Cheng 25 Reputation points
edited a comment 2025-07-31T11:15:52.6633333+00:00
RNareddy 2,505 Reputation points Microsoft External Staff Moderator
1 answer

I've Tried EVERYTHING. Why Won't My Azure Static Web Apps, Vite Env Variables Work

I've been deploying my Vite React project to Azure Static Web Apps using GitHub Actions, but the environment variables (VITE_LOGIN_API_URL, VITE_REGISTRATION_API_URL) are completely missing in the deployed app (import.meta.env.VITE_LOGIN_API_URL is…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,208 questions
asked 2025-05-04T15:16:37.6166667+00:00
Minjin Park 0 Reputation points Student Ambassador
edited an answer 2025-07-31T07:54:40.0266667+00:00
Bhargavi Naragani 7,525 Reputation points Microsoft External Staff Moderator