Updated: Mar 29, 2019
In my previous article Creating Provider-Hosted App in Office 365 and Azure Using VS 2013: Part 2 you saw how to do the following procedure:
Publish the web to Microsoft Azure Websites
Register the App in Office 365
Configure the app settings for Azure Website
In this article you will perform the following procedure:
Publish the app.
Upload the app file to the app catalog in Office 365.
Add the app to the Office 365 site.
Publish the app
In the Solution Explorer, expand MyFirstProvidedHostedApp and then right-click on AppManifest.xml. Click on View Code.
AppManifest.xml will have the following metadata.
Replace ~remoteAppUrl/ with the Azure website URL https://myfirstprovidedhostedapp.azurewebsites.net/ and replace ClientId with the Id that we generated previously. Ensure that the Azure Website URL has https.