Skip to main content

SharePoint Online File (Service Principal)

Connect to SharePoint Online using a Service Principal

To use this connection type within the API, use a ConnectionTypeCode of SHAREPOINT-ONLINE-FILE-SP.

Variable Reference

The following variables are supported:

  • SharepointBaseUrl - (Required) The base URL of Sharepoint Online.

  • ServicePrincipalTenantIdSecretName - (Required) The name of the Key Vault Secret containing the Sharepoint Access Service Principal Tenant Id.

  • ServicePrincipalClientIdSecretName - (Required) The name of the Key Vault Secret containing the Sharepoint Access Service Principal Client (Application) Id.

  • ServicePrincipalClientSecretSecretName - (Required) The name of the Key Vault Secret containing the Sharepoint Access Service Principal Client Secret.