Back to Pathway

Sample Pathway program for SharePoint connection testing

examples/projects/sharepoint-test/README.md

0.30.1860 B
Original Source

Sample Pathway program for SharePoint connection testing

Check out the Pathway SharePoint connector docs and getting SharePoint secrets tutorial for more information.

Usage:

  1. Replace the placeholders in sharepoint_test.py (url, root_path, tenant, client_id, thumbprint, cert_path) with actual values.
  2. Run the program: python sharepoint_test.py
  3. If you have a license key, you can provide it as an environment variable: PATHWAY_LICENSE_KEY=... python sharepoint_test.py
  4. If contents.txt contains information after running the program, then the connection was successful.

Note: Ensure that your SharePoint space contains at least one file for this test to work.