SharePoint initialisation

For initialization on SharePoint, you need to obtain the credentials required to authenticate to SharePoint.

Then, initialise EasyEnvironment as follows:

from easyenvi import EasyEnvironment

envi = EasyEnvironment(
  sharepoint_site_url="https://{tenant}.sharepoint.com/sites/{site}",
  sharepoint_client_id="your-client-id",
  sharepoint_client_secret="your-client-secret",
                  )

For an identification with a SharePoint account, specify sharepoint_username and sharepoint_user_password paramaters:

envi = EasyEnvironment(
  sharepoint_site_url="https://{tenant}.sharepoint.com/sites/{site}",
  sharepoint_username="your-username",
  sharepoint_user_password="your-password"
                  )
  • sharepoint_site_url - str SharePoint site.

  • sharepoint_client_id - str client id

  • sharepoint_client_secret - str client secret

  • sharepoint_username - str User name of a SharePoint user account.

  • sharepoint_user_password - str User password of a SharePoint user account.

Last updated