#DefaultAzureCredential
Blogged: [HOWTO] Run ASP.NET Core integration tests in a Az DevOps YAML pipeline when subject under test uses DefaultAzureCredential

#azdevops #devops #yaml #pipeline #integrationtesting #defaultazurecredential #azurecli #workloadidentityfederation
[HOWTO] Run ASP.NET Core integration tests in a Az DevOps YAML pipeline when subject under test uses DefaultAzureCredential
Last week I struggled (again) running ASP.NET Core integration tests for an ASP.NET Core Web API that uses DefaultAzureCredential in a Azure DevOps YAML pipeline. To avoid having to struggle again, I am writing down my findings here. The initial situation There was an existing ASP.NET Core (.NET 8) Web API project that uses DefaultAzureCredential to connect to an Azure Key Vault.
blog.rufer.be
November 26, 2024 at 9:15 AM
Blogged: automatically reduce DefaultAzureCredential execution time from 10 seconds to 1 and allow Azure CLI credentials to be used in containerized applications for all services orchestrated by .NET Aspire.

anthonysimmon.com/dotnet-aspir...

#dotnet #aspire #dotnetaspire
Better Azure Identity authentication support and performance during local development with .NET Aspire
Automatically reduce DefaultAzureCredential execution time from 10 seconds to 1 and allow Azure CLI credentials to be used in containerized applications for all services orchestrated by .NET Aspire.
anthonysimmon.com
November 26, 2024 at 6:24 PM
May 27, 2026 at 4:41 PM
Setting up Azurite to use HTTPS endpoints means you can use DefaultAzureCredential() to authenticate with Azure Storage instead of faffing about with connection strings, but it needs some setup. Here's how I did it 🧵
November 15, 2024 at 2:48 PM
Out of the box thinking on fixing DefaultAzureCredential!
November 26, 2024 at 6:43 PM
New article alert!

Refreshing DefaultAzureCredential in Visual Studio

Check it out here:

https://buff.ly/3CWFwEk

#Tech
Refreshing DefaultAzureCredential in Visual Studio
This article explains how to refresh the Visual Studio credentials on your development machine to keep your application using some sort of an authentication implementation relying on DefaultAzureCredential...
buff.ly
November 26, 2024 at 10:13 AM
Are you using the Azure Identity SDK's DefaultAzureCredential API? We would love to hear about your experience and learn how we can improve. Please take a few minutes to complete this survey:

aka.ms/azsdk/identi...

#AzureSDK #Entra
Azure Identity SDK DefaultAzureCredential developer experience surveySurveyMonkey logo with text in primary
aka.ms
April 18, 2025 at 5:34 PM
Pulumi Azure Native v3.8 is here 🚀
✔️ Unified auth with 'DefaultAzureCredential'
✔️ Seamless across dev, CI/CD, AKS, VMs
✔️ Private Azure cloud support

Simplify Azure infra with zero config changes 👇
www.pulumi.com/blog/azure-n...
Azure Native 3.8: Unified Credentials and Private Clouds
Pulumi Azure Native v3.8 delivers new credential modes (based on DefaultAzureCredential) and private cloud support (based on ARM_METADATA_HOSTNAME).
www.pulumi.com
September 8, 2025 at 4:43 PM
Discovered a handy hack that allows running scripts in Azure Pipelines which can use new DefaultAzureCredential() in the same way you would locally. Very handy - will blog
July 12, 2025 at 5:02 AM
[HOWTO] Run ASP .NET Core integration tests in a Az DevOps YAML pipeline when subject under test uses DefaultAzureCredential by rufer_13 https://buff.ly/3Z6UBe4 #aspnetcore
November 28, 2024 at 9:44 AM
Managed identity on your local machine? There is the bad actor use case (which is why I don't provide the full code) or if you want to truly test your code. DefaultAzureCredential behaves slightly different.
February 8, 2025 at 12:05 PM
At Nebraska.Code, Scott Sauber shares:

⚡ 10 Azure essentials that actually matter
⚡ Fixing DefaultAzureCredential mistakes
⚡ CI/CD + federated credentials
⚡ Key services you’ll use daily

Shortcut years of learning → real-world impact fast.

www.nebraska-code.com

#Azure #Dev #Cloud #NebraskaCode
May 4, 2026 at 12:42 PM
Dotnet friends. My Google FU is empty and my stackoverflow question has turned up nothing. Why can’t I use DefaultAzureCredential() locally to get an Entra token, simply by being logged into my IDE with Azure CLI? I want devs to do local dev, and then in Azure it will simply use the MI.
December 2, 2024 at 9:32 AM
Azure SDK clients refuse bearer tokens over plain HTTP. If you're capture-replaying Azure SDK calls against a local mock server, your test doubles need AzureKeyCredential, not DefaultAzureCredential - otherwise it's not the mock failing, it's the transport.
July 22, 2026 at 9:02 AM

Explore how to simplify authentication in Azure applications using DefaultAzureCredential. This approach enhances security and streamlines access management across multiple environments.#Azure#Authentication

https://isaacl.dev/gi2
May 7, 2025 at 1:00 PM
Been doing a metric ton of Azure automation with TypeScript and Azure DevOps. If you want DefaultAzureCredential in the pipeline, this is how it's done

johnnyreilly.com/azure-devops...
Azure DevOps: using DefaultAzureCredential in an Azure Pipeline with AzureCLI@2 | johnnyreilly
How to use DefaultAzureCredential in an Azure DevOps pipeline in the same way as you can locally.
johnnyreilly.com
July 18, 2025 at 4:22 PM
💭Claude in Azure, the .NET Way: elbruno.Extensions.AI.Claude v0.1.0-preview.2

elbruno.Extensions.AI.Claude just landed on NuGet with dual authentication support, polished samples, and drop-in compatibility with Microsoft.Extensions.AI. Here's a fast tour so you can start shipping Azure+Claude…
💭Claude in Azure, the .NET Way: elbruno.Extensions.AI.Claude v0.1.0-preview.2
elbruno.Extensions.AI.Claude just landed on NuGet with dual authentication support, polished samples, and drop-in compatibility with Microsoft.Extensions.AI. Here's a fast tour so you can start shipping Azure+Claude powered experiences immediately. Highlights Works with Claude Sonnet 4.5, Haiku 4.5, and Opus 4.1 hosted in Azure AI Foundry Implements IChatClient, so it plugs directly into any Microsoft.Extensions.AI pipeline Supports both DefaultAzureCredential…
elbruno.com
November 21, 2025 at 3:48 PM
AZURE_TOKEN_CREDENTIALS なんて便利なものが!
- azidentity v1.10.0+で、"prod": 開発者ツール認証を除外、"dev": 本番系の認証を除外
- azidentity v1.11.0+: 特定認証を選択、 "AzureCLICredential", "EnvironmentCredential", "ManagedIdentityCredential" 等
learn.microsoft.com/en-us/azure/...
いつの間にこんな実用的に、、、、
Credential chains in the Azure Identity library for Go - Go on Azure
This article describes the DefaultAzureCredential and ChainedTokenCredential classes in the Azure Identity library for Go.
learn.microsoft.com
August 11, 2025 at 10:33 AM
Azure CLI authentication failures

azure/login worked great on GitHub-hosted runners but failed on self-hosted with "DefaultAzureCredential: failed to acquire a token."

Why? GitHub's runners have managed identities. Self-hosted don't. The solution: explicitly provide credentials
November 14, 2025 at 7:37 PM
Well in theory, I have that working even for debug locally when authenticated with azd using DefaultAzureCredential() grabbing a token context of api://guid/api.access so it should work locally using dev account and then work in the app service using the MI
December 2, 2024 at 3:50 PM
DefaultAzureCredential: Troubleshooting Local Development Issues by Jaliya Udagedara #Azure jaliyaudagedara.blogspot.com/2025/12/defa...
DefaultAzureCredential: Troubleshooting Local Development Issues
.NET, ASP.NET Core, Visual Studio, Azure, Jaliya Udagedara
jaliyaudagedara.blogspot.com
December 23, 2025 at 1:05 PM