Comments (3)
@ganiths Can you describe the impact you're seeing as a result of this?
Based on current implementation, there is a separation that would currently prevent customization of that credential from impacting the setup of the extensions. But even if MI probing were still enabled, the system should fall back and use VisualStudioCredential
already.
from azure-functions-dotnet-worker.
@mattchenderson My local machine is currently sitting behind a proxy that requires authentication. When i try to run the application locally, i am getting 407 proxy authentication error when defaultazurecredentials tries to do managedidentity authentication. After the error, its not proceeding in checking the next set of credentials and hence am unable to run the application locally
My application was initially written using .Net6 in process function app and am currently in the process of migrating to .Net 8 isolated worker and due to this error am unable to proceed further with the migration as we cannot test the application locally
in .Net 6 in process function app, i used to disable the managed identity during webjobstartup. But an equivalent one is missing in isolated worker function app.
public class LocalDevelopmentWebJobsStartup : IWebJobsStartup
{
public void Configure(IWebJobsBuilder builder)
{
var credOptions = new DefaultAzureCredentialOptions();
// For Local devlopment, Exclude managed identity authentication from default azure credentials
// Otherwise it gives 407 Authentication required error
// Also webjobs startup is required only for local development.
var isLocalDevelopmentSetting = Environment.GetEnvironmentVariable("IsLocalDevelopment");
var isConversionSuccess = bool.TryParse(isLocalDevelopmentSetting, out bool isLocalDevelopment);
if (isConversionSuccess && isLocalDevelopment)
{
credOptions.ExcludeManagedIdentityCredential = true;
builder.Services.AddAzureClients(clientBuilder =>
{
clientBuilder.UseCredential(new DefaultAzureCredential(credOptions));
});
}
}
}
from azure-functions-dotnet-worker.
AFAIK The latest Azure Identity packages has some fixes regarding quick failure if it can't get to the MI endpoint
from azure-functions-dotnet-worker.
Related Issues (20)
- Isolated blob trigger function with Identity based connection throws exception
- Document deployment zip structure
- The registration for method 'ConfigureFunctionsWebApplication' is expected for ASP.NET Core Integration.AZFW0014 HOT 6
- Update generators to fix the namespace conflict with customer code
- Modifying serializer causes hang HOT 1
- Host logs `System.Net.Sockets.SocketException` to ApplicationInsights when a HTTP request is canceled by the client
- `NullReferenceException` in `FunctionMetadataProviderGenerator` after upgrading `Microsoft.Azure.Functions.Worker.Sdk` to `1.17.3` HOT 7
- Update FNH to enable prejitting in placeholder mode.
- Docker images for .NET 9 - Core tools
- Improve testing/validation on E2E and sample apps but treating build warnings as errors
- System.Text.Json Vulnerability in WorkerExtensions.csproj HOT 6
- How to turn off Asp.Net Core Integration on Isolated runtime on v4 with .NET 8 HOT 3
- Release Process Enhancement
- Automate release notes process
- How to access ServiceBus session state in isolated process azure functions? HOT 1
- ServiceBusMessageActions not wrapped into Transaction HOT 1
- Failed to start a new language worker for runtime: dotnet-isolated Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.7"
- Regression in `Microsoft.Azure.Functions.Worker.Sdk` version `1.17.4`/`1.17.3` of solution builds using no-incremental HOT 1
- Migrating from .NET 6 in-proc function to .NET 8 isolated produces error in Azure "Error configuring services in an external startup class." HOT 2
- Generated WorkerExtensions.csproj under obj folder causes Component Governance issues HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-functions-dotnet-worker.