---
title: Microsoft 365 Unified Audit Logs connector
description: Ingest Microsoft 365 unified audit events from Entra ID, Exchange, SharePoint, and other workloads with the managed connector in Databricks Lakeflow Connect.
canonical_url: https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/microsoft-365
---

# Microsoft 365 Unified Audit Logs connector

> [!NOTE]
> **Beta**
>
> This feature is in [Beta](https://docs.databricks.com/aws/en/release-notes/release-types.md). To use it, a workspace admin must turn on **Lakeflow Connect for Microsoft 365 Unified Audit Logs** from the **Previews** page. See [Manage Databricks previews](https://docs.databricks.com/aws/en/admin/workspace-settings/manage-previews.md).

The managed Microsoft 365 Unified Audit Logs connector in Lakeflow Connect ingests unified audit events from Microsoft Entra ID, Exchange, SharePoint, and other Microsoft 365 workloads into Databricks.

The connector uses the [Microsoft 365 Management Activity API](https://learn.microsoft.com/office/office-365-management-api/office-365-management-activity-api-reference) to ingest append-only audit events. It doesn't ingest Outlook messages or SharePoint files.

## <a id="feature-availability" />Feature availability

| Feature                                             | Availability                                                                                                                                                                     |
| --------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| UI-based pipeline authoring                         | ![Red X icon](https://docs.databricks.com/aws/en/images/lakeflow-connect/x-red.svg) Not supported                                                                                |
| API-based pipeline authoring                        | ![Green check icon](https://docs.databricks.com/aws/en/images/lakeflow-connect/check-green.svg) Supported                                                                        |
| Declarative Automation Bundles                      | ![Green check icon](https://docs.databricks.com/aws/en/images/lakeflow-connect/check-green.svg) Supported                                                                        |
| Incremental ingestion                               | ![Green check icon](https://docs.databricks.com/aws/en/images/lakeflow-connect/check-green.svg) Supported                                                                        |
| Unity Catalog governance                            | ![Green check icon](https://docs.databricks.com/aws/en/images/lakeflow-connect/check-green.svg) Supported                                                                        |
| Orchestration using Lakeflow Jobs                   | ![Green check icon](https://docs.databricks.com/aws/en/images/lakeflow-connect/check-green.svg) Supported                                                                        |
| API-based column selection and deselection          | ![Green check icon](https://docs.databricks.com/aws/en/images/lakeflow-connect/check-green.svg) Supported                                                                        |
| API-based row filtering                             | ![Red X icon](https://docs.databricks.com/aws/en/images/lakeflow-connect/x-red.svg) Not supported                                                                                |
| SCD Type 2                                          | ![Red X icon](https://docs.databricks.com/aws/en/images/lakeflow-connect/x-red.svg) Not supported<br />Microsoft 365 unified audit events are append-only.                       |
| Automated schema evolution: New and deleted columns | ![Green check icon](https://docs.databricks.com/aws/en/images/lakeflow-connect/check-green.svg) Supported                                                                        |
| Automated schema evolution: Data type changes       | ![Red X icon](https://docs.databricks.com/aws/en/images/lakeflow-connect/x-red.svg) Not supported                                                                                |
| Automated schema evolution: Column renames          | ![Green check icon](https://docs.databricks.com/aws/en/images/lakeflow-connect/check-green.svg) Supported<br />Treated as a new column (new name) and deleted column (old name). |

## <a id="authentication-methods" />Authentication methods

| Authentication method                    | Availability                                                                                                                                                                                                                         |
| ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| OAuth U2M                                | ![Red X icon](https://docs.databricks.com/aws/en/images/lakeflow-connect/x-red.svg) Not supported                                                                                                                                    |
| OAuth M2M                                | ![Green check icon](https://docs.databricks.com/aws/en/images/lakeflow-connect/check-green.svg) Supported<br />A Microsoft Entra application with a client ID, client secret, and Office 365 Management API application permissions. |
| Basic authentication (username/password) | ![Red X icon](https://docs.databricks.com/aws/en/images/lakeflow-connect/x-red.svg) Not supported                                                                                                                                    |

## <a id="get-started" />What to know before you start

> [!NOTE]
>
> Before starting, review the [Databricks user persona](https://docs.databricks.com/aws/en/connect/managed-ingestion.md), [supported interfaces](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/faq.md#interfaces), [ingestion frequency](https://docs.databricks.com/aws/en/ldp/concepts/pipeline-mode.md), and [common patterns](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/common-patterns.md).

## Start ingesting from Microsoft 365

1. **[Configure Microsoft 365 for ingestion](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/microsoft-365-source-setup.md)** (Microsoft 365 and Entra admins). Enable unified auditing and create a Microsoft Entra application for Databricks.
2. **[Create a Unity Catalog connection](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/microsoft-365-connection.md)** (Admins). Create a connection in Catalog Explorer so pipeline authors don't need direct access to the credentials.
3. **[Create an ingestion pipeline](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/microsoft-365-pipeline.md)** (Admins or non-admins). Use Declarative Automation Bundles or a Databricks notebook to create a pipeline from an existing connection.
