-
Notifications
You must be signed in to change notification settings - Fork 63
Add DatabricksUser
external help file: azure.databricks.cicd.tools-help.xml Module Name: azure.databricks.cicd.tools online version: schema: 2.0.0
Add a user to Databricks workspace with entitlements and groups
Add-DatabricksUser [[-BearerToken] <String>] [[-Region] <String>] [-Username] <String>
[[-Entitlements] <String[]>] [[-Groups] <String[]>] [<CommonParameters>]
Add a user to Databricks workspace with entitlements and groups. If the user exists the error will be ignored but note that the entitlments and groups requested will not be applied
Add-DatabricksUser -BearerToken $BearerToken -Region $Region -Username [email protected]
This example creates a group called acme
Your Databricks Bearer token to authenticate to your workspace (see User Settings in Databricks WebUI)
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Azure Region - must match the URL of your Databricks workspace, example northeurope
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Email address (matched to AAD) for the user
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
List of entitlements for the user (such as allow-cluster-create )
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
List of GroupId's to be added to (See Get-DatabricksGroups)
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Simon D'Morias/Data Thirst Ltd