Skip to main content

Lakehouse as a Service: export data to your own Azure storage

Overview

Lakehouse as a Service is Zero Friction’s data export. Once the integration is active, your operational data — including meters, consumption, customers, contracts, invoices and payments — is delivered every night into an Azure storage account that you own and control.

You then connect your own reporting tool or data warehouse (for example Power BI, Microsoft Fabric, Databricks or Synapse) directly to that storage. This is different from the ready-made reports inside Zero Friction: here you receive the underlying data to build your own analyses.

Lakehouse as a Service consists of three parts:

  1. Azure prerequisites — your own storage account, a directory for the export, and an app registration that Zero Friction can use to write files.

  2. The Reporting card in Zero Friction — under Configuration you activate the integration and enter the export details.

  3. Daily export — every night a full copy of the supported data is written to your storage as Parquet files.

The Reporting card can only be connected if Lakehouse as a Service is enabled for your organisation. If you see the card but cannot connect, ask your Zero Friction contact to turn access on.

What do you need before you start?

Have the following ready in Azure. Without these steps, the connection test or activation will fail.

  • An Azure Storage account with hierarchical namespace enabled (ADLS Gen2). A standard Blob account without this option will not work.

  • A directory (container or folder) in that account where files may land, for example gold.

  • A Microsoft Entra ID app registration (service principal) with a client secret.

  • The service principal has at least the Storage Blob Data Contributor role on the target account or path.

  • If a firewall is enabled on the storage account, trusted Microsoft access must be allowed, otherwise the connection test fails.

  • The export location is the HTTPS DFS endpoint, for example https://youraccount.dfs.core.windows.net/ — not the address that ends with .blob.core.windows.net.

Always use the DFS endpoint (.dfs.core.windows.net). The blob endpoint is rejected.

How do you activate the integration?

Go to: Configuration > General > Integrations > Reporting

  1. Open the Reporting card and choose the Settings tab.

  2. In Export location, enter the DFS URI of your storage account, for example https://youraccount.dfs.core.windows.net/.

  3. In Directory, enter the container or folder where the export should be written, for example gold.

  4. In Microsoft Entra ID tenant ID, enter the directory that owns the service principal.

  5. In Service principal application (client) ID, enter the application (client) ID of the app registration.

  6. In Service principal client secret, enter the secret of the app registration.

  7. Click Test connection. A successful test confirms write access.

  8. Click Connect to activate. The card shows Active once the integration is ready.

The first files appear after the next overnight export.

The client secret is never pre-filled, for security reasons. Whenever you change the location, directory, tenant ID or application ID — or rotate the secret — you must enter the secret again so the connection can be re-created.

What data do you receive, and how is it laid out?

Exports land in this structure:

<your storage account>/<your directory>/zero_friction/<organisation id>/<table name>/

  • Files are written in Parquet (Snappy compression).

  • Every night a full copy of all supported tables is rewritten (not an incremental delta).

  • Timestamps use your organisation’s time zone. If that time zone is unknown, the export falls back to UTC.

  • New tables or columns may be added over time. Select columns by name, not by position, and treat new columns as optional.

You receive data such as (table name in brackets):

  • Master data — contracts (contract), customers (customer), customer groups (customergroup), meters (meter), move requests (moverequest), location groups (propertygroup), locations (servicelocation).

  • Billing and payments — invoices (invoice), annual statements (annualstatement), collection cases (collectioncase), payments (payment), payment plans (paymentplan), bank transactions, transactions and estimated invoices.

  • Configuration — products, tariffs, tax codes, collection flows, input variables, bank holiday calendar, location group billing settings.

  • Metering — consumption (consumption / serviceconsumption), measurements (measurement), meter issues (meteringissue).

  • PAYG / prepayment — PAYG accounts, issues and statements.

  • Communication — communication entries and subjects.

  • Online payments — payment intents (paymentintent).

Lists inside an entity (for example invoice lines or a meter’s status history) become a separate child table, such as invoice_line or meter_statushistory. Those tables point back to the parent through ParentId.

A few table names follow the data model rather than the label in the application. For UK organisations, servicelocation is what you see as a dwelling and propertygroup is what you see as a site.

The customer table always contains one extra supplier row. It is not a real customer: it represents your own organisation. Exclude it from customer counts; keep it when reconciling bank transactions or payments, because unmatched amounts may be booked against it.

Updating settings or disconnecting

  1. Go to Configuration > General > Integrations > Reporting and open the card.

  2. Update settings: change the fields, enter the client secret again and save. The connection is then re-created.

  3. Deactivate: disconnecting stops future exports. Files already in your storage are left untouched.

Re-activating after an Azure-side change (new secret, different folder or account) creates the connection from scratch.

Troubleshoot

Problem

Solution

The Reporting card cannot be connected or is missing.

Ask your Zero Friction contact whether Lakehouse as a Service is enabled for your organisation. Also check that you have rights on Configuration > Integrations.

Message that the export location URI format is invalid.

Use the HTTPS DFS address ending in .dfs.core.windows.net/, with no extra path after the host.

Connection test or activation fails: cannot reach the storage account.

Check the export location, directory, tenant ID, application ID and secret. Confirm hierarchical namespace, the Storage Blob Data Contributor role, and that the firewall allows trusted Microsoft access.

The card is Active, but no (new) files appear.

Wait until after the overnight export. Confirm you are looking in the correct directory and organisation folder. If it stays empty, contact support.

The integration shows Failed after a change in Azure.

Enter the new secret (and the new location if needed) and save the settings again, or re-activate.

FAQ

Is this the same as the reports in Zero Friction?
No. The in-app reports are ready-made overviews. Lakehouse as a Service delivers the underlying data into your own Azure storage so you can build your own dashboards and analyses.

How often is the data refreshed?
Once a night, as a full copy. Yesterday’s data is typically available the following morning. Incremental updates (changes only) are planned later.

Do I receive historical data?
Yes. Each export contains the full set of supported data that currently exists in Zero Friction, not only new records from that day.

Can I have more than one export destination at the same time?
No. Each organisation has one active destination. Update the settings to point to a different location.

Are existing files deleted if I disconnect?
No. Deactivation only stops future exports. What is already in Azure remains unchanged.

Which time zone do timestamps use?
Your organisation’s time zone. If that is unknown, UTC.

Why do I see an extra “supplier” customer?
That row represents your own organisation and catches bank movements that could not be matched to a real customer. Exclude it from customer analyses.

Does this work without Microsoft Azure?
An Azure Data Lake Storage Gen2 account is required for now. Other cloud providers are not supported yet.

Did this answer your question?