TfsCmdlets
TfsCmdlets copied to clipboard
Interactive login doesn't work in PowerShell 7+
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.