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

Updated: Mar 29, 2019

Introduction

Provider-hosted apps for SharePoint include components that are deployed and hosted outside the SharePoint Farm. They are installed to the host web, but their remote components are hosted on another server. In this article the website is hosted in the Microsoft Windows Azure and the app is installed in Office 365.

In this article you will perform the following procedure.

  1. Sign up for an Office 365 Developer

  2. SiteSign 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


Sign up for an Office 365 Developer Site

Be sure you have access to an Office 365 Developer Site. Here are three ways to get one:

  • Are you an MSDN subscriber? Visual Studio Ultimate and Visual Studio Premium with MSDN subscribers receive an Office 365 Developer Subscription as a benefit. Redeem your benefit today.

  • Do you have one of the following Office 365 subscription plans?                 

Office 365 Midsize Business                   Office 365 Enterprise E1, E3, E4, or K1                   Office 365 Education A2, A3, or A4                   Office 365 Government G1, G3, G4, or K1

If so, you can provision a Developer Site from the Office 365 admin center. For more information, see How to: Create a Developer Site within your existing Office 365 subscription.

Please refer to Sign up for an Office 365 Developer Subscription and set up your tools and environment for more details.

Sign up for an Azure trial subscription

Be sure you have access to a Windows Azure. Here is the way to get the trial subscription:

  • Navigate to the Azure Portal.

  • If prompted, log in using the credentials you created for your O365 subscription.

  • After logging in, you should see a screen notifying you that you do not have a subscription

  • Click Sign Up for Windows Azure.

  • Fill out the form to obtain your free trial.

  • You should provide the credit card details to register but it will not be charged.Set up an App Catalog in Office 365