Open shelwig opened 4 years ago
@shelwig Hello. I will take a look later. We're quite busy for Ignite. So it may take some time for me to take at this issue. Thanks.
Hi @shelwig, I follow the instructions you gave, cannot reproduce your situation.
Maybe you type the wrong redirect-config name? Or maybe the version of azure-cli you are using is out of date? Please make sure of it.
I tested in:
Closed as long time no response. Feel feel reoen~^_^
Please reopen the ticket!
I've the same problem. I created redirections in azure portal and cannot delete it. The portal doesn't provide any delete function (unfortunately). So I tried to delete it with the azure cli but without any success.
With the "show" command the redirect config was found:
But with the "delete" command the redirect config wasn't found:
I tested in:
`az --version azure-cli 2.0.77
command-modules-nspkg 2.0.3 core 2.0.77 nspkg 3.0.4 telemetry 1.0.4
Python location '/usr/local/Cellar/azure-cli/2.0.77/libexec/bin/python' Extensions directory '/Users/****/.azure/cliextensions'
Python (Darwin) 3.7.5 (default, Nov 1 2019, 02:16:38) [Clang 10.0.0 (clang-1000.11.45.5)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.`
@mariomann What about show by name?
Hi @haroldrandom
the show by name command? Has the same output like the show by ids command.
Delete a config rule with the name is also not possible.
@mariomann based on your output, did you reference the redirect-config in a urlPathMap under other location? And then it was deleted by accident?
I guess it's caused by resource reference problem. Or the creation failed of redirect-config.
Still cannot reproduce again.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @aznetsuppgithub.
@aznetsuppgithub could you help here?
Hello there, same issue.
I also noted that I'm not able to modify the redirect-config either. e.g. trying to set the redirect type to External in the UI has no effect.
Describe the bug The portal allows creation of a Redirect Config but not deletion. In attempting to do so using the CLI I receive and error despite entering the proper commands.
To Reproduce
Received the following error:
Expected behavior The redirect config should be deleted.
Environment summary Tried with Azure CLI both in Portal and locally through bash.
Additional context Redirect config initially created in the portal.