Skip to main content

databricks-azure-ad-sync-provider

databricks-azure-ad-sync-provider is a package that allows to sync users, groups and service principals from Microsoft Entra ID to Databricks.

Requirements

databricks-azure-ad-sync-provider is built on top of:

  • python 3.9+

Authentication

Authenticate to you Microsoft Entra ID and Azure Databricks to use the package. There are multiple ways available for that, we suggest the following:

1. With Azure CLI

  • Authenticate to your Azure account on your machine with az login.

  • Specify necessary variables

    1. With environment variables: Setup for DATABRICKS_HOST and DATABRICKS_ACCOUNT_ID
    2. With a .databrickscfg file: Create the .databrickscfg file (~ for Linux or macOS, and %USERPROFILE% for Windows) containing the following info:
    [DEFAULT]
    host = https://accounts.azuredatabricks.net/
    account_id = <Databricks account id>
    

2. With Microsoft Entra ID service principal:

  • Create a service principal in Microsoft Entra ID and add it to Azure Databricks and grant it target permissions (see reference documentation).

  • Specify necessary variables

    1. With environment variables

    2. With a .databrickscfg file: Create a .databrickscfg file (~ for Linux or macOS, and %USERPROFILE% for Windows) containing the following info:

    [DEFAULT]
    host = https://accounts.azuredatabricks.net/
    account_id = <Databricks account id>
    azure_tenant_id = <Azure tenant id>
    azure_client_id = <Azure service principal application ID>
    azure_client_secret = <Azure service principal secret>
    

Installation

pip install databricks-azure-ad-sync-provider

Usage

Sync execution

<fct_name> -f/--file <path to your yaml file> -d/--delete
  • -f/--file
  • -d/--delete: If provided, this enablew to delete identities in Databricks.

Release files for databricks-azure-ad-sync-provider 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for databricks-azure-ad-sync-provider 0.1.4
File Size Uploaded
databricks-azure-ad-sync-provider-0.1.4.tar.gz 12.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for databricks-azure-ad-sync-provider 0.1.4
File Interpreter ABI Platform
databricks_azure_ad_sync_provider-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 25.5 kB

Release files / databricks-azure-ad-sync-provider-0.1.4.tar.gz

Download URL databricks-azure-ad-sync-provider-0.1.4.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8eaceb830579f275b132e69ff619b3208a4ee639582db9b3805eba3506075547
BLAKE2b-256 checksum
How to use checksums
7f7816a0964f16db7733d2b030664e17bd225592df788a5099709197815a40aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.8.1 CPython/3.10.10

Release files / databricks_azure_ad_sync_provider-0.1.4-py3-none-any.whl

Download URL databricks_azure_ad_sync_provider-0.1.4-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ee5fa8dffed9f765a18909b9c189a1d2b3d3addaadb9d1f64e998de6109a534
BLAKE2b-256 checksum
How to use checksums
a389b46969ecab5f43199f4f9a0968efa83a76644b2d61957a6082b0ab9792d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.8.1 CPython/3.10.10

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page