DatabricksDsc

0.5.0-preview0001

This module contains class-based DSC resources for Databricks and Unity Catalog with a focus on Azure.

Minimum PowerShell version

5.0

This is a prerelease version of DatabricksDsc.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name DatabricksDsc -RequiredVersion 0.5.0-preview0001 -AllowPrerelease

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name DatabricksDsc -Version 0.5.0-preview0001 -Prerelease

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Gijs Reijn. All rights reserved.

Package Details

Author(s)

  • Gijs Reijn

Tags

DSC DSCResourceKit DSCResource Databricks DesiredStateConfiguration

Functions

Get-DatabricksUser New-DatabricksUser Remove-DatabricksUser Set-DatabricksUser

DSCResources

DatabricksAccountMetastoreAssignment DatabricksAccountServicePrincipal DatabricksAccountUser DatabricksAccountWorkspacePermissionAssignment DatabricksClusterPolicy DatabricksClusterPolicyPermission DatabricksGroup DatabricksGroupMember DatabricksServicePrincipal DatabricksUser

Dependencies

This module has no dependencies.

Release Notes

## [0.5.0-preview0001] - 2025-11-27

### Added

- Added `DatabricksGroupMember` resource for managing individual group memberships
 - Provides granular control over adding/removing members from groups
 - Key properties: `GroupDisplayName`, `MemberIdentifier`, `MemberType`
 - Supports both User and ServicePrincipal member types
 - Uses `_exist` property: `true` to add member, `false` to remove member
 - Uses workspace-level SCIM API PATCH operations:
   - Add: `{"op":"add","value":{"members":[{"value":"<memberId>"}]}}`
   - Remove: `{"op":"remove","path":"members[value eq \"<memberId>\"]"}`
 - Automatically retrieves group ID and member ID dynamically
 - MemberIdentifier: email for users, application ID for service principals
 - Validates WorkspaceUrl, GroupDisplayName, and MemberIdentifier
 - Includes comprehensive unit tests covering all scenarios
 - Includes example configurations for various use cases

### Changed

- **BREAKING CHANGE**: `DatabricksGroup`
 - **Removed `Members` property** - member management is now handled exclusively
   by the `DatabricksGroupMember` resource for granular control
 - Changed `Modify()` method to use PUT instead of PATCH for group updates
 - Now performs full group replacement (displayName, entitlements, roles only)
 - Removed `BuildGroupPatchPayload()` helper method
 - Removed member-related code from `BuildGroupPayload()` and `CreateFromApiData()`
 - Migration:
   - Remove `Members` property from `DatabricksGroup` configurations
   - Use `DatabricksGroupMember` resource for all member add/remove operations
   - `DatabricksGroup` now only manages group metadata
     (displayName, entitlements, roles)

FileList

Version History

Version Downloads Last updated
0.5.0 47 11/27/2025
0.5.0-previe... (current version) 3 11/27/2025
0.4.2 55 11/26/2025
0.4.2-previe... 3 11/25/2025
0.4.1 74 11/23/2025
0.4.0-previe... 3 11/23/2025
0.4.0-previe... 3 11/22/2025
0.3.0 4 11/21/2025
0.3.0-previe... 3 11/21/2025
0.2.1 6 11/19/2025
0.2.0-previe... 5 11/19/2025
Show more