Steps to reproduce:
Run azd deploy
Exact output:
(✓) Done: Deploying service echo-agent-responses-streaming
- Agent endpoint: https://...
ERROR: failed invoking event handlers for 'postdeploy'
agent identity RBAC setup failed: failed to discover agent identity:
AzureDeveloperCLICredential: please run "azd auth login"
Impact: Deploy reports (✓) Done before the hook runs. Agent is silently broken. Expected: Pre-flight auth check before deploy, and mark RBAC hook failure as a blocking error:
RBAC setup failed. Run: azd auth login && azd deploy
Steps to reproduce:
Run azd deploy
Exact output:
(✓) Done: Deploying service echo-agent-responses-streaming
ERROR: failed invoking event handlers for 'postdeploy'
agent identity RBAC setup failed: failed to discover agent identity:
AzureDeveloperCLICredential: please run "azd auth login"
Impact: Deploy reports (✓) Done before the hook runs. Agent is silently broken. Expected: Pre-flight auth check before deploy, and mark RBAC hook failure as a blocking error:
RBAC setup failed. Run: azd auth login && azd deploy