Skip to content
Components Updated November 27, 2026

OneDrive Excel Sheets

Write Keboola tables to an Excel worksheet in OneDrive, Office 365 or SharePoint, pick or create the workbook and worksheet, and overwrite or append rows.

This data destination connector exports tables from your Storage tables as Excel sheets to Microsoft OneDrive (opens in a new tab).

Microsoft OneDrive (opens in a new tab) cloud storage integrates Office365 (opens in a new tab) and SharePoint (opens in a new tab) sites, so with this connector you can write to any Excel sheet on your personal or business account.

The contents of the sheet can be overwritten or new lines can be added at the end.

Before you start

You need

  • A Microsoft account with OneDrive that you can authorize: a personal account, or a work or school (Office 365) account. To write to a SharePoint site, the account needs access to that site. The connector asks for the Microsoft Graph permissions offline_access, User.Read, Files.ReadWrite.All and Sites.ReadWrite.All. If your organization restricts user consent to apps, a Microsoft Entra admin must approve these permissions before the authorization succeeds.
  • An Excel workbook (XLSX) to write to, or a path where the connector should create one.

What each tab needs

  • Prompt tab Kai, the Kai Agent button in the top bar, on supported stacks. A new Free Plan project has it from the start; elsewhere an organization admin turns it on once: Get started with Kai.
  • UI tab a browser.
  • CLI / API tab kbagent, connected to your project. The checks only read.

Create a new configuration of the OneDrive Excel Sheets data destination connector.
Then, click Authorize Account to authorize the configuration.

Click Add Table to configure the export.

Screenshot - Empty configuration

Select a Table from your buckets and click Add Table.

Screenshot - Add table popup

Use the file picker to list accessible Excel files – workbooks.
Alternatively, you can create a new workbook.

Screenshot - Use file picker

Go through the list and select a file. Click Open to confirm the file you want to write to.

Screenshot - Select file

The target file is specified by Drive ID and File ID. They are automatically filled in.
File Name is for your information only and its change doesn’t affect functionality.

Screenshot - Workbook config

Click Load Worksheets to select a worksheet from the workbook configured in the previous step.
Alternatively, you can create a new worksheet.

Screenshot - Empty worksheet config

In the list that appeared, click the name of the worksheet you want to set as the target.

Screenshot - Select worksheet

The worksheet is specified by Worksheet ID. It is automatically filled in.
Worksheet Name is for your information only and its change doesn’t affect functionality.

You can check the Append checkbox to append new rows after the existing ones;
otherwise, the contents of the worksheet will be overwritten.

Screenshot - Select worksheet

Click Save when you’re done.

Screenshot - Select worksheet

Then click Run Component.

Check:

Prompt
Did the last job of the OneDrive Excel Sheets data destination configuration my-onedrive-config end with success? Give its end time.

Kai only reads here, so it asks for no approval, and its answer links to what it found in your project.

When a table is added to the connector, it is displayed in the list of tables.

Configured tables are stored as configuration rows.

Screenshot - Save

Each table has a different setting, but all tables share the same authorization to OneDrive account.

The list shows the row name, and the source table in Storage.

You can click the row to modify the configuration.

You can create a new workbook instead of using the existing one.

Click Create Workbook.

Screenshot - Create workbook button

Specify the full file Path and click Create.

Screenshot - Create workbook popup

File Name, Drive ID, and File ID are automatically filled in.

You can create a new worksheet instead of using an existing one.

Click Create Worksheet.

Screenshot - Create worksheet button

Specify the worksheet’s Name and click Create.

Screenshot - Create worksheet popup

Worksheet Name, and Worksheet ID are automatically filled in.

Ask Kai

Hi, I'm Kai — Keboola's AI assistant for the docs. Ask me anything and I'll answer from the documentation and cite the pages I use.

Kai is an AI and can make mistakes. Check the sources it links.