Questions tagged [azure-static-web-app]

340 questions
0
votes
1 answer

azure static web apps, managed api (functions): create a signal or alert from function?

Is it possible to create an azure monitoring alert or at least a signal which I can use under "Application Insights => Monitoring => Alerts => Create Alert Rule => Select a Signal"? Is there a way to define a custom signal type? Maybe create a…
metanoia
  • 21
  • 3
0
votes
0 answers

How do I apply Managed Identities to deploy Bicep files by using GitHub Actions?

The title says it all. Microsoft documentation suggests to use Managed Identities but lacks explanation on how to create them and apply one of these to using GitHub Actions. ref: https://github.com/MicrosoftDocs/azure-docs/issues/97499
AxD
  • 2,714
  • 3
  • 31
  • 53
0
votes
3 answers

azure Static Web App: Cannot Activate Application Insights Although App Contains callable API

I created a static web app (basically just a few HTML files) and added an API. Both work fine: I can access the web app (https://icy-tree-xyz.1.azurestaticapps.net), and I can successfully call the API…
0
votes
1 answer

Separate CI/CD Workflow Yml for Staging and Prod without Merging for an Azure hosted Static Web App

I'm trying to have separate environment variables, in this case, API strings for the staging and prod branches of my front end SPA. REACT_APP_APIURL="somethingsomething.com" They are defined within .env files: .env.production .env.staging I've…
klau
  • 67
  • 1
  • 9
0
votes
1 answer

How do I add a custom domain with 'on other DNS' option to a static web app with Azure CLi

I would like to add a custom domain that is managed by AWS to my Azure Static Web App. Microsoft documentation shows how to add one if the DNS is managed by Azure itself. Sadly, I cannot find anything for my use case. To be more clear, the function…
0
votes
1 answer

Azure staticwebapp not allowing to add config with "&" in value using Azure CLI in terminal

I am using Azure CLI to use the azure. I am trying to create a staticwebapp and later try to add the configuration from CLI. I tried to run this az staticwebapp appsettings set -n appname --setting-names…
Anirudha Gupta
  • 9,073
  • 9
  • 54
  • 79
0
votes
1 answer

static web app auto generated url extraction with CLI

Is there a command I can use in Azure CLI to pull the auto generated URL Azure provides when a static web app is created? I need it for automation purposes as at the moment the pipeline needs manual intervention to obtain it. I have searched and…
0
votes
1 answer

Problem while deploying Azure static web app (Blazor)

I wanted to publish my Blazor client side to Azure static web app with following locations: app_location: "src/Client/Project.Client.Web" api_location: "" output_location: "wwwroot" and I received an error: Failed to find a default file in the app…
Kebechet
  • 1,461
  • 15
  • 31
0
votes
1 answer

Authenticating a Vue 2 Azure Static Web App Locally Against Auth0

I am researching the feasibility of porting an existing Vue 2 app to be an Azure Static Web App (SWA). A requirement is the ability to run the Vue app locally and authenticate against our Auth0 tenant to retrieve a access/bearer token to send along…
Ryan Buening
  • 1,559
  • 2
  • 22
  • 60
0
votes
0 answers

Azure ADB2C Claims in an Azure Static Web App

I am a little stumped on getting claims to pass from Azure AD B2C to my Static Web App. According to this page. All I need to do is go to Application claims, choose the ones I want and click on save. I have all of them checked. I registered an…
Sean W.
  • 863
  • 5
  • 14
0
votes
1 answer

Nextjs application on Azure static web app routing issue

I have build an Nextjs application which display data from database through an API. The data should be displayed as folder structures. If a row in database is marked as folder then it should be displayed as folder otherwise it should be displayed as…
0
votes
1 answer

Blazor Azure Static Web App not executing Javascript

I'm using a little bit of Javascript in my Blazor app to do some light work. Everything works fine on my local computer. When I publish to my Azure Static Web App, the Javascript does not execute. Here is the error message. Refused to execute script…
Dumber_Texan2
  • 840
  • 2
  • 12
  • 34
0
votes
1 answer

Azure CDN Caching Index.html

I have a custom domain pointing to a static webside using Azure CDN. After a deployment my website was no longer showing up. This was because and old version of index.html was being served from the CDN itself. I fixed it by purging the CDN manually,…
Xander
  • 9,069
  • 14
  • 70
  • 129
0
votes
1 answer

Use same Azure AD authentication between Static Web App and App Service

I have an Azure Static Web App setup that is configured with an Azure Active Directory authentication. I have registered an app in the Azure Active Directory for this purpose. This is 100% working. I now have an Azure App Service that houses a Flask…
0
votes
1 answer

How to change url of swagger.json on Azure Static Web App

I have an Azure Static Web app which is using an existing azure function as its API as per This all worked ok, but if I try to view the swagger UI. i.e. /api/swagger/ui#/ on the static web app domain, it tries to load the swagger.json file from the…
Tim Griffiths
  • 934
  • 11
  • 24