Questions tagged [azure-application-settings]

29 questions
4
votes
0 answers

C#-Where to use log4net setting with azure function app?

I'am working with azure functions,in order to log exception details to application insight from Azure functions, I was logging messages by using TelemetryClient() object along with instrumentation key like below Example: var telemetryClient = new…
2
votes
1 answer

Serilog Expressions output template newline in Azure Function app

I have just added the Serilog Expressions package to my Azure Function App, so that I could use the ability to shorten the SourceContext down to just the class name (which works beautifully btw). The function app has its config parameters stored in…
2
votes
1 answer

Azure App Service (Node) CORS origins won't work no matter where I add them

The Azure CORS settings doesn't seem to work at all unless I specify * any and all requests will return "has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status." I've added…
SebastianG
  • 8,563
  • 8
  • 47
  • 111
2
votes
1 answer

Node app in Azure App Service npm install timeout even for single packages no matter what, extremely unreliable

I have a standard Azure App Service and I'm trying to run a node rest api from it. I've had nothing but troubles from the very start. Going into kudu to check what node versions are supported, the only supported node version listed is…
1
vote
1 answer

Where to store complex configurations for an Azure Functions app?

I already know about the Azure App Configuration for storing application configurations such as connection strings for my Azure apps. However, I am now working on an Azure Functions app where I have to store a more complex configuration for my…
1
vote
1 answer

Backup APP registration settings in Azure

I have a question about an APP registration/recovery: We have an App that uses Graph and EWS Microsoft 365 APIs. Customers can use our tenant registration but once we have distributed the app, we are concerned about losing/damaging the AppID in…
1
vote
2 answers

Programmatically add application setting to azure functions

I need to programmatically add new application settings to azure functions without having to add it manually from the azure portal every time I introduce a new setting. Is there any nuget package or some tool which i can use to automate this? The…
1
vote
1 answer

Azure App Service application settings reverted when updating container image

I have a web app hosted in Azure with a linux container with image stored in azure container registry. The web app is working fine and I have a couple of Application settings configured. One of the settings is : WEBSITES_ENABLE_APP_SERVICE_STORAGE…
1
vote
1 answer

Semicolon in password in azure function application setting connection string value

Bonjour Ive created a azure function which does not work in the Azure Portal. The problem is that the password of the connnection string value contains a semicolon. It works great locally when using '{Password}' in local.settings. This does not…
1
vote
1 answer

finding which web job is logging what in application logging

I have setup a single Webapp with two webjobs. Both of them are pointing to the same blob container for logging. How are you supposed to tell which webjob is logging what? For instance, on startup this is what the log file looks like with both jobs…
Joe Ruder
  • 2,122
  • 2
  • 23
  • 52
1
vote
1 answer

Single Connection String with different user permissions in Azure App Service

I have a web app in azure. My solution is something below: MyApp.Web MyApp.WebjobTasks MyApp.WebjobAnotherTask The webjobs are part of the web application. They all share the same Data layer to access data by Entity Framework and in Azure portal…
akd
  • 6,538
  • 16
  • 70
  • 112
0
votes
3 answers

ConnectionStrings from Azure Application Settings is returning null string on

I am trying to retrieve a connection string stored in Application Settings, Connection strings in Azure for my web application. The application works fine run locally, but when I publish to Azure the call to AddAzureAppConfiguration throws saying…
0
votes
0 answers

Web Deploy does not work with Azure Application Gateway V2

Since Web Deploy uses NTLM as auth method, and NTLM is not supported by Azure Application Gateway V2, we cannot publish an app using Web Deploy against Azure Application Gateway V2. If we use V1, it works fine, but Microsoft says that V1 is…
kokokok
  • 1,030
  • 1
  • 9
  • 26
0
votes
1 answer

Azure Application Gateway backend settings is somehow being overwritten. I changed it from 30 to 900 before and now it is back to 30

In order to make my application specific tasks avoid timeout errors, inside AKS cluster, I have changed the backend settings of my azure application gateway "Request time-out (seconds)" from 30 to 900. However, it reverts back to be 30 when I check…
0
votes
1 answer

Make azure function to read the connection string from Azure key vault after published into azure portal not from application settings

I want the azure functions to use the connection string that is stored in azure key vault, not from application settings in azure portal. I have stored the secret in azure portal and fetching it using the below code in Startup.cs file, but it is not…
1
2