Get-AzureWebSite doesn't work when remote debugging with vs 2015 is enabled
Get-AzureWebSite -name $websiteName
returns
Get-AzureWebsite : Requested value 'VS2015' was not found.
when remote debugging for visual studio 2015 is enabled.
"RemoteDebuggingEnabled": true,
"RemoteDebuggingVersion": "VS2015",
will look into this..
Did you use API to set VS2015? I dont see an option to set to VS2015 in both portals?
VS 2015 sets itself if you attach it for remote debugging
Is there any progress on this? You can now select VS 2015 using the preview portal
Just ran into a similar issue today when trying to deploy from VSO. Found a workaround: Resolve a "Requested value VS2015 was not found" Get-AzureWebsite Error in PowerShell
Since nobody wants to fix this I tracked it down to a bug in azure-sdk-for-net. It should be trivial to fix now. This issue can probably be closed now but I'd like to keep it open as long as this remains unfixed to avoid reposts.
@NaveenGoli What's the progress on this? Do you just need to add an option to the cmdlet, or make the value a string insstead of an enum?
I saw this issue when attempting to web deploy to Azure. I came across this post which reminded me that I'd enabled remote debugging with vs2015. Changing it back to 2012 allowed me to deploy. Only took an hour or so to work it out!
I just ran into this same issue with VS 2015 RTM and VS Online. I followed the same steps in the 'workaround' and it resolved it. Obviously there is still a problem somewhere in the setting of the remote debugger to VS 2015
This also breaks VSO build using deployment to web site. This just fails without any indication why, as I describe here:
https://github.com/Microsoft/vso-agent-tasks/issues/526
Fixing https://github.com/Azure/azure-sdk-for-net/issues/1255 should solve this so I've added a comment over there.
It could be fixed here as well by just hard-switching from unknown string values to VS2015, but I don't know if that's a good idea.
any progress on this?
@lkempf @sergsalo @storafrid There isn't any active development going on in the RDFE libraries or cmdlets for websites (though important bugfixes should still be happening). Have you tried updating your scripts to using the ARM cmdlets?
@markcowl as mentioned here several times, the VSTS "Azure Web App Deployment" task uses Get-AzureWebsite internally and fails the build because it fails to detect existing web app. It is of course possible to replace that one build task with custom Azure Powershell scripts but that shouldn't be necessary. Based on the bunch of github issues, it looks like everyone is just pointing at the other teams. As a developer, I don't really care whose fault it is but the end result is that powershell management and VSTS deployment are both broken now.
I'd assume think that retrieving the information of a properly configured website with Azure Powershell (Get-AzureWebsite) should be considered "important" or supported and as such this should be fixed too.
Adding @BradyGaster and @mohitsriv for visibility into this.
RDFE fix was just checked in to dev branch, wil go out with the next release.
@markcowl this should not be closed until it is available to customers/consumers. It makes it harder to find the issue (when I run into a problem, first thing I do is to look into the open issue), and a feature is not done until it is in production ;)