Interview Prep/Azure/Network Connectivity Errors

A VM can't reach `169.254.169.254` (IMDS) and managed identity calls fail.

IntermediateTroubleshootingNetwork Connectivity Errors
Answer

Likely causes → A proxy setting intercepts it (missing NO_PROXY=169.254.169.254), guest firewall, or a custom route in the guest OS.

Diagnose →

curl -s -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2021-02-01" | head -c 200
env | grep -i proxy

Fix → Add IMDS to NO_PROXY, fix guest firewall/routes.

Prevent → Include IMDS exclusions in proxy configuration standards.

Azure All Azure questions Roadmap: Azure core services

More on Network Connectivity Errors