@@ -257,44 +257,3 @@ To help you get started, here's the [Sample Workflow](./SampleWorkflow.md) you c
257257 provisioned using `azd provision` or `azd up`, a `.env` file is automatically generated in the `.azure/<env-name>/.env`
258258 file. To get your `<env-name>` run `azd env list` to see which env is default.
2592595. Ensure that `APP_ENV` is set to "**dev**" in your `.env` file.
260-
261- ## Known Issues
262-
263- **Unable to update/add environment variables in Azure Container App**
264-
265- You may encounter issues when attempting to modify environment variables or container configuration in Azure Container Apps:
266-
267- **Affected Scenarios:**
268- - **App Authentication Setup:** When adding authentication-related environment variables (CRUD operations on env variables)
269- - **Container Configuration:** When trying to edit ACR name, image, or tag information for Container Apps
270-
271- **Root Cause:**
272- This is an ongoing issue in Azure that affects the Azure Portal' s ability to update Container Apps configurations.
273-
274- ** Workaround - Use Azure CLI:**
275-
276- Until this issue is resolved, use Azure CLI commands to add or update environment variables and container configurations:
277-
278- ** For Environment Variables:**
279- ` ` ` bash
280- # Update environment variables
281- az containerapp update \
282- --name < container-app-name> \
283- --resource-group < resource-group-name> \
284- --set-env-vars " KEY1=value1" " KEY2=value2"
285- ` ` `
286-
287- ** For Container Image Updates:**
288- ` ` ` bash
289- # Update container image
290- az containerapp update \
291- --name < container-app-name> \
292- --resource-group < resource-group-name> \
293- --image < registry> /< image> :< tag>
294- ` ` `
295-
296- 📖 ** Detailed CLI Documentation:**
297- - [Manage environment variables](https://learn.microsoft.com/en-us/azure/container-apps/environment-variables? tabs=cli)
298- - [Manage revisions](https://learn.microsoft.com/en-us/azure/container-apps/revisions-manage? tabs=bash)
299-
300- > ** Note:** This is a temporary workaround. The documentation will be updated once the Azure Portal issue is resolved.
0 commit comments