๐Ÿ“ง wdfuniverse@gmail.com ๐Ÿ“ž 91-11 45701632 ๐Ÿ“ Plot 5, Sector-3, Dwarka, New Delhi ๐Ÿ•™ 10:00โ€“18:00 Hrs.
๐ŸŽ“ Course โ€” Databricks Identity & Access Management: 2026 Edition ยท Free Online Lecture Series AIM ยท SCIM ยท PIM ยท Unity Catalog Security ยท Audio ยท Video ยท Text
W WDF UniverseKnowledge Agricultureยฎ ยท SDG 2030
Homeโ€บ Online Coursesโ€บ Databricks Identity & Access Management
โ— Course DIAMโ€‘2026 ยท Identity & Access Management Track

Databricks Identity
& Access Management

A free, self-paced deep dive into modern Databricks identity architecture โ€” Automatic Identity Management (AIM), legacy SCIM provisioning, Privileged Identity Management (PIM), nested-group inheritance, identity-divergence troubleshooting, and secretless Unity Catalog storage via Terraform. Built directly from the current Databricks IAM documentation and June 2026 Data + AI Summit platform announcements.

25Scenario Questions
5Modules
3Case Studies
FreeCertificate
Hosted by WDF Universe ยท Course Faculty
Prof. Dr. Sir Hari Om Srivastava
President & CEO, World Development Foundation
Aprajita Srivastava
Hony. Director, World Development Foundation
externalId โ†” ObjectId 5 min / 40 min sync
Databricksworkspace ยท account console
AIM Sync EngineGraph API ยท on-demand pull
Identity ProviderEntra ID ยท Okta ยท source of truth
Course Details

Master the shift from SCIM to Automatic Identity Management

This course is built from a current Databricks IAM study handbook, an architecture infographic, and a production Terraform blueprint โ€” cross-checked against Databricks' own June 2026 Data + AI Summit announcements. It is not an official Databricks certification course; see the FAQ for what "SME" actually refers to.

Subject
Identity & Access Management
Prerequisite
None โ€” Associate-level familiarity helpful
Registration Fee
Free
Delivery
Self-paced, online
Format
Text, tables, code labs, quiz
Certificate
On perfect quiz score

โš™ SCIM โ†’ AIM: THE ARCHITECTURAL SHIFT

AIM replaces a scheduled push model with an on-demand pull model, resolving most of SCIM's structural limitations:

Push sync every 20โ€“40 minutes
โ†’
Pull on-demand: 5 min (login) / 40 min (token/job)
Direct group members only
โ†’
Transitive nested-group & service-principal support
Requires a separate Enterprise App
โ†’
No separate application required
Manual pre-provisioning to share
โ†’
Just-in-Time provisioning on first access
Learning Objectives

After completing this course

๐ŸŒ

Navigate Multi-Cloud IDP Integration

Understand how identity operates as first-party on Azure vs. account-level federation on AWS and GCP, including AWS Unified Login and GCP's BYO-IDP shift.

๐Ÿ”„

Master AIM Sync Mechanics

Explain the Entra ID Graph API pull model, its 5/40-minute cache windows, and the nested-group API/Terraform visibility limit.

๐Ÿฉบ

Diagnose Identity Divergence

Use the AIM Enablement Prep Script's 3-phase audit to resolve externalId mismatches via the SCIM PATCH API.

โšก

Configure JIT Provisioning

Enable frictionless sharing of Apps, Genie Rooms, and AI/BI Dashboards to unprovisioned IdP users.

๐Ÿ”

Harden the Admin Layer with PIM

Enforce time-bound, audited elevation for Account/Metastore Admin roles, and mitigate sync-latency windows.

๐Ÿงฑ

Deploy Secretless Storage Credentials

Provision Unity Catalog storage access via Azure Managed Identities in Terraform โ€” zero secrets, zero manual rotation.

Core Architecture Reference

SCIM vs. AIM, and the Identity Status Lifecycle

The two tables every architect on this course should be able to reproduce from memory.

FeatureSCIM ProvisioningAutomatic Identity Management (AIM)
Sync TargetsUsers and Groups (direct members only)Users, Groups, and Service Principals
Nested Group SupportNo โ€” direct memberships onlyYes โ€” transitive memberships supported
Entra ID App RequirementRequires a separate Enterprise ApplicationNo separate application required
Default AvailabilityManual configurationOn by default for accounts created after Aug 1, 2025
Identity FederationRequiredRequired
Identity StatusTechnical Definition / Trigger
Inactive: No UsageExists in the IdP but has never logged into Databricks (Users/SPs), or has not been added to a workspace (Groups).
ActiveHas successfully authenticated or been actively provisioned into the Databricks environment.
Active: Removed From IdPWas active but has been deleted in the IdP; will deactivate in Databricks on the next sync cycle.
DeactivatedExplicitly deactivated in the IdP, or automatically deactivated by Databricks following an IdP deletion.
DeniedOn the account access denylist โ€” logins blocked, and the principal is excluded from sharing dialogs.
๐Ÿ“Š Visual Reference

The Modern Databricks IAM Architecture โ€” At a Glance

A one-page visual summary of everything covered in the modules below: AIM vs. SCIM architecture, the SCIM deprovisioning lifecycle, the PIM & JIT lifecycle, multi-cloud identity integration, and troubleshooting identity divergence. Worth bookmarking as a quick-reference sheet while you work through the course.

The Modern Databricks IAM Architecture: From SCIM to Automatic Identity Management โ€” infographic covering AIM vs SCIM provisioning, the SCIM deprovisioning lifecycle, the PIM and JIT lifecycle, multi-cloud identity integration across Azure, AWS and GCP, and troubleshooting identity divergence.
Source: The Databricks Identity and Access Management Handbook, 2026 Edition โฌ‡ Download full resolution
Lesson Content ยท Full Text

Course Modules โ€” DIAMโ€‘2026

Five modules in a progressive build order โ€” cloud differences, sync mechanics, troubleshooting, provisioning boundaries, and PIM โ€” each with a practice quiz drawn from the 25 sourced scenario questions.

Module 1Enterprise IDP Integration & Cloud Differences๏ผ‹

Workforce identity behaves differently on each cloud. Azure Databricks treats Entra ID as a first-party, deeply-integrated source of record. AWS and GCP require more explicit configuration to reach the same experience.

Native integration patterns

Azure DatabricksDeep Entra ID integration with AIM as the primary source of record. Managed Identities are highly recommended for Unity Catalog storage access to eliminate secret management. Billing is unified via Microsoft commercial agreements.
Databricks on AWSAWS Unified Login streamlines authentication across the account and all workspaces at once. Connects to Entra ID or Okta via SSO/SCIM. IAM Role Assumption is the preferred "secretless" pattern for S3 access.
Google Cloud (GCP)Shifting to a Bring-Your-Own-IdP (BYO-IdP) model, replacing default Google Identity configurations. Requires credential configuration during the "Test Connection" phase to link GCP projects with an enterprise identity source.

Exam tip

The "secretless" strategic recommendation applies across every cloud: Azure Managed Identities or AWS IAM Role Assumption โ€” never long-lived service principal keys.

Practice Questions โ€” Module Quiz

Click an option to reveal whether it's correct.

Module 2Automatic Identity Management (AIM): GA & Sync Mechanics๏ผ‹

AIM's General Availability removes the barrier of pre-provisioning entirely. Under AIM, you can share Unity Catalog objects or AI/BI dashboards with any user in your Entra ID directory โ€” the platform searches the whole IdP directory in real time, and the user is provisioned automatically on first access.

Sync intervals and operational latency

Browser logins: sync if >5 minutes elapsed Token/job authentication: sync if >40 minutes elapsed

Nested groups, service principals & JIT

  • Inheritance: members of child groups automatically inherit the parent group's permissions.
  • UI visibility limit: only the first level of nesting is visible on the group detail page in the Account Console.
  • API/Terraform blind spot: nested groups and service principals not directly provisioned to the account are view-only โ€” they cannot be retrieved or managed via the Databricks Terraform provider or SCIM APIs unless explicitly provisioned.
  • JIT is mandatory with AIM and cannot be disabled โ€” new users are created automatically on first login. Service principals must complete a "first use" (token auth or job run) before they appear in the directory, even inside a synced group.
databricks accounts groups create --display-name "DB-Metastore-Admins" \ --external-id "<ENTRA_ID_GROUP_OBJECT_ID>"

Exam tip

Note the 2026 behavior change: the default workspace "users" system group will have no entitlements โ€” workspace entitlements must be granted explicitly when adding principals, rather than inherited by default.

Practice Questions โ€” Module Quiz

Click an option to reveal whether it's correct.

Module 3Troubleshooting Identity Divergences (The AIM Prep Notebook)๏ผ‹

Identity divergence occurs when the IdP's unique ID (ObjectID) and the Databricks externalId fall out of sync โ€” typically surfacing as duplicate entries in sharing modals. Treat this as a pre-migration governance audit requirement.

AIM Enablement Prep Script โ€” 3 phases

  • Phase 1 (Workspace Compatibility): identifies non-federated workspaces, since AIM requires identity federation.
  • Phase 2 (Identity Gathering): aggregates all existing account identities into CSV reports.
  • Phase 3 (Divergence Check): compares Databricks records against the IdP to flag mismatches.

Diagnostic guide

ErrorTechnical MeaningAction to Take
EXTERNAL_ID_NOT_IN_IDPexternalId does not exist in the IdPUpdate to a valid ObjectID, or remove it
EXTERNAL_ID_MATCH_NAME_MISMATCHCorrect ID, but the username differsUsers/SPs: update username (support ticket). Groups: rename group.
NAME_MATCH_EXTERNAL_ID_MISMATCHName matches the IdP, but the ID is wrongUpdate the Databricks externalId to the IdP's ObjectID
GROUP_HAS_LOCAL_MEMBERS...Group contains manually-added local membersRemove local members to restore the IdP as source of truth
# Resolve NAME_MATCH_EXTERNAL_ID_MISMATCH via SCIM PATCH PATCH /api/2.1/accounts/<accountId>/scim/v2/Users/<databricksId> { "schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"], "Operations": [ { "op": "replace", "path": "externalId", "value": "<ENTRA_ID_OBJECT_ID>" } ] }

Exam tip

Renaming a group in the IdP is not proactive โ€” the change only reflects in Databricks once an administrator opens that group's detail page in the Account Console. Also note: removing an externalId (setting it empty) is currently supported for Groups only.

Practice Questions โ€” Module Quiz

Click an option to reveal whether it's correct.

Module 4Just-In-Time Provisioning & Sharing Boundaries๏ผ‹

SSO-based JIT provisioning enables frictionless sharing of Databricks Apps, Genie Rooms, and AI/BI Dashboards to unprovisioned IdP users โ€” while SCIM remains active as a fallback deprovisioning channel to handle hard deletes and credential deactivation.

Context-Based Ingress (CBI) โ€” Public Preview

CBI allows administrators to enforce dynamic, zero-trust policies that restrict user access to sensitive platform layers, while safely exposing specific data apps, AI/BI dashboards, and Genie endpoints to unprovisioned external users โ€” without exposing the full workspace UI.

Account-level vs. workspace-level asset sharing

Workspace-level assets require the admin to first add the group to the workspace; account-level assets can be shared with any Entra ID group directly, since AIM searches the whole directory on demand.

Practice Questions โ€” Module Quiz

Click an option to reveal whether it's correct.

Module 5Securing the Admin Layer with PIM๏ผ‹

For sensitive roles like Account Admin, enforce "Least Privilege" via Microsoft Entra ID Privileged Identity Management (PIM), using Entra ID P2 or Governance licenses to grant time-bound, audited group role activation.

The synchronization delay

PIM activation in the Azure portal is instant for Azure RBAC. But because Databricks relies on its own internal sync cycles, there's a known delay of up to 40 minutes before the elevated group membership is recognized inside Databricks under legacy SCIM โ€” advise users to activate PIM roughly 45 minutes before performing sensitive operations if SCIM is still in use. AIM's 5-minute browser-login cache window shortens this dramatically.

Governance & auditing

endpoint: "autoUserCreation" โ€” flags AIM-driven operations groupMembershipType: "IdentityProvider" โ€” filters IdP-synced memberships

Exam tip

PIM is designed for human users โ€” it does not support Service Principals. Success always depends on the AIM sync cycle actually recognizing the dynamic group membership update.

Practice Questions โ€” Module Quiz

Click an option to reveal whether it's correct.

Applied Scenarios

Three Full Case Studies

Worked scenarios showing the mechanics above applied to real production incidents.

Case Study A โ€” Mitigating JIT Administrative Role Elevation Latency (PIM Integration)

The Problem

A platform administrator activates their "Metastore Admin" group role via Azure PIM. Immediately after, they hit a Permission Denied error trying to configure Unity Catalog storage credentials โ€” because the organization's SCIM connector only syncs every 20โ€“40 minutes, while Entra ID updated instantly.

Under the Hood

SCIM is a push model on a scheduled interval; it has no idea the PIM activation happened until its next sync cycle runs. AIM instead uses direct Microsoft Graph API queries triggered by authentication checks โ€” group memberships refresh dynamically based on activity (5 min for browser logins, 40 min for token/job auth).

Resolution

Decommission the legacy SCIM connector via Security โ†’ User Provisioning in the Account Console. Register the PIM-managed group in Databricks with its Entra ID ObjectId as the externalId. Once activated, a fresh browser login lets AIM query Graph API within its 5-minute cache window โ€” privileges resolve almost instantly.

Case Study B โ€” Nested Group Access Cascades and Programmatic API Boundaries

The Problem

An architect builds Marketing-All (parent, explicitly provisioned) with nested children Marketing-US and Marketing-EU. A nightly audit script queries the SCIM API for members of Marketing-US and gets an empty result or 404 โ€” even though those users are actively working in the workspace.

Under the Hood

AIM grants access transitively without pre-provisioning the entire hierarchy, to avoid account-limit bloat in tenants with deep nesting. Because the child groups were never directly provisioned, they're visible in the Account Console UI but cannot be retrieved, searched, or managed via the SCIM API or Terraform.

Resolution

If only access inheritance is needed, nothing changes โ€” permissions cascade transitively. To make a child group independently queryable, explicitly provision it as its own group shell via POST /api/2.1/accounts/<accountId>/scim/v2/Groups with its Entra ID ObjectId set as the externalId.

Case Study C โ€” Troubleshooting Identity Divergences on AIM Transition

The Problem

A 10,000-user organization migrates from a legacy SCIM connector to AIM. Admins notice duplicate identities in sharing modals, new Entra ID groups sharing names with legacy local groups failing to sync, and dashboard-share member counts not matching the actual member list.

Under the Hood

AIM relies on the provisioned identity's externalId matching the IdP's ObjectId. Manually-created or outdated-SCIM-mapped identities may have a missing or mismatched externalId, so Databricks treats the local and IdP identities as two separate objects. Databricks also enforces a strict unique group-name constraint at the account level, which blocks provisioning when a legacy group already reserved that name.

Resolution

Run the AIM Enablement Prep Script's divergence scan (an account-admin service principal executes run_divergence against config.py's ACCOUNT_ID). Triage NAME_MATCH_EXTERNAL_ID_MISMATCH entries via SCIM PATCH to correct the externalId, and triage GROUP_HAS_LOCAL_MEMBERS_WITHOUT_EXTERNAL_ID by removing local members and re-adding legitimate ones directly in Entra ID.

Hands-On Lab

Secretless Unity Catalog Storage with Terraform

A complete, production-grade Terraform blueprint for onboarding ADLS Gen2 storage into Unity Catalog using Azure Managed Identities โ€” eliminating manual secret rotation entirely.

๐Ÿ—„๏ธ

ADLS Gen2 Storage

Hierarchical namespace enabled (is_hns_enabled = true) โ€” mandatory for Delta Lake directory-level transactional guarantees, with public access denied by default.

๐Ÿ”—

Access Connector

A System-Assigned Managed Identity โ€” the first-party, secretless cloud identity layer Databricks recommends for metadata connectivity.

๐Ÿ›ก๏ธ

Role Assignment

Grants the Managed Identity "Storage Blob Data Contributor" scoped directly to the target storage account โ€” no keys, no client secrets.

๐Ÿ“œ

UC Storage Credential & External Location

Registers the Access Connector as a Storage Credential, then scopes it to a safe abfss:// path as an External Location.

# Access Connector โ€” hosts the System-Assigned Managed Identity resource "azurerm_databricks_access_connector" "uc_access_connector" { name = var.access_connector_name resource_group_name = azurerm_resource_group.rg.name location = azurerm_resource_group.rg.location identity { type = "SystemAssigned" } } # Register it in Unity Catalog as a Storage Credential โ€” no secrets, no keys resource "databricks_storage_credential" "uc_credential" { name = var.storage_credential_name azure_managed_identity { access_connector_id = azurerm_databricks_access_connector.uc_access_connector.id } comment = "Secretless credential managed by Terraform using Databricks Access Connector System Identity" depends_on = [azurerm_role_assignment.storage_data_contributor] } # External Location scoped to a governed abfss:// path resource "databricks_external_location" "uc_external_location" { name = var.external_location_name url = "abfss://${azurerm_storage_container.container.name}@${azurerm_storage_account.adls_gen2.name}.dfs.core.windows.net/" credential_name = databricks_storage_credential.uc_credential.id comment = "Governed external path for production Silver and Gold medallion tables" } # RBAC: Admins get full control, Data Engineers get read/write files only resource "databricks_grants" "location_grants" { external_location = databricks_external_location.uc_external_location.id grant { principal = var.admin_group_name privileges = ["ALL_PRIVILEGES"] } grant { principal = var.data_engineers_group_name privileges = ["READ_FILES", "WRITE_FILES"] } }

Full blueprint (~230 lines) additionally covers: storage-account network firewall rules with IP/subnet allow-lists, the resource group and container provisioning, and Terraform outputs for the connector's principal ID and the registered External Location URL. Deploy with the standard lifecycle: terraform init โ†’ terraform plan -out=tfplan โ†’ terraform apply tfplan.

Spaced Practice ยท 20 Cards

Flashcards โ€” Core IAM Facts

A rapid-recall deck spanning sync intervals, error diagnostics, provisioning rules, and multi-cloud identity patterns. Read the question, think of your answer, then flip the card to check yourself. Mark each card "Got It" or "Still Learning" to build a focused review queue.

Card 1 / 20
Question
Loadingโ€ฆ
Click to flip โ†ป
Answer
Click to flip โ†ป
Academic & Technical Bibliography

References & Further Reading

Compiled from a Databricks IAM study handbook, an architecture infographic, a production Terraform blueprint, and current Databricks product announcements.

01
The Databricks Identity and Access Management HandbookFive-module deep dive: IDP integration, AIM sync mechanics, troubleshooting divergences, JIT & sharing, and PIM โ€” the core source for this course.
02
"The Modern Databricks IAM Architecture" โ€” InfographicFull visual reference embedded above: AIM vs. SCIM provisioning, the SCIM deprovisioning lifecycle, the PIM & JIT lifecycle, multi-cloud identity integration, and troubleshooting identity divergence.
03
unity-catalog-storage.tf โ€” Production Terraform BlueprintFull onboarding of ADLS Gen2 storage into Unity Catalog using Azure Access Connector Managed Identities and strict RBAC grants.
04
Databricks Data + AI Summit 2026 โ€” Platform AnnouncementsGeneral Availability of AIM for Entra ID on AWS and GCP; AIM for Okta entering Public Preview; Context-Based Ingress in Public Preview.
05
AIM Enablement Prep Script DocumentationThe 3-phase (Workspace Compatibility โ†’ Identity Gathering โ†’ Divergence Check) audit workflow referenced throughout Module 3.
06
SME Scenario Question Bank (25 questions, sourced)Advanced exam-style scenario questions with hints, used to build the module quizzes and the practice quiz below.
All 25 Sourced Scenario Questions

Sample Scenario Questions

All 25 fully-sourced scenario questions from the course material, grouped exactly as they appear in the modules above. Click any option to reveal the answer and hint. (Two questions from the original 27-question bank โ€” #24 and #27 โ€” did not extract cleanly from the source document and are omitted rather than invented.)

Lesson Assessment ยท Qualify for Certificate

Practice Quiz โ€” Databricks Identity & Access Management

Ten questions drawn from the module content above, spanning all five modules. Answer all correctly to unlock your certificate โ€” retry as many times as you like.

You have studied:

  • AIM vs. SCIM architecture, sync intervals, and nested-group inheritance limits
  • Diagnosing and resolving identity divergence via the SCIM PATCH API
  • PIM latency, multi-cloud identity patterns, and secretless Terraform storage credentials
Certificate of Completion

Print Your Certificate

Score 10/10 on the quiz above to generate your personalized certificate below.

WDF Universe ยท World Development Foundation

New Delhi, India ยท wdfuniverse.org
proudly presents this

Certificate of Course Completion

This is to certify that

โ€” your name โ€”

has successfully completed

Subject: Databricks Identity & Access Management
Course Module DIAMโ€‘2026: AIM, SCIM & Unity Catalog Security
Topic: Automatic Identity Management, PIM, Identity Divergence Troubleshooting & Secretless Terraform

Quiz Score: โ€” / 10

Course content compiled from a Databricks IAM study handbook, architecture infographic, and Terraform blueprint (2026)
Hosted by World Development Foundation (WDF) for the Global Community

Prof. Dr. Sir Hari Om SrivastavaKStJ ยท D.Litt ยท Ph.D ยท Scientist
President & CEO, World Development Foundation
Aprajita SrivastavaHony. Director, World Development Foundation, New Delhi
Course Code: DIAMโ€‘2026โ€‘MC001
Date of Issue: โ€”
Quick Reference

Frequently Asked Questions

Is "Databricks Subject Matter Expert" an official Databricks certification?

No. Databricks Inc.'s official certifications are the Data Engineer Associate/Professional, Data Analyst Associate, ML Associate/Professional, Generative AI Engineer Associate, Context Engineering Associate, and Associate Developer for Apache Spark. "Subject Matter Expert" identity badges (e.g. via EdChart on Credly) are third-party credentials, not issued by Databricks. This course gives genuine technical depth on Databricks IAM โ€” content that also directly supports the Identity and Access domain of the official Azure Databricks Certified Associate Platform Administrator exam โ€” without misrepresenting its certification status.

Do I need prior Databricks experience?

No formal prerequisite, but familiarity with Unity Catalog fundamentals and basic Databricks administration will help the material land faster, especially in Modules 2 and 3.

Why are only 25 of the 27 source scenario questions included?

Questions 24 and 27 did not extract cleanly from the source document โ€” their question text was missing even though the answer key listed answers for them. Rather than inventing plausible-sounding content to fill the gap, this course presents only the 25 questions with fully verified, sourced text.

What's the most-repeated "gotcha" across the question bank?

The distinction between what AIM grants transitively (access) versus what it actually provisions (a queryable local object). Nested child groups get real access through inheritance, but stay invisible to the SCIM API and Terraform unless explicitly provisioned as their own group shell โ€” this exact pattern appears across several scenario questions.

Is this course affiliated with Databricks?

No โ€” this is an independent, free study course compiled from a study handbook, an architecture infographic, and a Terraform blueprint, cross-checked against Databricks' public product announcements, for educational purposes only.