Azure / Azure/azure-cli

az kusto script delete -> ResourceNotFound

Open
#27,626 3 comments 0 reactions 0 assignees View on GitHub
bug customer-reported Kusto Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.