Closed johndowns closed 2 years ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Wmengmsft, @MehaKaushik, @shurd, @anfeldma-ms
Hi @Johndowns ,
According to service definition, it doesn't expose API of listing connections even though it returns something. https://github.com/Azure/azure-rest-api-specs/blob/master/specification/web/resource-manager/Microsoft.Web/stable/2020-10-01/WebApps.json#L15231
In addition, the response is not aligning to the design of private connection guideline. Connections payload must support pagination. Next link is optional but the list should be wrapped by value
element.
Below are couple examples:
https://github.com/Azure/azure-rest-api-specs/blob/c13fc891e33faf6d77b745885cd70749efdbf4f1/specification/synapse/resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/examples/ListPrivateEndpointConnections.json#L11
https://github.com/Azure/azure-rest-api-specs/blob/c13fc891e33faf6d77b745885cd70749efdbf4f1/specification/storage/resource-manager/Microsoft.Storage/stable/2021-01-01/examples/StorageAccountListPrivateEndpointConnections.json#L12
https://github.com/Azure/azure-rest-api-specs/blob/c13fc891e33faf6d77b745885cd70749efdbf4f1/specification/sql/resource-manager/Microsoft.Sql/preview/2020-08-01-preview/examples/ManagedInstancePrivateEndpointConnectionList.json#L11
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @antcp, @AzureAppServiceCLI.
Author: | johndowns |
---|---|
Assignees: | dingmeng-xue |
Labels: | `App Services`, `Service Attention` |
Milestone: | - |
Looking in to it.
Hi @Kotasudhakarreddy , Thank you for looking into this. Any updates on this so far? I have a customer reporting the same issue. Is this something we plan to support in the near future for App Services?
MS Alias: mabhar
Is there any update on this feature enhancement?
It seems API 2021-01-01 has fixed this issue. We will update API version. https://github.com/Azure/azure-rest-api-specs/blob/dc439efcfc15448824877603f66fc1578d1c71c5/specification/web/resource-manager/Microsoft.Web/stable/2021-01-01/CommonDefinitions.json#L1671
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @privlinksuppgithub.
Author: | johndowns |
---|---|
Assignees: | Kotasudhakarreddy |
Labels: | `App Services`, `Service Attention`, `Network - Private Link` |
Milestone: | - |
@BethanyZhou , can we allow end user to select API version? if yes, user can specify API version as workaround.
Technically, yes. But we are unable to ensure the quality of user-specified API version.
Even registered API version, we cannot ensure the quality of service. Service may be outage even though we have verified them. Let's just provide possibility and sufficient information to user.
Sure.
@johndowns, According to your debug output. The Get-AzPrivateEndpointConnection used 2020-10-01 api version. But it should use 2019-08-01 api version. Please upgrade Az.Network and Az.Account to the latest version.
please use the latest version of Az.Modules
. I am unable to repro the issue with latest module.
Thank you - I can confirm this is fixed in the latest version of the modules.
Description
The
Get-AzPrivateEndpointConnection
cmdlet throws an error when retrieving App Service private endpoint connections.Steps to reproduce
Create a private endpoint on an App Service. (One way to do this is to execute this ARM template, which provisions a Front Door instance with a private endpoint for App Service.)
Execute the following script:
Observe you get this error:
Get-AzPrivateEndpointConnection: Unable to deserialize the response.
Compare to another private endpoint resource type (e.g. a storage account), and observe this works as expected.
Environment data
Module versions
Debug output
Error output