You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe the problem.
The current authentication flow kicks you out to your default browser, which is desirable because it allows you to use passkeys and alternate accounts easily. However, after auth the calling script window often gets lost behind a mess of other windows.
Describe the solution you'd like.
Properly leverage SetForegroundWindow and meet the proper conditions to automatically bring the calling powershell window to the front.
This improved UX allows the user to stay in flow state without confusion.
This should work with powershell.exe, pwsh.exe, and windowsterminal.exe