Questions tagged [azure-static-web-app]

340 questions
26
votes
1 answer

Is there a way to view files in Azure Static Web App?

Is there a way to view the files uploaded to Azure Static Web App using Azure Portal? I need to check few items. I can see the file in my DevOps Repo but want to confirm it is located in the correct folder structure in Azure Static Web App. Please…
Harini Vedala
  • 281
  • 3
  • 6
23
votes
4 answers

What is the difference between Azure Static Web App and Azure blob storage static website?

What is the difference between Azure blob storage static website and Azure Static Web Apps
12
votes
3 answers

Azure Static App Route configuration with React Router

I am attempting to configure a static app on azure and am struggling to route correctly. When I navigate to /lti/login/ within the app it works fine. But if I refresh it throws a 404, which tells me that my routes.json isn't setup correctly (maybe).…
Snoopy
  • 1,257
  • 2
  • 19
  • 32
10
votes
3 answers

Change the URL of a Azure Static Web App from the randomly generated name

I created a Azure Static Web App in Azure. The process saved a workflow file in the Github repository and created a URL https://nice-beach-0253b8b10.azurestaticapps.net. How can I change this URL?
wonderful world
  • 10,969
  • 20
  • 97
  • 194
8
votes
1 answer

Azure Front door caching VS Azure CDN for blob storage

This is regarding usage of Azure Front Door caching and Azure CDN. I have a Azure static website that will displaying the data (mainly office files and videos) from Azure blob storage. The files in blob storage will rarely change. I am looking for…
8
votes
0 answers

Deploying Next.js to Azure SWA with serverless functions

I'm trying to deploy a Next.js Static Web App to Azure, that uses serverless functions for API routes (Auth, SSR, etc). I followed this guide: https://learn.microsoft.com/en-us/azure/static-web-apps/deploy-nextjs. There's a general guide for adding…
7
votes
0 answers

Logout seems to not invalidate session in Azure Static Web Apps

I created a static Web site using Azure Static Web Apps (under the Free plan for now -- not sure if that's relevant to the issue at hand.) I can access the Web site through an ***.azurestaticapps.net URL. I then tried to test Azure Active Directory…
Jim Blanc
  • 73
  • 3
7
votes
2 answers

Azure static web apps not loading page resources correctly. css or javascript files

UPDATE 3 Sorry I put this update here, but I did a good discovery. Read Below under the title Original Qestion to review what I have done. After everything related below I realized something with the cache was happening. However, I also notice that…
Ricker Silva
  • 1,137
  • 4
  • 17
  • 37
7
votes
1 answer

Deeper analytics for Azure Static Web Apps?

Is it possible to access analytics such as browser, dates and times of site hits, IP addresses, etc.? From the docs here, it looks like Azure App Insights are only available for Static Web Apps that use Azure Functions. I just have a static website,…
6
votes
0 answers

Where does Azure store Deployment tokens, such as ${{ secrets.GITHUB_TOKEN }}?

I have a Github Action to deploy my static web app to Azure. On the Build and Deploy step it fails with deployment_token was not provided. Below is my workflow yml file. I've changed secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_scrubbed in the file I…
6
votes
1 answer

This Static Web App has the maximum number of staging environments

When setting up Azure Static Web Apps and using Github workflow, sometimes pull-request builds will fail. The error is: "This Static Web App already has the maximum number of staging environments". Here's an excerpt from the Github Workflow build…
Coreus
  • 5,360
  • 3
  • 35
  • 50
5
votes
0 answers

Deploying a Turborepo Next.js App to Azure Static Web App

I'm attempting to deploy a Next.js site in a Turborepo monorepo to an Azure Static Web App using GitHub actions and a custom build step. The Next.js site is configured to use a standalone output, but otherwise follows preset configurations. The…
Weston Sankey
  • 301
  • 4
  • 18
5
votes
2 answers

Redirect Azure Static Web App from naked domain to www

I have set up an Azure Static Web App with a custom domain. Both example.com and www.example.com are correctly set up and working. I would now like to create some rule in staticwebapp.config.json so all requests coming in to https://example.com/*…
5
votes
1 answer

azure static web "Oryx built the app folder but was unable to determine the location of the app artifacts. Please specify the app artifact location"

I have a simple index.html in github. I created a static web app in azure and pointed it to git hub. It ran some sort of build pipeline and my page was live without problem. Now I added some more pages, but when I push to git, the static web app…
John Little
  • 10,707
  • 19
  • 86
  • 158
5
votes
0 answers

How to authenticate Azure APIM when using Azure Static Web Apps?

I have a Vue site hosted on Azure Static Web Apps. It does not utilize the supported API endpoint via Azure Functions. Our backend APIs are hosted on App Service instead and they are often put in a VNET that peers to ExpressRoute to access…
1
2 3
22 23