Creating Provider-Hosted App in Office 365 and Azure Using VS 2013: Part 2

Updated: Mar 29, 2019

In my previous article Creating Provider-Hosted App in Office 365 and Azure Using VS 2013: Part 1 you saw how to perform the following procedure:

  1. Sign up for an Office 365 Developer Site.

  2. Sign up for an Azure trial subscription.

  3. Set up an App Catalog in Office 365.

  4. Create a Provider-Hosted App using Visual Studio 2013.

In this article you will perform the following procedure:

  1. Publish the web to Microsoft Azure Websites.

  2. Register the App in Office 365.

  3. Configure the app settings for Azure Website.

Publish the web to Microsoft Azure Websites

  • In the Solution Explorer, right-click on MyFirstProvidedHostedApp and then click on Publish.


  • Select the publish target as Microsoft Azure Websites.


  • In the Select Existing Website wizard, click on the Sign In button.


  • Enter the email address of the Azure account.


  • Click on the Continue button.

  • Enter the Azure credentials and then click on the Sign in button.


  • Once you have signed in, click on the New button to create a new website in Azure.