I just noticed in my app services on azure, there is no longer a "Container Settings" link. Does anyone know where we are supposed to configure the container image, etc. now?
It's now part of the Deployment center blade:
However, if you're also deploying your webapp via an Azure pipeline, that information can be overridden with the pipeline information, which can hide the container settings.
I've opened a issue on Github: https://github.com/MicrosoftDocs/azure-docs/issues/86094
While deploying the app service you will be having an option to deploy it on container
And then you need to fill the details(Docker/container registry) and deploy your app. once you deploy you can see the details in configuration options under settings tab.
Related
I have a portal account, and a devlops account. Both happen to use the same login/password.
In the portal.azure.com, I have a working web service.
Under the web services "deployment-Deployment center" I select azure repos, azure pipelines as the build provider, set master branch etc.
It created a pipeline in my devlops which worked, i.e. it did NuGet restore, build solution, test assemblies, publish symbols path, publish artifact.
Great.
But it did not deploy the new build.
Clicking on "releases" in pipleines in devops, it was trying to use "Azure web app deploy" and giving an error that msbuild doesnt use the right format or similar. So I changed it to "Azure App Service Deploy".
Now I get a new error: Error: 'credentials' cannot be null.
There is no field for credentials.
It is using a publish profile.
Any ideas how I fix this?
here is the offending task:
There is no option to configure the missing credentials?
If I go to portal, and look at the "Deployment center", I see this:
If I click on "deployment credentials" I see this:
Which all looks good.
Any idea where the "null" credentials comes from?
Have you tried adding a new service connection in Project Settings and selecting Service Connections there? Even updating the Service connection created by Azure Portal threw an error for me.
In my case the issue was I did not have proper access rights to allow the connection between my pipeline and the Azure App. I was listed as a Contributor on the subscription. I contacted our company Devops and she updated the service connection without any issues because she was listed as an Owner or User Access Administrator.
Use "Azure Web App" task instead. Create a service connection using the publish profile route then use it within the task. Make sure you tick off "Deploy to Slot or App Service Environment" and it should work.
Have a read on this. They updated the services. You need to follow the Action Required.
Unable to configure Azure Web App Service to work with Github since the Deployment Option is disappeared
I am current following "Visualize real-time sensor data from your Azure IoT hub by using the Web Apps feature of Azure App Service" (https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-live-data-visualization-in-web-apps) to visualize IoT Hub Data. When I get to 'Upload a web application to be hosted by the web app', it instructs me to configure to work with Github. By going into the web app, click Deployment Options > Choose Source > Local Git Repository, and then click OK. However, I can not find the Deployment Option under Deployment. Any idea if there is some option that needs to turn on.
See the screenshot https://drive.google.com/file/d/1K5JQrTz60D_jaCdZihZKI3N67z9kV-i6/view?usp=sharing
The portal has changed, you can find the Local Git Repository under Deployment Center.
When I create a web app for containers, then the deployment options are disabled in the Azure portal. The option is enabled if I create a regular web app and another type of resources. For web app for containers, the options was working fine till a few days back and I have no idea what triggered it to become disabled. My subscription is active and clearing browser cache, switching browsers, working with different container images, deleting and recreating resource groups, and login/logout do not help. Any suggestions?
The "Enable Deployment Options within Web App for Containers in the portal" feature was requested on feedback.azure.com and declined.
Q. Currently "Deployment Options" is only available for Web App for Windows/Linux. It would be nice if this was enabled for Web App for Containers...so I lost the simple ability to deploy from BitBucket.
A. The App Service team responded: We are declining this request since we actually discourage customers to deploy this way and recommend deployment with Container Push. That being said, there is nothing stopping you from configuring this through CLI.
To do this from the CLI, you could use this command:
az webapp deployment source config -n appname -g resourcegroupname --repo-url <gitrepo url> --branch <branch>
See Manage Web App for Containers using Azure CLI for more details.
I have created Azure Web App which OS is Docker and reproduced your issue.
From the screenshot , we can find the issue may caused by App Service Plan. I have tried to use all tiers of plan, including Isolated, but the issue is still existing. Also, for regular web app, not have the issue.
I find some updates on Azure App Service. I am not sure if the issue was caused by the updates, I recommend you to contact App Service Support Team for help.
The customer support team resolved the problem and cited "platform issue" as the cause of the problem. Now deployment options for container web apps is enabled and working again.
I'm having an issue with Azure Container Registry CI with my Azure Web App for Containers. It seems that the web hook between them has broken.
I've tried turning the CI within the Docker settings on the Web App however this fails and also tried creating a web hook from the Azure Container Registry however it says my container registry isn't managed but doesn't give me the option to upgrade it to one.
Webhooks are not available in the classic SKU and you need to migrate for this. For CI you need to enable a webhook with the publishing creds which can call into the App service scm endpoint which can restart and repull.
When we deploy our App Service from Visual Studio 2015 to Azure we tag the current commit in Git so that we can get back to any of our past deployments.
But I suspect that we forgot to do that when we deployed our current ASP API.
Using the Azure portal how do I tell when the deployment running in one of our app service's deployment slots was made?
Maybe try using kudu: https://[webappname].scm.azurewebsites.net/ - you can see file timestamps in the console.
If you are use classic portal, you can find the deployment history list in the DEPLOYMENTS tab of your app service application. And you can click one of them, click the REDEPLOY button at the bottom nav bar to rollback to the specific deployment version.
If you are using Azure portal, you also can find the deployment history, by clicking deployment source => selecting the specific deployment version=>click redeploy button to rollback.
By clicking you service you can go to All Settings --> Audit Logs. There you can filter by 'Update website'