Skip to content

Extracts data from a SharePoint list using the Graph API and saves the data as a json file

License

Notifications You must be signed in to change notification settings

Jozzey/sp-list-extractor

Repository files navigation

sp-list-extractor

Extracts data from a SharePoint list using the Graph API and saves the data as a json file.

This application uses "Application Permissions" as opposed to "Delegated Permissions" in Azure AD.

Configure and run the app

  1. Create a file called config.js in the root of the project using config.js.example as a template.
  2. Replace ENTER_YOUR_CLIENT_ID with the client ID of your registered Azure application.
  3. Replace ENTER_YOUR_SECRET with a key generated on the Configure page of your app in the Microsoft Azure Management Portal.
  4. Replace ENTER_YOUR_TOKEN_ISSUING_ENDPOINT with the OAuth 2.0 token endpoint value found by clicking the View Endpoints button in the Azure Management Portal.
  5. Replace ENTER_YOUR_SITE_ID with your ID of the site where your list resides.
  6. Replace ENTER_YOUR_LIST_ID with the ID of the list you wish to extract the data from.
  7. Run npm install to install the app's dependencies.
  8. Run npm start to run the app.

Note: This app will extract the data from the list and save it in a file called data.json in the root of the project.

About

Extracts data from a SharePoint list using the Graph API and saves the data as a json file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published