TfsCmdlets icon indicating copy to clipboard operation
TfsCmdlets copied to clipboard

Interactive login doesn't work in PowerShell 7+

Open igoravl opened this issue 7 months ago • 0 comments

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.

igoravl avatar Jun 17 '25 21:06 igoravl