Azure / Azure/azure-cli

Azure CLI error while connecting azure

Open
#28,126 5 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad Auto-Assign bug customer-reported MySQL Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 18h
Merged PRs (30d)
62

Description

### Describe the bug

(ResourceNotFound) The Resource 'Microsoft.DBforMySQL/servers/testingmysql' under resource group 'ISOLATE-ENV' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix

Code: ResourceNotFound

Message: The Resource 'Microsoft.DBforMySQL/servers/testingmysql' under resource group 'ISOLATE-ENV' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix

![image](https://github.com/Azure/azure-cli/assets/92763260/7524fb1f-abc1-4df7-9cfe-6fe848d25417)

I tried different commend to check if the issue with command or CLI but i see the same error

![image](https://github.com/Azure/azure-cli/assets/92763260/86cdd704-79b4-43de-8f3b-7911b81b0c49)

### Related command

az mysql server show --resource-group Databases-Resources --name geethatest.mysql.database.azure.com
az mysql flexible-server firewall-rule list --resource-group Databases-Resources --name geethatest.mysql.database.azure.com

### Errors

![image](https://github.com/Azure/azure-cli/assets/92763260/d2c0b770-396c-499f-b881-dea75ef6ae54)

### Issue script & Debug output

az mysql server show --resource-group Databases-Resources --name geethatest.mysql.database.azure.com
az mysql flexible-server firewall-rule list --resource-group Databases-Resources --name geethatest.mysql.database.azure.com

### Expected behavior

Should list the server details

### Environment Summary

Prod

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by running the related commands `az mysql server show` and `az mysql flexible-server firewall-rule list` from the issue, then compare the resource group and server names with the reported ResourceNotFound error. Check the Azure CLI MySQL command entry points and their handling of these arguments. Done means the commands locate the intended server and list its details or clearly report the relevant mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, mysql
Domain
cli, cloud, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.