Here we will discuss how to deploy a webjob to Microsoft Azure using upload zip file method in SharePoint Online Office 365. Before reading further you can check the below article on:
– Steps to create Azure WebJobs for SharePoint online and deploy in Microsoft Azure
In the above article we have seen how we can deploy WebJob directly from Visual Studio 2015 to Microsoft Azure.
But we can also deploy using upload zip file method. Follow below steps:
Open the Visual Studio 2015 solution and then Right click on the project and click on Build.
Then open the Bin -> Release/Debug folder. Here my folder path is like below:
E:\Users\Administrator\Documents\Visual Studio 2015\Projects\DemoAzureWebJobsForSharePoint\DemoAzureWebJobsForSharePoint\bin\Release
Select all the files and make a zip folder. Here I have created zip file as DemoAzureWebJobsForSharePoint.zip.
Now Open the Microsoft Azure Portal and then click on All resources like below:
Then click on the particular web app into which you want to deploy the WebJob. Then click on WebJobs and then click on the +Add button like below:
deploy WebJob to Microsoft AzureOnce you click on the +Add button, it will open the Add WebJob screen. Give a name for the WebJob, choose the .zip file which we have created above and then choose the Type (schedule) and Scale like below:
Also you can SharePoint online tutorials:
– SharePoint online: Ultimate tutorial guide PDF download
– How to set Targeted release or First Release in Office 365 tenant?
– Hub Sites SharePoint Online Office 365 Tutorial Download PDF Free
Now once it is created successfully, you can see the web job like below. If it did not appear then click on the Refresh button.
The job will run continuously and if you will open the SharePoint online list, you can see it will add items like below:
Hope this will be helpful.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.