> For the complete documentation index, see [llms.txt](https://ism-docs.xnarum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ism-docs.xnarum.com/tasks/cloud/sharepoint.md).

# SharePoint

SharePoint is a web-based collaborative platform that integrates natively with Microsoft Office. Launched in 2001, SharePoint is primarily sold as a document management and storage system, but the product is highly configurable and its usage varies substantially among organizations. (Wikipedia)

![](https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image306.png)

To use this component, MFA(Multiple Factor Authentication) should be disabled. Otherwise, the authentication will fail. (<https://www.spguides.com/microsoft-has-enabled-security-defaults-to-keep-your-account-secure/>

## **Input**

&#x20;

<table><thead><tr><th width="204">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>Domain</td><td>Sharepoint domain ??? ex) xnarum214.sharepoint.com</td></tr><tr><td>User</td><td>Sharepoint user ??? ex) <a href="mailto:scott@xnarum214.onmicrosoft.com">scott@xnarum214.onmicrosoft.com</a></td></tr><tr><td>Password</td><td>Password</td></tr><tr><td>SiteUrl</td><td>Site url under the domain ??? ex) /sites/TeamSite</td></tr><tr><td>Action</td><td><p>Actions to be performed.</p><p>·       File</p><p>o   Upload</p><p>o   Download</p><p>o   Move</p><p>o   Delete</p><p>·       Folder</p><p>o   Create</p><p>o   Delete</p><p>o   Move</p></td></tr><tr><td>Source Folder Name</td><td>Sharepoint folder</td></tr><tr><td>Target Folder Name</td><td>Sharepoint folder</td></tr><tr><td>Source File Name</td><td><p>Source file</p><p>·       The file on Sharepoint to be downloaded.</p><p>·       The local file to be uploaded</p></td></tr><tr><td>Target File Name</td><td><p>Target file</p><p>The local file name to be downloaded.</p></td></tr></tbody></table>

&#x20;

## **Output**

&#x20;

<table><thead><tr><th width="205">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>OutFile</td><td><p>Source file for upload operation</p><p>Target file for download operation</p></td></tr><tr><td>OutFolder</td><td><p>Source folder for upload file, download file, and create folder operations.</p><p>Target folder for move file and move folder operations.</p></td></tr></tbody></table>

&#x20;

## **Example**

If a user has three sites like this. xnarum214 is the domain of these sites.

<figure><img src="https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image307.png" alt=""><figcaption></figcaption></figure>

And CommSite has these folders.

<figure><img src="https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image308.png" alt=""><figcaption></figcaption></figure>

### **Upload a file to a folder**

Input properties of this operation are these.

<table><thead><tr><th width="256">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>Domain</td><td>xnarum214.sharepoint.com</td></tr><tr><td>User</td><td><a href="mailto:scott@xnarum214.onmicrosoft.com">scott@xnarum214.onmicrosoft.com</a></td></tr><tr><td>Password</td><td>******</td></tr><tr><td>SiteUrl</td><td>/</td></tr><tr><td>Action</td><td>Upload file</td></tr><tr><td>Source Folder Name</td><td>/Shared Documents/first-folder</td></tr><tr><td>Target Folder Name</td><td> </td></tr><tr><td>Source File Name</td><td>/home/myuser/my-file.dat</td></tr><tr><td>Target File Name</td><td> </td></tr></tbody></table>

&#x20;

### **Download a file**

Input properties of this operation are these.

<table><thead><tr><th width="255">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>Domain</td><td>xnarum214.sharepoint.com</td></tr><tr><td>User</td><td><a href="mailto:scott@xnarum214.onmicrosoft.com">scott@xnarum214.onmicrosoft.com</a></td></tr><tr><td>Password</td><td>******</td></tr><tr><td>SiteUrl</td><td>/</td></tr><tr><td>Action</td><td>Download file</td></tr><tr><td>Source Folder Name</td><td>/Shared Documents/first-folder</td></tr><tr><td>Target Folder Name</td><td> </td></tr><tr><td>Source File Name</td><td>/remote-file.dat</td></tr><tr><td>Target File Name</td><td>/home/myuser/my-file.dat</td></tr></tbody></table>

&#x20;

### **Move a file**

Input properties of this operation are these.

<table><thead><tr><th width="256">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>Domain</td><td>xnarum214.sharepoint.com</td></tr><tr><td>User</td><td><a href="mailto:scott@xnarum214.onmicrosoft.com">scott@xnarum214.onmicrosoft.com</a></td></tr><tr><td>Password</td><td>******</td></tr><tr><td>SiteUrl</td><td>/</td></tr><tr><td>Action</td><td>Download file</td></tr><tr><td>Source Folder Name</td><td>/Shared Documents/first-folder</td></tr><tr><td>Target Folder Name</td><td>/Shared Documents/second-folder</td></tr><tr><td>Source File Name</td><td>my-file.dat</td></tr><tr><td>Target File Name</td><td> </td></tr></tbody></table>

&#x20;

### **Create a folder**

child-folder will be created under existing parent-folder. Input properties of this operation are these.

<table><thead><tr><th width="257">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>Domain</td><td>xnarum214.sharepoint.com</td></tr><tr><td>User</td><td><a href="mailto:scott@xnarum214.onmicrosoft.com">scott@xnarum214.onmicrosoft.com</a></td></tr><tr><td>Password</td><td>******</td></tr><tr><td>SiteUrl</td><td>/</td></tr><tr><td>Action</td><td>Create folder</td></tr><tr><td>Source Folder Name</td><td>/Shared Documents/parent-folder/child-folder</td></tr><tr><td>Target Folder Name</td><td> </td></tr><tr><td>Source File Name</td><td> </td></tr><tr><td>Target File Name</td><td> </td></tr></tbody></table>

&#x20;

### **Delete a folder**

child-folder under parent-folder will be deleted. Input properties of this operation are these.

<table><thead><tr><th width="252">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>Domain</td><td>xnarum214.sharepoint.com</td></tr><tr><td>User</td><td><a href="mailto:scott@xnarum214.onmicrosoft.com">scott@xnarum214.onmicrosoft.com</a></td></tr><tr><td>Password</td><td>******</td></tr><tr><td>SiteUrl</td><td>/</td></tr><tr><td>Action</td><td>Delete folder</td></tr><tr><td>Source Folder Name</td><td>/Shared Documents/parent-folder/child-folder</td></tr><tr><td>Target Folder Name</td><td> </td></tr><tr><td>Source File Name</td><td> </td></tr><tr><td>Target File Name</td><td> </td></tr></tbody></table>

&#x20;

### **Move a folder**

child-folder under parent-folder will be moved to grand-folder. Input properties of this operation are these.

<table><thead><tr><th width="250">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>Domain</td><td>xnarum214.sharepoint.com</td></tr><tr><td>User</td><td><a href="mailto:scott@xnarum214.onmicrosoft.com">scott@xnarum214.onmicrosoft.com</a></td></tr><tr><td>Password</td><td>******</td></tr><tr><td>SiteUrl</td><td>/</td></tr><tr><td>Action</td><td>Create folder</td></tr><tr><td>Source Folder Name</td><td>/Shared Documents/parent-folder/child-folder</td></tr><tr><td>Target Folder Name</td><td>Shared Documents/grand-folder/child-folder</td></tr><tr><td>Source File Name</td><td> </td></tr><tr><td>Target File Name</td><td> </td></tr></tbody></table>
