Create Azure App and Deploy to SharePoint Online as an App Step by Step

Create Azure App and Deploy to SharePoint Online as an App

In this post we will discuss how we can create an azure app and deploy it into SharePoint online as an app. Step by step process to create Azure app and deploy to SharePoint Online as an app. The steps also include how to add the app as webpart to the page.

1. Download publishing settings file from Azure web.
2. Open visual studio and select project template as app for SharePoint.
3. Select “Provider-Hosted” option to host in Azure and deploy to Office 365.

Create Azure App and Deploy to SharePoint Online as an App
Create Azure App and Deploy to SharePoint Online as an App

4. Specify the target SharePoint version as SharePoint Online.
5. Create an App Catalog site in SharePoint admin and select Developer site template while creating the App Catalog site.
6. Register the App using “App Reg new” page using below sample url https://abc.com/sites/appcatalog/_layouts/15/appregnew.aspx


Create Azure App and Deploy to SharePoint Online as an App
Create Azure App and Deploy to SharePoint Online as an App

7. Open web.config file from solution explorer

Create Azure App and Deploy to SharePoint Online as an App
Create Azure App and Deploy to SharePoint Online as an App



8. Update clientID and client secret values.
9. Right click on SharePoint App and Add New Item as App Part.
10. Implement required functionality using CSOM, JSOM,C#.net and asp.net in your Web application
11. Open AppManifest.Xml file

12. Click on permissions tab and give required permissions to the App.

create azure app office 365 sharepoint online 1
create azure app office 365 sharepoint online 1

13. Open Appmanifest.xml file in code window using F7 key and add client ID
14. Right click on web project and click on publish option
15. Click on Import and select publishing profile settings file downloaded in step1.

how to create azure app sharepoint online
how to create azure app sharepoint online

16. Click on Validate connection to Validate the settings
17. Click on Publish
18. Right click on the SharePoint App project and click on publish.

Create Azure App and Deploy to SharePoint Online as an App
Create Azure App and Deploy to SharePoint Online as an App

19. Click on Package the app.
20. Upload your app package to App Catalog (Developer site)
21. Now your app will be available for all the site collection in Apps from your organization section
22. Create a page and add your App part to the page.

Read some Microsoft Azure tutorials


Hope this will be helpful.

Check out Best Alternative to InfoPath -> Try Now

You May Also like the Following SharePoint Online Tutorials:

About Sambita Rath

I have 9 years of exprience into SharePoint implementation, architecture, Administrator, development and Training.Designing Information Architecture in SharePoint 2007, 2010,2013 and Office 365.

View all posts by Sambita Rath →