title: How to activate settings in the web app when deployed as deployment-container-image-name
body: <p>I have deployed a &quot;Container Image&quot; on to Web App Service with the following command.</p>
  <pre><code>az webapp create --name Dev-App --plan Dev-AppServicePlan \
    --resource-group Dev \
    --deployment-container-image-name ...devcontainerregistry.azurecr.io/app-node:latest
  </code></pre>
  <p>After the app was successfully deploment I need to change some Environment variables via the following commands.</p>
  <pre><code>az webapp config appsettings set --name Dev-App --resource-group Dev \
    --settings MONGO_DSN='mongodb://cosmosdb...'
  
  az webapp config appsettings set --name Dev-App --resource-group Dev \
    --settings REDIS_URI='...dev.redis.cache.windows.net:6380...'
  
  az webapp log config --name Dev-App --resource-group Dev \
    --docker-container-logging filesystem
  </code></pre>
  <p>Now I have updated and restarted the Web App but it looks like the Image is not redeployed or at least the Environment variables are not there.</p>
  <pre><code>az webapp update --name Dev-App --resource-group Dev
  az webapp restart --name Dev-App --resource-group Dev
  </code></pre>
  <p>I looked with log tail to the logs but the logs are also not changed. What I mean with &quot;not changed&quot; is that the log output is stucked to the Timestamp &quot;2021-01-13T13:21:31.100Z&quot; even when I restart the Web App.</p>
  <pre><code>az webapp log tail --name Dev-App --resource-group Dev
  </code></pre>
  <p>In this Articles from MS is described that a restart should be enough but then should also the log output should be changed.</p>
  <p><a href="https://docs.microsoft.com/en-us/azure/developer/python/tutorial-deploy-containers-03" rel="nofollow noreferrer">2: Redeploy a container to Azure App Service after making changes</a><br />
  <a href="https://docs.microsoft.com/en-us/azure/app-service/configure-custom-container" rel="nofollow noreferrer">Configure a custom container for Azure App Service</a></p>
  <p>Any hint how to activate the new settings in the custom image setup or trigger a redeployment?</p>
  <p>FYI: I have also created a question in the azure community.
  <a href="https://docs.microsoft.com/en-us/answers/questions/230584/how-to-activate-settings-in-the-web-app-when-deplo.html" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/answers/questions/230584/how-to-activate-settings-in-the-web-app-when-deplo.html</a></p>