skip to Main Content

StackOverFlow Exception from WebJobsBuilderExtensions while running Azure function locally

I have written Azure function which is throwing StackOverFlow Exception in the below code from class WebJobsBuilderExtensions in the namespace ` Microsoft.Azure.WebJobs services.TryAddEnumerable(ServiceDescriptor.Singleton<IHostedService, JobHostService>()); Here is my Startup class [assembly: WebJobsStartup(typeof(Startup))] namespace FuncApp { public class Startup : IWebJobsStartup {…

VIEW QUESTION

How to assign Global Administrator role to a Service Principal in Azure?

I can assign the owner role to a service principal # Assign Owner Permission to the Service Principal resource "azurerm_role_assignment" "sp-tenant-global-admin-role-assignment" { scope = "subscriptions/${data.azurerm_client_config.current.subscription_id}" role_definition_name = "Owner" principal_id = azuread_service_principal.sp-tenant-global-admin.object_id } However, I want to assign the Global Administrator…

VIEW QUESTION

Getting a Connection String from Azure App Config via Configuration.GetConnectionString()

Is there a special way to define a Key Value setting for ConnectionStrings in Azure App Configuration? I have tried using: ConnectionStrings:DatabaseKeyName ConnectionStringsDatabaseKeyName Using the standard builder.Configuration.GetConnectionString("DatabaseKeyName") always results in a null value. Using builder.Configuration["ConnectionStrings:DatabaseKeyName"] also results in null, however…

VIEW QUESTION
Back To Top
Search