Skip to content

Commit 4ffe00d

Browse files
Document known issues with Azure Container Apps
Added a section on known issues with Azure Container Apps, detailing problems with updating environment variables and container configurations, along with workarounds using Azure CLI.
1 parent c33e5de commit 4ffe00d

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

docs/DeploymentGuide.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,3 +612,43 @@ To debug the MCP server by adding the following launch.json entry:
612612
]
613613
}
614614
```
615+
## Known Issues
616+
617+
**Unable to update/add environment variables in Azure Container App**
618+
619+
You may encounter issues when attempting to modify environment variables or container configuration in Azure Container Apps:
620+
621+
**Affected Scenarios:**
622+
- **App Authentication Setup:** When adding authentication-related environment variables (CRUD operations on env variables)
623+
- **Container Configuration:** When trying to edit ACR name, image, or tag information for Container Apps
624+
625+
**Root Cause:**
626+
This is an ongoing issue in Azure that affects the Azure Portal's ability to update Container Apps configurations.
627+
628+
**Workaround - Use Azure CLI:**
629+
630+
Until this issue is resolved, use Azure CLI commands to add or update environment variables and container configurations:
631+
632+
**For Environment Variables:**
633+
```bash
634+
# Update environment variables
635+
az containerapp update \
636+
--name <container-app-name> \
637+
--resource-group <resource-group-name> \
638+
--set-env-vars "KEY1=value1" "KEY2=value2"
639+
```
640+
641+
**For Container Image Updates:**
642+
```bash
643+
# Update container image
644+
az containerapp update \
645+
--name <container-app-name> \
646+
--resource-group <resource-group-name> \
647+
--image <registry>/<image>:<tag>
648+
```
649+
650+
📖 **Detailed CLI Documentation:**
651+
- [Manage environment variables](https://learn.microsoft.com/en-us/azure/container-apps/environment-variables?tabs=cli)
652+
- [Manage revisions](https://learn.microsoft.com/en-us/azure/container-apps/revisions-manage?tabs=bash)
653+
654+
> **Note:** This is a temporary workaround. The documentation will be updated once the Azure Portal issue is resolved.

0 commit comments

Comments
 (0)