Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Get DatabricksServicePrincipals

Simon D'Morias edited this page Oct 18, 2019 · 2 revisions

external help file: azure.databricks.cicd.tools-help.xml Module Name: azure.databricks.cicd.tools online version: schema: 2.0.0

Get-DatabricksServicePrincipals

SYNOPSIS

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

SYNTAX

Bearer

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

AAD

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

DESCRIPTION

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

EXAMPLES

EXAMPLE 1

Get-DatabricksServicePrincipals -BearerToken $BearerToken -Region $Region

PARAMETERS

-BearerToken

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

Type: String
Parameter Sets: Bearer
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Region

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

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DatabricksId

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

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ServicePrincipalId

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

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Author: Simon D'Morias / Data Thirst Ltd

RELATED LINKS

Clone this wiki locally