Last active
May 9, 2025 10:30
-
-
Save abij/c234b3437a770376ba34081281687bb7 to your computer and use it in GitHub Desktop.
Create new Databricks Account-level group with admin permissions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use the databricks-cli | |
# | |
# 1. Login as account-admin into Account Console | |
# 2. Save into profile "ACCOUNT" | |
# | |
# databricks auth login --profile ACCOUNT --host https://accounts.azuredatabricks.net --account-id 1234-2134-1234-1234 | |
databricks account --profile ACCOUNT groups create --json @databricks-account-console-admin-group.json --output json > created.json | |
# Use jq to get the Id of the group: | |
group_id=$(cat created.json | jq -r ".id") | |
# Show current value of the group: | |
databricks account --profile ACCOUNT groups get $group_id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"displayName": "Databricks Account Admins", | |
"roles": [{"type": "direct", "value": "account_admin"}], | |
"schemas": ["urn:ietf:params:scim:schemas:core:2.0:Group"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment