R3.1 Use Azure Step t odeploy WebApp into Env w/o any machines - fail to deploy release

We use Octopus R3.1 and added (according to new approach) into existing Process new Azure Web App step (configured Nupkg from TC, Azure Account - as usual) and assigned to the Env without any machines in that (becasue all our Web Apps are Azure Web apps).
So I have Env without any targets, and trying to deploy new WebApp using Azure Web App step into that and I got Error:
“There was a problem with your request.
There must be at least one machine to deploy to in the environment.
Once you have corrected these problems you can try again.
If the problem is related to a variable you will need to update the variables for this release or recreate the release for the changes to take effect.
If the problem is related to the deployment process you will need to create a new release for the changes to take effect.”

Could you help me to understand what needs to be done in this case?

Hi Alexander

Thanks for getting in touch, sorry the process hasn’t been great so far.

You’ve said that you added a new Web App step into an existing process, is there anything else in that process ? You should have been prompted to associate your azure account with the Environment too ?

I’m also assuming you’ve created a new release before the deployment ?

Any more info you can give ?

Thanks

Damian

Hello, Damian!

I’m deploying the existing release.
Test (UAT) env is associated with Azure Account (as well as all other defined envs).
Anyway I’ve configured same Azure Account in this step.

Here is the step:
[cid:image002.png@01D0F227.6229FE70]

Here is the Process:
I’m deploying to Test (UAT) env that is empty (no Targets);
The 1st step is the only step that deploys to that env.
All other steps deploys to Other envs and have Azure Web App targets.

[cid:image001.png@01D0F227.0A8FB1A0]


Sincerely yours,
Alexander Izumov | Project Lead, UPTICK<uptick.com>

Ahh I think the existing release is the problem.

You’ll need to create a new release to pick up the new deployment process.

Can you give that a try and let me know how you go ?

Damian

Will try and let you know.
Thx for advise.


Sincerely yours,
Alexander Izumov | Project Lead, UPTICK<uptick.com>

Yes, after I re-created the Release – I was able to deploy into Env w/o target.
Thx!


Sincerely yours,
Alexander Izumov | Project Lead, UPTICK<uptick.com>