Skip to main content

Microsoft OneDrive

The OneDrive connector lets you connect to Microsoft OneDrive cloud storage in Designer. OneDrive is available as a data source in the Input Data and Output Data tools.

Upgrade to the New OneDrive Connector

If your workflow uses the standalone OneDrive Input or OneDrive Output tools, those are now deprecated. Instead, use connector version 2.2.0 or later with the Input Data and Output Data tools. Use the workflow migration utility to update existing workflows.

Requirements

Requirement

Details

Designer

Designer 2026.1 or later.

Designer 2025.2 Patch 3 or later.

Designer 2025.1 Patch 5 or later.

Connector Version

Microsoft OneDrive version 2.2.0 or later. Available from Designer Add-Ons.

Azure Permissions

See Microsoft Azure API-Anwendung einrichten.

DCM

You must enable DCM in Designer. Go to Options >Advanced Settings > DCM to enable it.

Network Access

Outbound access to OneDrive Online and Microsoft OAuth endpoints.

Install the Connector

Install the latest version of OneDrive connector directly from Designer using Add-Ons. This is the recommended installation method that allows you to browse, install, and update connectors without leaving Designer or visiting the Alteryx Marketplace.

To install the connector...

  1. In Designer, go to Add-Ons > Manage Marketplace Add-Ons. You will see a list of available connectors.

  2. Select Microsoft OneDrive Connector and select Install. Designer downloads and installs the package. Designer might require a restart to complete the installation.

  3. After installation and setup are complete, the OneDrive connector is available from the Input Data and Output Data tools.

Set Up a Connection

To connect to Microsoft OneDrive...

  1. Drag the Input Data or Output Data tool to the canvas, and select Connect to Data.

  2. In the Connector Setup, select Create or Browse a Data Connection.

    If you've created a Microsoft OneDrive connection before, you can select the connection from the Recents tab.

  3. Select + New. From the list of technologies, select Microsoft OneDrive.

  4. Enter the Connection Name and Data Source Name.

  5. In the Credentials section, select your authentication method, and enter the credentials. For more information, see Authentication Methods.

  6. Select Save. You can also test the connection before saving.

  7. Select Connect. Microsoft OneDrive may request authentication.

  8. Select the read or write configuration in the Options window. To know more about the options, see Read Data from OneDrive or Write Data to OneDrive.

  9. Select Confirm to create a connection to the file. You can continue building your workflow.

Workflow Migration

If your existing workflows use the deprecated OneDrive Input or OneDrive Output tools, you need to migrate them to use the new connector. Use the workflow migration utility to update existing workflows.

The utility previews all the changes and replaces deprecated tool instances with the new connector versions without breaking the workflows.

Authentication Methods

Microsoft OneDrive supports three authentication methods. Use the table below to choose the right one for your use case.

Method

Details

Azure AD-private (Built-In App)

  • Use this to set up a personal, ad hoc connection with your own Microsoft credentials.

  • Email and password are tied to your personal Microsoft credentials.

  • This can be used for SDK.

  • Not recommended for scheduling workflows.

  • DCM is optional.

Azure AD-private (Custom App)

  • Use this when your team shares a custom-registered Azure app.

  • This can be used for SDK.

  • For instructions on the set up, see Microsoft Azure API app setup.

  • DCM is optional.

Service Principal (Application)

  • Use this to schedule or automate workflows without tying authentication to a specific user.

  • Leverages the capabilities of custom API applications with a service principal.

  • For instructions on the setup, see Microsoft Azure API app setup.

  • DCM is required.

Limitations

The Microsoft OneDrive connector currently has the following limitations:

  • Microsoft's underlying Recent and Shared with Me Graph APIs are deprecated and do not return data. This is a platform-level limitation independent of this connector.

  • Partitioning is not supported.

  • Reading data with wildcards or from multiple files or folders is not supported, but it can be achieved using macros.

  • The output action Append is not supported. Use Read > Union > Overwrite to replicate append behavior.

  • When creating a new file, if a file with the same name already exists at the destination, the action will not overwrite it. Instead, it will append a timestamp suffix to the new file's name, retaining both files.

  • Reading multi-sheet XLSX files or selecting a sheet by name or index is not supported.

  • Path scoping is limited to My Files. Recent and Shared with Me are not browsable/ accessible through OneDrive.

Version

Beschreibung

v3.1.1

  • Improved the Authority URL field with a pre-filled default value and inline help text, reducing the need to consult external documentation.

  • Fixed an issue where selecting an unsupported file format in the OneDrive Input connector would show irrelevant configuration options.

  • Fixed an issue where Test Connection failed in DCM when using the Built-in App authentication type.

  • Improved error handling for OneDrive In and Out operations.

v3.1.0

  • Compatible with Designer 2021.4.2 Patch 4, 2022.1 Patch 2 and later.

  • Ability to connect to OneDrive using Microsoft's secure OAuth 2.0 login.

  • Authenticate with a Service Principal for automated, unattended workflows.

  • Store your login once via DCM and reuse it across workflows on both Designer and Server.

  • Run unattended jobs on Server with automatic token refresh, no manual re-authentication needed.

  • Quickly filter to Personal Files, Shared with Me, or Recent Files.

  • Pick files by browsing, typing a path manually, or simply pasting a shared OneDrive link.

  • Paste a URL and the connector automatically identifies and loads the file's details.

  • Choose a specific sheet by name or number, define a custom cell range, or pull just the list of sheet names.

  • Bring in details like file name, path, size, last modified date, and file type alongside your data.

  • Retrieve just the file/folder structure without downloading full file contents.

  • Read .csv, .xlsx, and .yxdb files directly from OneDrive.

v2.3.0

  • Kompatibel mit Designer 2021.4.2 Patch 4, 2022.1 Patch 2 und höher.

  • Nur mit AMP Engine kompatibel.

  • Für die Ausführung dieses Konnektors in Alteryx Server ist DCM erforderlich.

  • Das Fenster mit den Authentifizierungsoptionen wurde verbessert.

  • Die Ausgabe des OneDrive-Eingabe-Tools enthält jetzt die Blattnamen, wenn Sie XLSX-Dateien lokal herunterladen. Sie können die Blattnamen in anderen Tools Ihres Workflows verwenden.

  • Problem behoben, bei dem auch andere Blätter geändert wurden, wenn das OneDrive-Ausgabe-Tool ein bestimmtes Blatt in der XLSX-Datei überschreiben sollte.

  • Problem behoben, bei dem die Authentifizierung der OneDrive-Tools nicht richtig funktionierte. (TPM-3833)

  • Problem behoben, bei dem das OneDrive-Eingabe-Tool bestimmte Datentypen nicht korrekt las. (TPM-3751, TPM-3722, TPM-3721)

  • Problem behoben, bei dem das OneDrive-Ausgabe-Tool falsche Dateien schrieb, wenn die Daten Festkomma- oder Nullwerte enthalten. (TPM-3720)

  • Problem behoben, bei dem das OneDrive-Ausgabe-Tool Nullwerte in CSV-Dateien falsch konvertierte. (TPM-3719)

  • Problem behoben, bei dem die Dienstprinzipal-Authentifizierung im OneDrive-Ausgabe-Tool nicht funktionierte. (TPM-3580)

  • Problem behoben, bei dem das OneDrive-Ausgabe-Tool das Feld der Optionen für die Blattauswahl in die Ausgabe einschloss, obwohl der Benutzer in den Einstellungen festgelegt hatte, dass das Feld ausgeschlossen werden soll. (TPM-3393)

  • Problem behoben, bei dem das OneDrive-Ausgabe-Tool Daten nicht korrekt anhängte. (TPM-2564)

  • Problem behoben, bei dem die Option „Abbrechen“ im OneDrive-Ausgabe-Tool nicht für alle Datentypen korrekt funktionierte. (TPM-2563)

  • Die Codierungsprobleme der OneDrive-Tools wurden behoben. (TPM-1984)

  • Problem behoben, bei dem das OneDrive-Ausgabe-Tool das Kopfzeilenformat änderte. (TPM-1375)

  • Problem behoben, bei dem die Option „Anhängen“ des OneDrive-Ausgabe-Tools die Formatierung und die Formeln des Dokuments überschrieb. (TPM-1179)

  • Problem behoben, bei dem das OneDrive-Eingabe-Tool YXDB-Dateien mit Datum/Uhrzeit-Daten nicht lesen konnte. (TPM-1100)

  • Problem behoben, bei dem das OneDrive-Ausgabe-Tool fehlschlug, wenn der Workflow Daten der Datentypen Byte und Int16 enthält. (TPM-209)

v2.2.0

  • Kompatibel mit Designer 2021.4.2 Patch 4, 2022.1 Patch 2 und höher.

  • Nur mit AMP Engine kompatibel.

  • Unterstützung für DCM hinzugefügt.

    • Für die Ausführung dieses Konnektors in Alteryx Server ist DCM erforderlich.

  • FIPS-fähig.

  • Option hinzugefügt, um nur ein Blatt zu überschreiben.

  • Das Verhalten von Blattnamenfeldern wurde geändert, sie werden nun von den geschriebenen Daten ausgeschlossen. Option hinzugefügt, um das Feld für den Blattnamen beizubehalten.

  • Die SSL-/TLS-Validierung wird jetzt mit dem Windows Certification Store abgeglichen.

v2.1.0

  • Die Authentifizierung erfolgt über den Browser des Benutzers, nicht mit der eingebetteten CEF in Designer. So werden moderne Sicherheitsrichtlinien eingehalten.

v2.0.2

  • Problem behoben, bei dem die Tool-Konfiguration verloren ging, wenn „Geben Sie Ihre Authentifizierungsinformationen an“ aktiviert war.

v2.0.1

  • Problem mit leerem Bildschirm bei der Authentifizierung in Designer 2021.3.2.54175 behoben. Bitte beachten Sie, dass Sie ebenfalls auf Designer 21.3.3.63061 oder höher aktualisieren müssen.

v2.0.0

  • Integrierte Multi-Tenant-fähige Azure App mit optionaler Verwendung einer benutzerdefinierten Azure App (einschließlich Single-Tenant-App oder Dienstprinzipal).

  • Unterstützt das Lesen und Schreiben der Dateiformate XLSX, CSV und YXDB.

  • Proxy-Unterstützung.

  • Kompatibel mit Alteryx Designer Version 2021.2.2 und höher.

  • OneDrive 365 erforderlich.

v1.0.2

  • Codepage-Optionen aktualisieren.

  • Es ist möglich, zwischen Codierungen mit derselben Sprache (z. B. „Sprache“ -> „Sprache (spezifischer Code)“) und sortierten Codierungen alphabetisch zu unterscheiden.

  • Dem Benutzer erlauben, die Codierung für CSV-Dateien im Ausgabe-Tool anzugeben.

  • Verbesserte Verarbeitung der Datenkonvertierung, sodass statt einer Warnung ein Fehler ausgegeben wird, wenn ein Feld keinen Wert hat.

  • Problem behoben, bei dem die Standardwert-Einstellungen gelegentlich nicht beachtet wurden.

  • Produktionsprotokollierung deaktiviert, um Berechtigungsprobleme für verschiedene Installationen/Konfigurationen von Designer zu verhindern und die Funktion für geplante Workflows zu unterstützen.

v1.0.1

  • Problem behoben, bei dem Pakete nicht erfolgreich installiert werden konnten.

v1.0.0

  • Erste Version von OneDrive-Eingabe und OneDrive-Ausgabe.

Alteryx-Tools für die Verbindung

AMP Engine aktivieren

Die AMP Engine muss für Workflows aktiviert sein, die OneDrive-Tools ab Version 2.2.0 enthalten.

Benutzerdefinierte Microsoft Azure API-Anwendung einrichten

Informationen zum Einrichten einer benutzerdefinierten API-Anwendung für dieses Tool finden Sie in unserem Handbuch.