Creating Azure Web Job to access SharePoint using Typescript and Node.js
HI Friends, today i have bought a post to guide how we can create a webjob in Azure to access SharePoint online. We can use different tools to create the webjob, but i will use Visual Code to develop it. Step 1: Create SharePoint Client ID and Client Secret To access the SharePoint from the Azure web job we need to create the SharePoint app through which we can access the data. To create Client ID navigate to the following url and create a new app https://<SERVER_NAME>/_layouts/15/appregnew.aspx To create the app permission and get the client secret: https://<SERVER_NAME>/_layouts/15/appinv.aspx Step 2: Configure the solution To configure the solution, I am assuming that the npm and node.js is already installed on the system. If not then just type the following command: npm install -g After installing the npm. Follow the below stepas Create a folder with the name 'DemoWebJob' Now open the folder in the Visual code and press ' Cntrl + ~ ...