Azure / Azure/azure-cli

az sql db update succeeds but service objective is not updated

Open
#26,665 6 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad Auto-Assign bug customer-reported Service Attention SQL
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

I cannot change service objective from `GP_Gen5_10` to `GP_S_Gen5_2`. The command succeeds but the service objective remains unchanged on the database. The database is still `GP_Gen5_10` after the command is run. See command output for details.

### Related command

```
az sql db update --subscription $SubscriptionId `
--resource-group $ResourceGroupName `
--server $ServerName `
--name $DatabaseName `
--service-objective GP_S_Gen5_2 --debug
```

### Errors

No errors.

### Issue script & Debug output

PS C:\path> az sql db update --subscription `
--resource-group `
--server `
--name `
--service-objective GP_S_Gen5_2 --debug

### Expected behavior

Service Objective is updated.

### Environment Summary

{
"azure-cli": "2.49.0",
"azure-cli-core": "2.49.0",
"azure-cli-telemetry": "1.0.8",
"extensions": {
"azure-devops": "0.26.0",
"bastion": "0.2.4",
"k8s-extension": "1.4.1"
}
}

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