In the previous article, Azure App Service: Create Web App from Visual Studio, we learned how to create a new Web App. In this article, we will learn how to link an existing web application to an App Service Web App.
Please go through the how-to-create-a-web-app-in-azure link and create a new App Service Web App.
Go to Settings Blade of the App Service Web App. Click on “Get Publish Profile” as shown below.

Below is the screenshot of the file that I just downloaded.

Open the Web Application that you would like to link to the Web App in Visual Studio. Right-click on the project and click on “Publish”.

In the “Publish Web” window, click on the “Import” button.

A popup will be as shown below.

Clicking on the “Browse” button on the above screen, a window will open as shown below. Please select the publish profile that we just downloaded.

Once you select the file, the path of the file will be displayed as shown below.

Once you click on the “OK” button in the previous step, the Publish window will configure the App Service and the Visual Studio Project.

That’s it. It’s how it links an existing web application to an existing or a new App Service web app on Azure. Once you click "Publish" the codes get deployed to the App Service for which you downloaded the Publish profile.

Praveen SreeramPosted Jun 3, 2016, 2:12 PM
Thanks @Prasanna
Praveen SreeramPosted Jun 3, 2016, 2:12 PM
Thanks @Nagaraj
Praveen SreeramPosted Jun 3, 2016, 2:12 PM
Thanks @Bhushan
Praveen SreeramPosted Jun 3, 2016, 2:11 PM
Thanks @Debasis
Praveen SreeramPosted Jun 3, 2016, 2:11 PM
Thanks @Sonu
Praveen SreeramPosted May 25, 2016, 8:40 AM
Thanks guys!
Sonu ChaudharyPosted May 19, 2016, 11:34 AM
nice
Debasis SahaPosted May 19, 2016, 6:31 AM
Good One..
Bhushan GawalePosted May 19, 2016, 2:24 AM
Thanks for sharing!
Kuppurasu NagarajPosted May 18, 2016, 1:45 PM
Nice Sharing..
Prasanna MuraliPosted May 18, 2016, 10:39 AM
Nice one...
Praveen SreeramPosted May 18, 2016, 10:26 AM
Thanks guyd
Debasis SahaPosted May 18, 2016, 10:20 AM
Good One..
Ketak BhalsingPosted May 18, 2016, 8:19 AM
Very Well Written.....