storage.yaml - SharePoint Online
This section explains how to set up the configuration in the storage.yaml
to connect from aqishare to Microsoft SharePoint Online (SPO).
Parameter Overview
The table outlines the available parameters in storage.yaml
for specifying a connection to Microsoft SharePoint Online.
astuce
Use the parameter name to introduce a new item in the context of YAML syntax. This can be useful for easier identification, as this name is referenced in other configuration files (e.g. Tasks).
Parameter | Mandatory | Type | Default | Description |
---|---|---|---|---|
name | Yes | string | The value must be unique and should not contain special characters; only alphanumeric characters (0-9, A-Z) and dashes are allowed. | |
type | Yes | string | The type of the repository that should be connected. Since the connection routes to SPO, the value must be sharepoint . | |
sharepointUrl | Yes | string | The URL pointing to the desired site in SPO, including tenant and site name. Example: https://YourCompany.sharepoint.com/sites/sap | |
tenantName | Yes | Object | The tenant name. Example: YouCompany | |
tenantId | No | string | tenantId. Refer to App registration | |
clientId | No | string | clientId. Refer to App registration. | |
certPath | No | string | The path to the certificate in the container. Example: /app/configs/aqilink.pfx | |
certPass | No | string | The password of the certificate. |
Example Configuration
This sample configuration includes the most relevant properties as explained above.
An example with the required settings to connect from aqishare to SPO.
Example
- name: storage-sharepoint-dev
type: sharepoint
sharepointUrl: https://mycompany.sharepoint.com/sites/sap-demo
tenantName: mycompany
tenantId: 10b5a9fa-149d-4fa2-aa8c-bdaa3f73112f
clientId: 64bc0b64-a83e-4c45-afd0-1b2c11216a00
certPath: /app/configs/aqilink.pfx
certPass: CertPassword