microsoft / microsoft/work-iq

WAM broker fails with window_handle_required on 3rd auth call in console apps

Open
#71 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
1k
Forks
132
Avg merge
5d 19h
Merged PRs (30d)
6

Description

I wrote a detailed report covering the root cause (3 auth calls, pinned account ID breaks WAM on call 3), repro steps, environment info, all the workarounds we tried, and a suggested fix (fall back to OperatingSystemAccount sentinel when the pinned account gets AccountNotFound).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the issue's repro steps and environment details, then trace the WAM authentication path used by console apps across the three calls. Reproduce the third-call window_handle_required failure and verify that the proposed account fallback allows all three authentication calls to complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
authentication, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.