microsoft / microsoft/terminal
Windows Terminal Fails to Open Browser Window for Authentication
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
1.23.20211.0
### Windows build number
10.0.26200.0
### Other Software
PowerShell 7.5.4
ExchangeOnlineManagement 3.9.2
### Steps to reproduce
1. Open a PowerShell 7 session in Windows Terminal.
2. Connect to Exchange Online with:
`Connect-ExchangeOnline -UserPrincipalName user@domain`
### Expected Behavior
When connection to Exchange Online a browser window should open to complete the authentication and then continue the connection.
### Actual Behavior
If I try and authenticate while connecting to Exchange Online using Windows Terminal and PowerShell 7, I get an error message because it fails to open a browser window to complete the authentication. If I use PowerShell 5, authentication succeeds.
Contributor guide
Research direction
Start by reproducing `Connect-ExchangeOnline -UserPrincipalName user@domain` in PowerShell 7.5.4 inside Windows Terminal 1.23.20211.0, then compare the same authentication flow in PowerShell 5. Done means the browser window opens and the Exchange Online connection completes successfully in PowerShell 7.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- authentication, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100