Static Web App with Managed Function - can't turn off Easy Auth headers
I have created a Static Web App with Managed Functions, and I am using custom Auth by sending a token in the Authorization header. I have turned Easy Auth off in the managed functions by setting this in the staticwebapp.config.json "routes":…
Azure Static Web Apps
login_hint and logout_hint do not work with Azure Static Web App
SWA is created, hosting plan is upgraded to standard. New app registration created with: a new client secret name and value and passed in the auth key of staticwebapp.config.json In Token configuration -> optional claim login_hint is added to ID…
Azure Static Web Apps
Azure Static Web Apps: pass dynamic parameters to ./auth/login?
I use a custom OpenID Connect authentication provider in an Azure Static Web App. My authentication provider supports a "login_hint" URL parameter to populate the user's email address or username. However, I can't figure how to get the SWA to…
Azure Static Web Apps
Azure Static Web App occasionally dies with 504 Front Door Timeout Message, and only comes back after github redeploy.
My static web app occasionally goes completely unresponsive with message 'The service behind this page isn't responding to Azure Front Door.' This error started to occur after months of healthy service. The x-azure-ref ID is:…
Azure Static Web Apps
Custom domain on Azure Static Web App returns 404 despite successful validation
Hi Microsoft Support, I’m hosting a frontend on Azure Static Web Apps. The application works correctly when accessed through the default Azure domain. However, after attaching my custom domain, I consistently receive a 404 Not Found when accessing the…
Azure Static Web Apps
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
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
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 + 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
SWA app stuck with enterprise-grade edge (Disabling in progress)
I have a static web app, that on the Enterprise-grade edge shows: Enable enterprise-grade edge (Disabling in progress) Tried the command-line: az staticwebapp enterprise-edge disable which returns the same message: { …
Azure Static Web Apps
Static Web App Database Connection Issue
I have been using an Azure Static Web App with a DB Connection to an Azure SQL server which it appears is being / has been retired - what do I need to do to get this to continue to work?
Azure Static Web Apps
Don't know how to configure Azure static web for url in "[...]/"
I have a simple static web pages that are delivered by an Azure Static Web App. In the web site, I got relative links that are ending with "[...]/". In the content, files "index.html" are existing. To render such pages I test for…
Azure Static Web Apps
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
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
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 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
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
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
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
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…