Questions tagged [azure-static-web-app]
340 questions
2
votes
0 answers
Failed to launch Table API (Table Bound Functions) in Azure Static App
I'm exploring Azure Static App with dotnet API (Functions) as a Backend.
Unfortunately, my functions are failing to start, probably due to a configuration issue. I have a couple of functions that are bound to Table Storage.
…

xakpc
- 1,709
- 13
- 27
2
votes
1 answer
How to delete Azure Static Web App branch preview environments when deleting source branch in Azure DevOps?
Background
I am using Azure DevOps for hosting the source of my web application and building/deploying the application to an Azure Static Web App.
I am using the "branch preview environments" of Static Web App like this (source):
steps:
...
-…

Markus Schulte
- 4,171
- 3
- 47
- 58
2
votes
0 answers
Azure StaticWebApps and behavior of dotEnv to get environment variables
Hi I created a basic project using Azure static web apps and added 2 env files in it ".env" and ".env.production".
I observed all the new Azure staticwebapps were being started in "production environment" by default.
So let's say theres a key…

Rusty
- 4,138
- 3
- 37
- 45
2
votes
1 answer
Removing a custom domain from an Azure Static Web App
I'm trying to delete two custom domains from my Azure Static Web App. I'm getting notifications saying that the custom domains have been deleted.
But they still are stuck in the list view as Deleting.
Tried to delete several times but still they…

Magnus Wallström
- 1,469
- 4
- 15
- 23
2
votes
1 answer
Custom domains for preview environments in Azure Static Web Apps?
On Azure Static Web Apps, you get 10 staging environments with a pro plan, and you can set these up to have stable URLs per-branch.
I've got a few branches like this (eg. stage, dev, etc.) that I'd like to be subdomains on our default domain.…

gbanks
- 433
- 1
- 5
- 14
2
votes
0 answers
Azure Static Web App with Managed Functions cannot find module
I have a monorepo that contains 5 packages in total:
frontend
backend
library 1
library 2
library 3
The backend uses the libraries. Whenever I emulate the SWA everything works fine but whenever I deploy the application, I get the error:
Exception…

Ensar Ishakoglu
- 133
- 6
2
votes
1 answer
When creating an Azure Static Web App with Azure Devops no Organization is visible
My Azure Devops organization is linked to my Azure Subscription but in Azure Portal, when I try to create a Static Web App using an Azure DevOps source repository, the dropdowns are empty.
I imagine this has something to do with permissions or…

ivInMtl
- 151
- 1
- 6
2
votes
0 answers
End-to-end testing of Static Web App behind EasyAuth?
I have an Angular webapp hosted in Static Web Apps and running behind EasyAuth with an AAD provider. I'm looking for suggestions and best practices as to how to do end-to-end testing as I'm struggling with the authentication. I want to setup a…

Matt Immer
- 327
- 1
- 13
2
votes
0 answers
Azure static web app is showing an old (cached) version
When I navigate to my Azure static web app using Chrome I'm suddenly seeing an old version from months ago. It seems that several others have had this issue over the years (e.g. here), but I couldn't find any definitive solution anywhere.
Things…

stoicalpirate
- 250
- 3
- 12
2
votes
2 answers
How to get Azure AD access token in Static Web App?
I have a vanilla Vue.JS SWA that uses a standard Azure AD authentication via these settings in staticwebapp.config.json:
"auth": {
"identityProviders": {
"azureActiveDirectory": {
"registration": {
"openIdIssuer":…

dmbuk
- 21
- 3
2
votes
1 answer
How to get status of Azure durable functions when the function app is linked to a static web application?
I have Azure durable functions app which is linked to a Azure static web app.
I'm able to orchestrate function app through http trigger but I'm unable to access status url statusQueryGetUri
I'm getting following error,
{"code":400,"message":"Login…

kanna
- 1,412
- 1
- 15
- 33
2
votes
1 answer
How to configure Role Management in azure Static web app
I am trying to set up authentication in my azure static web app through google. I am able to configure a custom tole management and that is assigning a role to the user.
But those users who log in don't show up in the role management tab of the…

user2862320
- 41
- 4
2
votes
1 answer
How to use Azure App Services domain for Static Web Apps?
I have an Azure App Services instance, which by default goes to https://myappservice.azurewebsites.net (not actually mine, but it's the same format). It's not a bad domain and a lot better than the sporadic randomized domains from Static Web Apps…

notacorn
- 3,526
- 4
- 30
- 60
2
votes
1 answer
Page refresh error on static website in react
I made a static website application in React. localhost is working. but when I upload it to the server, I get a page not found error when I refresh the page on pages other than the home page. What is the solution?

mutlu
- 67
- 4
2
votes
1 answer
Does skip_deploy_on_missing_secrets work in static web app pipeline?
I would like to only build my static web app and not deploy it. I saw there is a env setting "skip_deploy_on_missing_secrets' but after setting that in the pipeline it just gets ignored and the pipeline fails with error saying the deployment token…

K Deman
- 41
- 2