I have created following Virtual Applications and Directories in the azure portal Click here to view the image
And using visual studio online I can build and deploy the site into root folder but I couldn't figure it out how to deploy into a virtual directory I have created earlier.
Click here to view the image
Any one have experience on this ? Appreciate your thoughts.
The Azure Web App Deployment task can't deploy a virtual application as it uses Publish-AzureWebSiteProject which can't handle virtual applications.
You can check the poweshell script which uses WebDeploy to deploy a virtual application at website:https://github.com/Microsoft/vso-agent-tasks/issues/624