Skip to content

Get-AzPrivateEndpointConnection: missing support for Azure Data Explorer (Microsoft.Kusto/clusters) #27883

Open
@jtrivett

Description

@jtrivett

Description

The Az.Network cmdlet Get-AzPrivateEndpointConnection returns the following error message when passing a PrivateLinkResourceId which points to an Azure Data Explorer resource (Microsoft.Kusto/clusters):

PS /home/jtrivett> Get-AzPrivateEndpointConnection -PrivateLinkResourceId  '/subscriptions/<redacted>/resourceGroups/<redacted>/providers/Microsoft.Kusto/clusters/<redacted>'

Get-AzPrivateEndpointConnection: Microsoft.Kusto/clusters doesn't support private endpoint connection.

Azure Data Explorer supports Private Endpoint and has for at least a year.

Issue script & Debug output

DEBUG: 02:10:17 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 02:10:17 - GetAzurePrivateEndpointConnection begin processing with ParameterSet 'ByPrivateLinkResourceId'.
DEBUG: 02:10:17 - using account id '<redacted>'...
DEBUG: 02:10:17 - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Network], Cmdlet = [Get-AzPrivateEndpointConnection]. Returning default value [True].
DEBUG: 02:10:17 - [ConfigManager] Got nothing from [EnableErrorRecordsPersistence], Module = [Az.Network], Cmdlet = [Get-AzPrivateEndpointConnection]. Returning default value [False].
Get-AzPrivateEndpointConnection: Microsoft.Kusto/clusters doesn't support private endpoint connection.
DEBUG: 02:10:17 - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Network], Cmdlet = [Get-AzPrivateEndpointConnection]. Returning default value [True].
DEBUG: 02:10:17 - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 02:10:17 - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 02:10:17 - No authentication telemetry is found for the current cmdlet with Id 148d8145-1a5c-4a9d-9de7-ae57ee469f36.
DEBUG: AzureQoSEvent:  Module: Az.Network:7.16.2; CommandName: Get-AzPrivateEndpointConnection; PSVersion: 7.4.4; IsSuccess: False; Duration: 00:00:00.0112049; SanitizeDuration: 00:00:00; Exception: Microsoft.Kusto/clusters doesn't support private endpoint connection.;
DEBUG: 02:10:17 - [ConfigManager] Got nothing from [EnableDataCollection], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 02:10:17 - GetAzurePrivateEndpointConnection end processing.

Environment data

Name                           Value
----                           -----
PSVersion                      7.4.4
PSEdition                      Core
GitCommitId                    7.4.4
OS                             Ubuntu 22.04.4 LTS
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     5.0.1                 Az.Accounts                         {Add-AzEnvironment, Clear-AzConfig, Clear-AzConte…
Script     7.16.2                Az.Network                          {Add-AzApplicationGatewayAuthenticationCertificat

Error output

DEBUG: 02:15:46 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 02:15:46 - ResolveError begin processing with ParameterSet 'AnyErrorParameterSet'.
DEBUG: 02:15:46 - using account id '<redacted>'...
DEBUG: 02:15:46 - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Accounts], Cmdlet = [Resolve-AzError]. Returning default value [True].
DEBUG: 02:15:46 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].

   HistoryId: 3

Message        : Microsoft.Kusto/clusters doesn't support private endpoint connection.
StackTrace     :    at Microsoft.Azure.Commands.Network.PrivateEndpointConnectionBaseCmdlet.BuildProvider(String subscr
                 iption, String privateLinkResourceType)
                    at Microsoft.Azure.Commands.Network.GetAzurePrivateEndpointConnection.Execute()
                    at Microsoft.Azure.Commands.Network.NetworkBaseCmdlet.ExecuteCmdlet()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.<ExecuteSynchronously
                 OrAsJob>b__3_0(T c)
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T]
                 (T cmdlet, Action`1 executor)
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T]
                 (T cmdlet)
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
Exception      : Microsoft.Azure.Commands.Common.Exceptions.AzPSApplicationException
InvocationInfo : {Get-AzPrivateEndpointConnection}
Line           : Get-AzPrivateEndpointConnection -PrivateLinkResourceId '/subscriptions/<redacted>/resourceGroups
                 /<redacted>/providers/Microsoft.Kusto/clusters/<redacted>'
Position       : At line:1 char:1
                 + Get-AzPrivateEndpointConnection -PrivateLinkResourceId '/subscription …
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 3

DEBUG: 02:15:46 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].

   HistoryId: 1

Message        : Microsoft.Kusto/clusters doesn't support private endpoint connection.
StackTrace     :    at Microsoft.Azure.Commands.Network.PrivateEndpointConnectionBaseCmdlet.BuildProvider(String subscr
                 iption, String privateLinkResourceType)
                    at Microsoft.Azure.Commands.Network.GetAzurePrivateEndpointConnection.Execute()
                    at Microsoft.Azure.Commands.Network.NetworkBaseCmdlet.ExecuteCmdlet()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.<ExecuteSynchronously
                 OrAsJob>b__3_0(T c)
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T]
                 (T cmdlet, Action`1 executor)
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T]
                 (T cmdlet)
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
Exception      : Microsoft.Azure.Commands.Common.Exceptions.AzPSApplicationException
InvocationInfo : {Get-AzPrivateEndpointConnection}
Line           : Get-AzPrivateEndpointConnection -PrivateLinkResourceId '/subscriptions/<redacted>/resourceGroups
                 /<redacted>/providers/Microsoft.Kusto/clusters/<redacted>'
Position       : At line:1 char:1
                 + Get-AzPrivateEndpointConnection -PrivateLinkResourceId '/subscription …
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 1



DEBUG: 02:15:46 - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 02:15:46 - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 02:15:46 - [ConfigManager] Got nothing from [DisplaySurveyMessage], Module = [Az.Accounts], Cmdlet = [Resolve-AzError]. Returning default value [True].


[Survey] Tell us what you think of Azure PowerShell. This survey should take about 2 minutes. Run 'Open-AzSurveyLink' to open in browser. Learn more at https://go.microsoft.com/fwlink/?linkid=2202892
DEBUG: 02:15:46 - No authentication telemetry is found for the current cmdlet with Id 84fc9c0f-ef2d-4b35-b5af-3f70262ab768.
DEBUG: AzureQoSEvent:  Module: Az.Accounts:5.0.1; CommandName: Resolve-AzError; PSVersion: 7.4.4; IsSuccess: True; Duration: 00:00:00.0152165; SanitizeDuration: 00:00:00.0009524
DEBUG: 02:15:46 - [ConfigManager] Got nothing from [EnableDataCollection], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 02:15:46 - ResolveError end processing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions