Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jtrivett opened this issue Jun 3, 2025 · 2 comments
Labels
Azure Data Explorer Kusto customer-reported feature-request This issue requires a new behavior in the product in order be resolved. Service Attention This issue is responsible by Azure service team.

Comments

@jtrivett
Copy link

jtrivett commented Jun 3, 2025

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.
@jtrivett jtrivett added bug This issue requires a change to an existing behavior in the product in order to be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Jun 3, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported needs-triage This is a new issue that needs to be triaged to the appropriate team. and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Jun 3, 2025
@isra-fel isra-fel added feature-request This issue requires a new behavior in the product in order be resolved. Service Attention This issue is responsible by Azure service team. Azure Data Explorer Kusto and removed bug This issue requires a change to an existing behavior in the product in order to be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Jun 5, 2025
Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @ilayrn, @orhasban, @zoharHenMicrosoft, @sagivf, @Aviv-Yaniv.

@isra-fel
Copy link
Member

isra-fel commented Jun 6, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure Data Explorer Kusto customer-reported feature-request This issue requires a new behavior in the product in order be resolved. Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants