I want to create a new azure web app based on a container image. To do this, i used the New-AzWebApp cmdlet, but i tried the make it work and to find out what was wrong today, at the end it seems the problem is the cmdlet itself.
The cmd New-AzWebApp is not throwing error, the web app is created, but the web app is created in a strange way, and is actually not pulling the container image i set.
As you can see the web app properties is here correct. Image information, publishing model. If i go to the logs, i can see the app is pulling the image i specified and not another one.
Issue script & Debug output
not relevant you can reproduce it
Environment data
PSVersion 7.4.5
PSEdition Core
GitCommitId 7.4.5
OS Microsoft Windows 10.0.22631
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Description
I want to create a new azure web app based on a container image. To do this, i used the New-AzWebApp cmdlet, but i tried the make it work and to find out what was wrong today, at the end it seems the problem is the cmdlet itself.
The cmd New-AzWebApp is not throwing error, the web app is created, but the web app is created in a strange way, and is actually not pulling the container image i set.
Here is the pwsh cmdlet i am using
Here is the details of the created web app
If i configure the logs, i can see that it does not pull the correct image at all.
Then i gave a try using the Azure CLI by running the same cmd
As you can see the web app properties is here correct. Image information, publishing model. If i go to the logs, i can see the app is pulling the image i specified and not another one.
Issue script & Debug output
Environment data
Module versions
Error output
No response