< Back

Get-DatabricksServicePrincipals

Sat Jan 11, 2020 9:59 am

NAME Get-DatabricksServicePrincipals



SYNOPSIS

Gets a list of Service principals that have been provisioned in the workspace





SYNTAX

Get-DatabricksServicePrincipals -BearerToken <String> [-Region <String>] [-DatabricksId <String>]

[-ServicePrincipalId <String>] [<CommonParameters>]



Get-DatabricksServicePrincipals [-Region <String>] [-DatabricksId <String>] [-ServicePrincipalId <String>]

[<CommonParameters>]





DESCRIPTION

Gets a list of Service principals that have been provisioned in the workspace





PARAMETERS

-BearerToken <String>

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



Required? true

Position? named

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? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-DatabricksId <String>

Optional. Returns just a single service principal using the internal Databricks Id.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ServicePrincipalId <String>

Optional. Returns just a single service principal using the ServicePrincipalId/ApplicationId/ClientId.



Required? false

Position? named

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 --------------------------



PS C:\\>Get-DatabricksServicePrincipals -BearerToken $BearerToken -Region $Region















RELATED LINKS