Azure / Azure/azure-cli

Cannot exec to Azure Container App using powershell ISE.

Open
#25,887 1 comment 0 reactions 0 assignees View on GitHub
act-observability-squad Auto-Assign Container Instances ContainerApp customer-reported Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

Issue: Cannot exec to container app using powershell ISE.

Description: When trying to connect to azure container app using "az containerapp exec" command from Powershell ISE, 'OSError: [WinError 6]' error messages are displayed and it shows successfully connected to container however, it does not actually give us the interactive connectivity to shell.

The issue is only with Powershell ISE and not with Powershell console.

Command Used: az containerapp exec -n -g --command bash

Error:
Tested with both Container App Internal as well as external environment and the issue is reproducible for both.

![imgpsh_mobile_save](https://user-images.githubusercontent.com/43231180/226363719-4e8a2a07-9e8c-49e1-aa2c-b5507a6f6ade.jpg)

Environment Details:

![image](https://user-images.githubusercontent.com/43231180/226364224-441b4154-3d89-4b06-910f-2576b5469b12.png)

Please tell if this is a known issue with Powershell ISE, is there any mitigation for the same.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.