microsoft / azure-pipelines-agent

Azure Pipelines Agent 🚀
MIT License
1.72k stars 865 forks source link

[BUG]: Errors when accepting auth type in Azure Web Apps for Containers Windows App Service #4210

Closed dsetlock closed 1 year ago

dsetlock commented 1 year ago

What happened?

When attempting to configure the agent in an Web App for Containers Windows App Service, it fails when attempting to choose an authentication type. The error reads:

'Cannot read keys when either application does not have a console or when console input has been redirected. Try Console.Read'

This affects both cmd, and powershell. Installing the agent in -unattended mode may get past the issue but has other issues in my configuration but the log doesn't indicate if it simply timed out, or did not know how to fail gracefully.

Versions

Web App for Containers, Windows Docker Container using mcr.microsoft.com/dotnetframework/sdk:4.8-windowsservercore-ltsc2019, agent vsts-agent-win-x64-2.217.2, and vsts-agent-win-x64-2.210.1 .

Environment type (Please select at least one enviroment where you face this issue)

Azure DevOps Server type

Azure DevOps Server (Please specify exact version in the textbox below)

Azure DevOps Server Version (if applicable)

Azure DevOps Server 2020.1

Operation system

No response

Version controll system

Git

Relevant log output

No response

kirill-ivlev commented 1 year ago

Hi @dsetlock , thanks for reporting! We are working on more prioritized issues at the moment but will get back to this one soon.

github-actions[bot] commented 1 year ago

This issue has had no activity in 180 days. Please comment if it is not actually stale