Open o-l-a-v opened 2 years ago
I get the same issue running Windows 11 21H2 and MSAL.PS v4.37.0.0
getting the same results when connecting to the same clientid.
DEBUG: Using Application with ClientId [d1ddf0e4-d672-4dae-b554-9d5bdfd93547] and RedirectUri [https://login.microsoftonline.com/common/oauth2/nativeclient] from cache. DEBUG: Aquiring Token for Application with ClientId [d1ddf0e4-d672-4dae-b554-9d5bdfd93547]
it gets stuck on acquiring token and then the below after CTRL+C.
DEBUG: Canceling Token Acquisition for Application with ClientId [d1ddf0e4-d672-4dae-b554-9d5bdfd93547]
works fine on a regular PS console
MSAL.PS\Get-MsalToken -ClientId 'd1ddf0e4-d672-4dae-b554-9d5bdfd93547' -DeviceCode
gives no output in PowerShell ISE terminal, but it does in regular Windows PowerShell 5.1 and 7.1 from MS Store. Is it a known issue/ intended?README does not mention this, and I found no GitHub issues on the subject.
Running Windows 10 21H1 (19043.1165) and MSAL.PS v4.35.1.3.
Screenshots
PowerShell ISE
PowerShell 5.1 terminal
PowerShell 7.1 from MS Store