1,295 questions with Azure Static Web Apps tags

Sort by: Updated
1 answer

Azure Static Web Apps + Vite: JS served as text/html (MIME type wrong)

I am deploying a Vite + React application to Azure Static Web Apps using GitHub Actions. The deployment completes successfully, but when I open the site I get a blank page. The browser DevTools shows this error: Failed to load module script: Expected a…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-12-01T06:29:47.27+00:00
Damion Barrett 0 Reputation points
edited a comment 2025-12-05T05:53:03.66+00:00
Praneeth Maddali 2,265 Reputation points Microsoft External Staff Moderator
2 answers

Azure SWA giving HTTP 500 Internal Server Error

This morning one of our Azure SWA started giving us internal server errors. This is on the main environment, all the preview environments on the same SWA still work. We did not do any deployments this morning prior to this happening. We have tried…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-11-12T08:17:23.5466667+00:00
Benjamin Hubert 20 Reputation points
answered 2025-12-04T17:20:58.9533333+00:00
Shree Hima Bindu Maganti 6,120 Reputation points Microsoft External Staff Moderator
0 answers

Unable to renew App Service Domain for Static Web App: Subscription is not eligible to create an App Service Domain

I currently have a static web app with an App Service Domain that is about to expire. When I try to renew the domain I get an error: Subscription <subscription-id> is not eligible to create an App Service Domain. My subscription plan type is Azure…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-12-03T15:50:43.3966667+00:00
Frederik Baun Hansen 0 Reputation points
commented 2025-12-04T04:48:03.2+00:00
Frederik Baun Hansen 0 Reputation points
1 answer

Orphaned custom domain binding from deleted subscription blocking Static Web Ap

Domain: codewrinkles.com and www.codewrinkles.com Issue: Domain was configured in an Azure subscription that was deleted years ago. Current behavior: New Static Web App shows domain as "Validated" but returns 404 with certificate for…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-12-03T18:57:23.73+00:00
Dan 0 Reputation points
edited the question 2025-12-03T23:20:40.63+00:00
RAMAMURTHY MAKARAPU 1,125 Reputation points Microsoft External Staff Moderator
0 answers

Using internationalised custom domain names on Azure Static Web Apps

Team is working with a number of clients who wish to use internationalised domain names, example [www.mācronincluded.com]. When adding custom domains, both the original and Punycode versions fail to validate. CName redirect also doesn't work due to…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2024-11-18T20:41:12.8866667+00:00
Stephen Ponsford 5 Reputation points
commented 2025-12-03T08:05:37.1833333+00:00
Sorawit Tonpitak 0 Reputation points
1 answer

Can't disable enterprise-grade edge on static web app

Can't disable enterprise-grade edge on static web app the status is showing as disabling and no status update for more than 1 hour now. { "enterpriseGradeCdnStatus": "Disabling" }

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-11-30T08:40:09.64+00:00
Vishnu Priya 0 Reputation points
commented 2025-12-02T13:17:07.28+00:00
RAMAMURTHY MAKARAPU 1,125 Reputation points Microsoft External Staff Moderator
2 answers

Unable to renew App Service Domain for Static Web App: Subscription is not eligible to create an App Service Domain

I currently have a static web app with an App Service Domain that is about to expire. When I try to renew the domain I get an error: Subscription <subscription-id> is not eligible to create an App Service Domain. My subscription plan type is Azure…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-11-30T13:50:59.4733333+00:00
Frederik Baun Hansen 0 Reputation points
commented 2025-12-02T06:32:57.8133333+00:00
Frederik Baun Hansen 0 Reputation points
0 answers

Azure Static Web Apps deploying Vite app fails — JavaScript served as text/html (main.tsx MIME type error)

I am deploying a Vite + React frontend to Azure Static Web Apps using GitHub Actions. The deployment succeeds, but when visiting my site: link removed The browser shows a blank page, and DevTools logs: main.tsx:1 Failed to load module script: Expected a…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-12-01T06:27:38.5233333+00:00
Damion Barrett 0 Reputation points
edited the question 2025-12-01T06:55:32.1033333+00:00
Laura Ciortan 170 Reputation points Admin
1 answer One of the answers was accepted by the question author.

I have upgraded the free subscription to basic pay as you go subscription. After upgrade, the option upgrade subscription is not showing in overview page of subscription.

I have upgraded the free subscription to basic pay as you go subscription. After upgrade, the option upgrade subscription is not showing in overview page of subscription.

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-11-29T14:11:30.74+00:00
Vinoth V S 20 Reputation points
accepted 2025-11-29T14:13:36.53+00:00
Vinoth V S 20 Reputation points
1 answer

StaticWebApp build/deploy job runs successfully but APIs/managed functions are not deployed correctly

I build and deploy my static web app withou error via GitHub actions (workflow and log below). In Azure, the Production environment statis is ready and the webapp/front-end works, but fails/throws error when it calls an API. The APIs/managed functions…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-11-17T21:27:29.8266667+00:00
Kirk Carver 0 Reputation points
commented 2025-11-27T02:31:56.9966667+00:00
Kirk Carver 0 Reputation points
1 answer

GitHub Actions fails for Azure SWA

Hi all I am trying to deploy my Next.js project to Azure SWA, which I had been able to in the past. I was gone for 3 months and now I am having trouble getting the pipeline to work again. I had an error in the deploy phase that read along the lines of…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-11-13T13:43:10.9466667+00:00
Markus Senn 0 Reputation points
commented 2025-11-26T20:30:48.7733333+00:00
Markus Senn 0 Reputation points
2 answers

Nasty Orphaned Azure Tenant lying around locking a custom domain

I signed up to a 365 account when I bought my domain through GoDaddy, and set up an Azure Static Website on it with a custom domain attached. Then I realised that I didnt have enough control over the 365/Entra with GoDaddy, so I deleted the 365 account…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-11-02T21:33:03.7833333+00:00
Richard Rees 0 Reputation points
answered 2025-11-26T16:31:09.7066667+00:00
Shree Hima Bindu Maganti 6,120 Reputation points Microsoft External Staff Moderator
1 answer

Region-service compatibility issue

I cannot create a Static Web App because the allowed regions policy lists regions (spaincentral, centralindia, switzerlandnorth, austriaeast, uaenorth), but Static Web Apps are unavailable in these regions. The portal shows only other regions, preventing…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-11-19T08:49:17.5133333+00:00
linet mbungu 0 Reputation points
commented 2025-11-26T11:53:58.1566667+00:00
Golla Venkata Pavani 165 Reputation points Microsoft External Staff Moderator
1 answer

Unable to delete Custom Domain in my Static Web App

I am unable to delete stardraw.cloud as my custom domain on my Static Web App. The Status is Deleting but has been like this for several days now. I see the resolution of an identical question being Microsoft had to provide a…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-11-03T09:58:27.2433333+00:00
David Snipp 0 Reputation points
commented 2025-11-26T10:09:53.6066667+00:00
Vimal Lalani 2,400 Reputation points Microsoft External Staff Moderator
2 answers

Can't disable enterprise-grade edge on static web app

After the latest FrontDoor incident, we're unable to turn off enterprise-grade edge. I can't create a support ticket for this, I don't know why (I have dev support plan on the subscription). Can somebody help please?

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-11-24T16:17:08.0066667+00:00
Peter Szieben 5 Reputation points
answered 2025-11-24T17:23:35.6433333+00:00
RAMAMURTHY MAKARAPU 1,125 Reputation points Microsoft External Staff Moderator
2 answers

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,295 questions
asked 2025-07-29T07:58:12.4566667+00:00
Eyal 0 Reputation points
answered 2025-11-24T14:48:35.6666667+00:00
SLX 0 Reputation points
2 answers

When setting up a custom domain in static webapp, the alias and cname infomation isn't showing up

I've validated my txt on my DNS but when I go to grab my information nothing shows up in the azure portal. So I can't set up my dns, this is a new problem it was working fine last month.

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-10-30T20:40:14.0666667+00:00
app 0 Reputation points
edited an answer 2025-11-24T06:21:19.2633333+00:00
Golla Venkata Pavani 165 Reputation points Microsoft External Staff Moderator
2 answers

Custom Domain Validation

I have verified my custom domain. Under Actions, this link is displayed: Add a CNAME, ALIAS or A record Clicking on that displays the screen which suggests adding a To finish adding your custom domain, add the following record with your DNS provider…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-11-22T10:53:03.3133333+00:00
Chris Wiles 0 Reputation points
answered 2025-11-23T07:16:50.45+00:00
Praneeth Maddali 2,265 Reputation points Microsoft External Staff Moderator
1 answer

How to use PostgreSQL in Azure web service which has Db integrated

I am using Azure to deploy my Django App which uses PostgreSQL. I am using integrated web App resouce which has Web Services and PostgreSQL in it. but when i am trying to run python manage.py dhshell : it give me error CommandError: You appear not…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-11-01T02:18:12.7366667+00:00
Aishwarya Shukla 0 Reputation points
edited the question 2025-11-19T04:52:07.97+00:00
RAMAMURTHY MAKARAPU 1,125 Reputation points Microsoft External Staff Moderator
2 answers

How to fix the build and deployment error in git hub for static web app

Run Azure/static-web-apps-deploy@v1 with: azure_static_web_apps_api_token: *** repo_token: *** action: upload skip_app_build: true app_location: ChargeUp output_location: dist/ChargeUp/browser /usr/bin/docker run --name…

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,295 questions
asked 2025-11-19T00:07:58.78+00:00
KARTHIK KRISHNAN 0 Reputation points
answered 2025-11-19T00:25:42.08+00:00
Praneeth Maddali 2,265 Reputation points Microsoft External Staff Moderator