azd auth status JSON reports authentication validity
Introduced 2026-03-26 · score 0.91
HOW TO USE IT
When an agent workflow needs to validate Azure Developer CLI authentication from JSON, run `azd auth status --output json`; in version 1.23.13, it exits non-zero when unauthenticated and includes `expiresOn` in the JSON output.
azd auth status --output jsonWHY THIS HELPS
Validate azd authentication status in an agent workflow that consumes JSON output.
REQUIREMENTS AND LIMITATIONS
- Version: 1.23.13
- --output json: Requests JSON output. The official reference lists `azd auth status` but does not document this flag; its JSON behavior is stated in the 1.23.13 release note.
FIRST-PARTY EVIDENCE
Check the installed version and the source before using it. Entry JSON