workiq list-agents tries to auth unsuccessfully
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1k
- Forks
- 132
- Avg merge
- 5d 19h
- Merged PRs (30d)
- 6
Description
Using CLI version 0.4.1.19742+d4efecc4df8abb308c4d2cda78313dcc3023cebc
workiq config set experimental=true
workiq list-agents
Fetching list of agents...
I'm already authed and accepted eula. But when I use list-agents command, I'm prompted in browser to login. After logging in on MSIT, I get this error:
Sorry, but we’re having trouble signing you in.
AADSTS50011: The redirect URI 'http://localhost:50969' specified in the request does not match the redirect URIs configured for the application 'd3590ed6-52b3-4102-aeff-aad2292ab01c'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this.
Request Id: d81415ca-ed32-4218-b8ee-f6325e2d2100
Correlation Id: 269d633c-a143-4bae-b7dc-33a0a49bf5b0
Timestamp: 2026-06-02T14:16:04Z
Message: AADSTS50011: The redirect URI 'http://localhost:50969' specified in the request does not match the redirect URIs configured for the application 'd3590ed6-52b3-4102-aeff-aad2292ab01c'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with CLI version 0.4.1.19742+d4efecc4df8abb308c4d2cda78313dcc3023cebc by enabling experimental mode and running workiq list-agents while already authenticated. Trace the list-agents authentication flow and the localhost:50969 redirect; done means the command lists agents without the AADSTS50011 redirect URI error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, powershell
- Domain
- authentication, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100