#199 Unclear error when TENANT_ID environment variable is missing
Drafted PR #200 · 1 file · branch maintainer/fix-199
Cost
$1.05
Runtime
3m 32s
Input
2.1M
Output
10.5k
Agent timeline
- #0triagerclaude-sonnet-4-6succeeded<$0.011.6k in / 274 out
bug / medium / scoped / fixable=true
0 tool calls · 0 steps · stop: end_turn
- #1fixerclaude-sonnet-4-6succeeded$1.042.1M in / 10.2k out
draft PR #200 (1 files)
42 tool calls · 78 steps · stop: end_turn
Triage verdict
- Type
- bug
- Severity
- medium
- Scope
- scoped
- Reproducible
- yes
When the TENANT_ID environment variable (or CLIENT_ID / CLIENT_SECRET) is missing, IntuneBrew.ps1 throws a generic PowerShell parameter-binding error instead of a human-readable message identifying the missing variable and directing the user to setup documentation.
Next: Add an explicit environment variable validation block near the top of IntuneBrew.ps1 that checks for TENANT_ID, CLIENT_ID, and CLIENT_SECRET, prints a named error message with a README link for any missing variable, and calls exit cleanly before the script reaches parameter binding.