azure-cli-extensions icon indicating copy to clipboard operation
azure-cli-extensions copied to clipboard

az network front-door frontend-endpoint enable-https operation is not idepotent

Open ksheytanov opened this issue 2 years ago • 4 comments

  • If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at Azure/azure-cli

azure-cli 2.35.0

core 2.35.0 telemetry 1.0.6

Extensions: front-door 1.0.16 azure-devops 0.25.0

Dependencies: msal 1.17.0 azure-mgmt-resource 20.0.0

Python location '/usr/local/Cellar/azure-cli/2.35.0/libexec/bin/python' Extensions directory '/Users/kalin_sheytanov/.azure/cliextensions' Python (Darwin) 3.10.2 (main, Feb 2 2022, 06:19:27) [Clang 13.0.0 (clang-1300.0.29.3)]

Extension name (the extension in question)

front-door

Description of issue (in as much detail as possible)

Enabling https on a frontend endpoint operation is not idepotent as it produces an error if executed against an endpoint which already has https enabled:

az network front-door frontend-endpoint enable-https     -n "***"     -f *********** -g *********

(OperationNotAllowed) Frontend endpoint *** is already secured with a managed certificate. Only the Minimum TLS Version property for a managed certificate configuration can be updated. All other updates are not suppored.
Code: OperationNotAllowed
Message: Frontend endpoint *** is already secured with a managed certificate. Only the Minimum TLS Version property for a managed certificate configuration can be updated. All other updates are not suppored.

ksheytanov avatar Apr 20 '22 08:04 ksheytanov

route to CXP team

yonzhan avatar Apr 20 '22 09:04 yonzhan

Thank you for your feedback. This has been routed to the support team for assistance.

ghost avatar Apr 20 '22 09:04 ghost

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @aznetsuppgithub.

Issue Details
  • If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at Azure/azure-cli

azure-cli 2.35.0

core 2.35.0 telemetry 1.0.6

Extensions: front-door 1.0.16 azure-devops 0.25.0

Dependencies: msal 1.17.0 azure-mgmt-resource 20.0.0

Python location '/usr/local/Cellar/azure-cli/2.35.0/libexec/bin/python' Extensions directory '/Users/kalin_sheytanov/.azure/cliextensions' Python (Darwin) 3.10.2 (main, Feb 2 2022, 06:19:27) [Clang 13.0.0 (clang-1300.0.29.3)]

Extension name (the extension in question)

front-door

Description of issue (in as much detail as possible)

Enabling https on a frontend endpoint operation is not idepotent as it produces an error if executed against an endpoint which already has https enabled:

az network front-door frontend-endpoint enable-https     -n "***"     -f *********** -g *********

(OperationNotAllowed) Frontend endpoint *** is already secured with a managed certificate. Only the Minimum TLS Version property for a managed certificate configuration can be updated. All other updates are not suppored.
Code: OperationNotAllowed
Message: Frontend endpoint *** is already secured with a managed certificate. Only the Minimum TLS Version property for a managed certificate configuration can be updated. All other updates are not suppored.

Author: ksheytanov
Assignees: necusjz
Labels:

extension/front-door, customer-reported, Network, Service Attention, Network - Front Door, needs-team-attention, Auto-Assign

Milestone: Backlog

ghost avatar Jun 20 '22 02:06 ghost

Adding Service Team to look into this ask.

@aznetsuppgithub Could you please look into this ask and provide an update on this ? Awaiting your reply.

navba-MSFT avatar Jun 20 '22 02:06 navba-MSFT