Odoo Microsoft Fabric integration

Microsoft Fabric Connector

Put Odoo tables into your Microsoft Fabric lakehouse, on a schedule.

Microsoft Fabric and Odoo 19

What it does

Choose a model, the columns and a filter. Odoo writes a CSV file to the Files area of your lakehouse in OneLake and asks Fabric to load it into a Delta table, as a full copy or as the changed rows only. A data pipeline can run straight after the load.

You register an app in Microsoft Entra, give it access to your Fabric workspace and paste the tenant ID, client ID and secret into Odoo. Test Connection signs in, lists the lakehouses of the workspace and checks the one you picked. Read Workspace Items also lists your data pipelines.

Each lakehouse table is one Odoo model with the columns you tick. The record id is always the first column; a many-to-one field gives two columns, the id and the name, so you can join tables or just read them. Records are read with the rights of the user you choose, so record rules and company rules still apply.

On each run Odoo writes the file to Files/odoo/<table>/ with the OneLake file API (create, append in 4 MB parts, flush) and then calls the Load Table API: Overwrite for a full copy, Append for changed records only. The run keeps the file name, row count, size and the load status that Fabric reports.

This module sends data into Fabric. It does not serve an OData feed for Power BI Desktop and it does not embed reports in Odoo; that is a different job. Once the tables are in the lakehouse, Power BI, notebooks and the SQL analytics endpoint read them as usual.

Who it is for

  • Data teams that report from Microsoft Fabric. Your analysts build Power BI reports and notebooks on a Fabric lakehouse and want Odoo data next to the rest. Pick a model, its columns and a filter, and Odoo writes a CSV to OneLake and loads it into a Delta table on a schedule.
  • Companies with large tables that change slowly. Copying every sales line each night is wasteful. Changed records only mode sends the rows written since the last run and appends them, while Full copy replaces the table each time.
  • Teams with a pipeline that runs after the load. If a Fabric data pipeline cleans or joins the data, the table can start it once its load has succeeded, so the pipeline always works on fresh rows.
  • Administrators who must control what leaves Odoo. Records are read with the access rights and record rules of a user you choose. User, technical and settings models can't be selected, and neither can binary, image or password-like fields.

Setting it up

  1. In Microsoft Entra, register an app, create a client secret and note the Tenant ID and Application (Client) ID.
  2. In Fabric, open the workspace, choose Manage access and add the app as Contributor. Create a lakehouse there if you don't have one.
  3. Install the module, open Microsoft Fabric > Configuration > Connections and enter the tenant, client ID, secret and Workspace ID.
  4. Press Test Connection, then Read Workspace Items, and press Use This Lakehouse on the lakehouse you want.
  5. Under Microsoft Fabric > Lakehouse Tables, create a table: name, Odoo model, columns, filter, mode, the Read Records As user and how often it runs.
  6. Press Preview Rows to check the output, then Export Now and follow the load under Microsoft Fabric > Export Runs.

Microsoft Fabric Connector: questions

Is this a Power BI connector?

No. It pushes data into a Fabric lakehouse. There's no OData feed, no report embedding and no Power BI dataset in this module; Power BI reads the lakehouse tables in the usual way.

Are records deleted in Odoo removed from Fabric?

Only in Full copy mode, where the table is overwritten on each run. Changed records only mode never sends deletions, so plan an occasional full copy if they matter.

How do relational fields appear in the table?

A many-to-one field gives two columns, the id and the name. One-to-many and many-to-many fields give a single column with the linked ids separated by spaces. The record id is always the first column.

Which Fabric APIs does it use?

OneLake's ADLS Gen2 path API for the upload, the lakehouse Load Table API for the Delta table and the Job Scheduler API for pipelines. Microsoft still lists Load Table as preview, so you can untick Load into Delta Table and load the CSV yourself.

What do I need from Microsoft?

A Fabric capacity, a workspace with a lakehouse and an Entra app with a client secret. The module uses client credentials only, so no user has to sign in.

Does it run on Community?

Yes. It depends only on base and mail plus the requests library, and works on Community, Enterprise and Odoo.sh. Each connection belongs to one company.