I am trying to publish my product on Azure marketplaces.
I am using windows 2012 R2 Datacenter that I use to create a VM from portal.azure.com
. I followed steps of running a sysprep, generalizing it and then creating containers.
After that when we run save-azurermvmimage
to capture image, I get the capture action is only supported on a virtual machine with blob based disks. please use the image resource apis to create an image from a managed virtual machine
So I am not able to get the image url in container. Is there anything I am doing wrong?
Please guide!
@Jason Ye: I was able to solve my problem and publish. I stopped using powershell and used only azure portal to do all the steps. The MS documentation provided is fragmented and new, old versions are combined even though they are deprecated. They are written in a way assuming that the reader has already experienced doing things.
So after lot of work done, I eventually came up with these steps: