Posts

Showing posts from April, 2025

KB: Azure ACA Container fails to start (no User Assigned or Delegated Managed Identity found for specified ClientId)

Image
When deploying secure workloads using Azure Container Apps (ACA) , teams often face confusion between User Assigned Managed Identities (UAMI) and App Registrations . While both entities are visible in Azure Active Directory and have similar identifiers (Application ID, Object ID), they serve very different purposes . This confusion can lead to authentication failures when accessing services like Azure App Configuration or Key Vault . A common issue occurs when a container app is configured with a managed identity, but the environment variables or role assignments mistakenly reference an App Registration instead, causing errors like: "No User Assigned or Delegated Managed Identity found for specified ClientId" This article breaks down the difference between UAMI and App Registrations, explains why this issue happens, and outlines the correct approach to resolve it. Symptoms Azure Container App fails to authenticate to Azure App Configuration or other services. Logs...

KB: VS Code + PowerShell (Keep Focus on Editor not Terminal)

Image
 When doing one-line executing/debugging in VS code with PowerShell it is useful to keep the Edit active window after pressing F8.  Also, related: https://superuser.com/questions/1770478/when-debugging-is-there-an-option-to-not-focus-terminal-automatically From the Terminal click on the drop-down menu, select Configure Terminal Settings: Experiment with these settings, and you should achieve the necessary results.