I followed this link (https://azure.microsoft.com/en-us/documentation/articles/vs-azure-tools-resource-groups-deployment-projects-create-deploy/) to create azure resource group. However, I got the error when deploying the Project "PowerShell deployment script is missing"
Does anyone knows what cause this error? I am using VS2013 and Azure sdk 2.9
I burned a lot of time debugging the same problem!
Make sure in the file properties for the ps1 file are set to Build Action = "Content"
This will ensure that it's copied to the bin folder during building.
According to this
http://blog.thingsgeeky.co.uk/visual-studio-azure-sdk-json-outline-blank/
Your ps1 file must be called Deploy-AzureResourceGroup.ps1
I had renamed mine. I renamed it back and the error went away
In my case rebooting didn't help and the Build Action was already set to 'Content'. What did work for me is to clear the recent list of the Deploy context menu and then click 'New' to create a new deployment config.
I found a very stupid solution. I just need to restart my machine and the issue is gone. It needs a reboot after installation from WebPI
Just had the same error. You have to build your resource group project in Visual Studio before you can actually deploy from it.
I created a resource group project and immediately tried to deploy but that doesn't work because the project hadn't built yet.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With