Azure / azure-cli

Azure Command-Line Interface
MIT License
4.03k stars 3.01k forks source link

az kusto script delete -> ResourceNotFound #27626

Open deyanp opened 1 year ago

deyanp commented 1 year ago

Describe the bug

trying to delete a script with name containing forwards slashes e.g. a/b/c using the az kusto script delete command with --name "a/b/c", and getting an error ResourceNotFound with Message: The resource with identifier '/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Kusto/Clusters/xxx/Databases/xxx/Scripts/a' is not found.

Related command

az kusto script delete

Errors

ResourceNotFound with Message: The resource with identifier '/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Kusto/Clusters/xxx/Databases/xxx/Scripts/a' is not found.

Issue script & Debug output

see above

Expected behavior

script successfully deleted

Environment Summary

azure-cli 2.53.0

core 2.53.0 telemetry 1.1.0

Extensions: account 0.2.3 application-insights 0.1.16 azure-devops 0.25.0 kusto 0.5.0 storage-preview 1.0.0b1

Dependencies: msal 1.24.0b2 azure-mgmt-resource 23.1.0b2

Python location '/opt/az/bin/python3' Extensions directory '/home/deyan/.azure/cliextensions'

Python (Linux) 3.10.10 (main, Sep 20 2023, 06:07:38) [GCC 11.4.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context

No response

yonzhan commented 1 year ago

Thank you for opening this issue, we will look into it.

jsntcy commented 1 year ago

@zoharHenMicrosoft, could you please look at this issue?

zoharHenMicrosoft commented 1 year ago

@zoharHenMicrosoft, could you please look at this issue? I'm no longer working on that, please try to contact orhasban_org_fte@microsoft.com