Skip to content

Interactive login doesn't work in PowerShell 7+ #249

@igoravl

Description

@igoravl

When using an interactive connection (e.g. Connect-TfsTeamProjectCollection -Interactive) in a PowerShell Core (7+) terminal, TfsCmdlets returns the following message:

Connect-TfsTeamProjectCollection: A window handle must be configured. See https://aka.ms/msal-net-wam#parent-window-handles

Windows PowerShell, on the other hand, working as expected - a dialog is shown to help with logging in. Even Ubuntu (in WSL) works a treat, by opening a Linux browser to handle interactive logins.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions