When to use this connector
Use this connector to create Flows that work with files in Microsoft OneDrive for Business.
To access files stored in consumer OneDrive accounts, use the Consumer OneDrive connector.
Create a Connection
Step 1. In the
Connections window, click
+, and type in
Step 2. Select
OneDrive for Business.
Step 3. Enter Connection parameters.
Organization Domain: your Office 365 domain, for example,
Directory: the actual directory with files. This parameter is optional.
Files: the actual file name or a wildcard file name, for example,
User: username (typically an email address).
Authentication with username and password
Username and passwordin
Authentication Method. Note that this is a default Authentication Method.
Authentication with OAuth
Authentication with OAuth is the only option to connect to OneDrive for Business if 2FA or SSO is enabled for the Office 365 account.
Enter email address in
Sign in with Microsoftand follow on-screen instructions to continue authentication. Optionally change
Add Suffix When Creating Files in Transformation: you can select one of the predefined suffixes for the files created using this Connection. For example, if you select
uuidas a suffix and the original filename is
dest.csv, Etlworks Integrator will create files with the name
dest_uuid.csv, where uuid is a globally unique identifier such as
Enable Wildcard File Name: if there are multiple source files in a folder, you can specify an algorithm that will be used to select the next source file to process. For example, if
Filesis set to
oldestis selected, Etlworks Integrator will always select the oldest file in the folder which matches the wildcard
Override Wildcard File Name set for Connection: if
Wildcard File Namesare allowed,
Override Wildcard File Name set for Connectionis enabled, and the file name entered in the
FROMfield of the transformation is a wildcard file name, the system will override the file name entered at the Connection level. Otherwise, the default behavior is to use the wildcard file name entered when the Connection was configured.
When OneDrive for Business Connection is used as a source (
FROM) in the source-to-destination transformation, it is possible to configure the automatic decryption of the encrypted source files using the PGP algorithm and private key uploaded to the secure key storage.
If the private key is available, all source files processed by the transformation will be automatically decrypted using the PGP algorithm and given key. Note that the private key requires a password.