SPO – Push Files

SharePoint Online™ (referred to as "SPO" in this documentation) is a registered trademark of Microsoft Corporation.

Use this type of job to automatically push files to an SPO document library.

During automated file transfers, only files in the "Available" and "Sanitized" states within the source folders will be transferred.

Configuration

Credential Input Type

Two types of authentication can be used:

  • Secret: client ID and client secret
  • Certificate: client ID and selecting a previously stored certificate (see: My Credentials)

Target SPO Client ID

This is the unique identifier assigned to the registered MetaDefender MFT application in Microsoft Entra ID. The Client ID is used to authenticate MetaDefender MFT when accesing a document library.

It can be found in the "Azure Portal" under the Entra ID "App registrations" section. As it is a GUID, it should look like this: "12345678-90ab-cdef-1234-567890abcdef."

Target SPO Client Secret

This secret is used to authenticate MetaDefender MFT when accessing a document library.

It can be found in the "Azure Portal" under the Entra ID "App registrations" section.

Please note that this refers to the client secret value, not the client secret ID.

If you edit or duplicate a previously saved job, the Client Secret must be re-entered.

Select Certificate

If the Certificate credential input type was selected, beside adding the Client ID, which used to authenticate to the document library, you should select the proper stored certificate to authenticate.

Selecting Target SPO

Choose the SPO integration you want to use. Files will be pushed to the document library configured in the selected integration. See: SPO Integration.

Providing Source Path(s)

Specfify the paths from which files should be recursively collected and pushed from MetaDefender Managed File Transfer. Multiple paths can be configured. If no path is added, the root ('/') will be the default source path.

Destination at Target SPO

Specify the destination path in the SPO document library. If the path does not exist, it will be created automatically.

Transfer Method

Choose what to do with the original files on MetaDefender Managed File Transfer.

  • Copy Files: Files that are successfully pushed will remain intact on MetaDefender Managed File Transfer.
  • Move Files: Files that are successfully pushed will be removed from MetaDefender Managed File Transfer.

If multiple source paths point to the same file, the file will only be deleted from the local instance if it was successfully pushed from all listed source paths.

For example, if move is enabled and there is a file /data/logs/log.txt with source paths /data and /data/logs are configured with the destination /push, the file will only be removed from the local instance if pushing was successful for both /push/logs/log.txt and /push/log.txt.

File Overwrite Rules

Decide how to handle files that already exists in the SPO document library with the same absolute path:

  • Don't Overwrite: Do not push the file to the remote file share.
  • Overwrite Existing: Push the file to the SPO document library, overwriting the existing file.
  • When overwriting a file on SPO, all previous versions will remain intact and can be accessed in the file's version history.
  • Only the files that have changed either in MetaDefender MFT or in the SPO document library since the last job run will be pushed to SPO. Identical files will not be pushed.

Example

Suppose you want to push files from MetaDefender Managed File Transfer to your SPO document library. You only want to push files from the folder named "teodor," located in the root folder, every 30 minutes. Your Metadefender MFT application client ID is "12345678-90ab-cdef-1234-567890abcdef," and the Client Secret is "0123456~7890abcdEFGHijklm_nopQRS-TUVWxyz".

Your SPO document library, named "Documents," is available at "https://thiscompany.sharepoint.com/sites/oursite". You want the files to be copied to the folder "/teodor/from_mft" in your SPO document library. If a file already exists there, overwrite it if it has been changed since the last job run, while keeping the previous versions intact.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard