< Back

Add-DatabricksUser

Sat Jan 11, 2020 9:52 am

NAME Add-DatabricksUser



SYNOPSIS

Add a user to Databricks workspace with entitlements and groups





SYNTAX

Add-DatabricksUser [[-BearerToken] <String>] [[-Region] <String>] [-Username] <String> [[-Entitlements]

<String[]>] [[-Groups] <String[]>] [<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-BearerToken <String>

Your Databricks Bearer token to authenticate to your workspace (see User Settings in Databricks WebUI)



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Region <String>

Azure Region - must match the URL of your Databricks workspace, example northeurope



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Username <String>

Email address (matched to AAD) for the user



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Entitlements <String[]>

List of entitlements for the user (such as allow-cluster-create )



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Groups <String[]>

List of GroupId's to be added to (See Get-DatabricksGroups)



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





Author: Simon D'Morias/Data Thirst Ltd



-------------------------- EXAMPLE 1 --------------------------



C:\\PS>Add-DatabricksUser -BearerToken $BearerToken -Region $Region -Username BillyBob@datathirst.net



This example creates a group called acme











RELATED LINKS