Azure / Azure/azure-rest-api-specs

[BUG]App service certificate order certificate: Resource ID of `key_valut_id` is changed from camel case to all lower case.

Open
#28,498 1 comment 0 reactions 1 assignee Claimed by @naveedaz View on GitHub
bug Mgmt
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

### API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/AppServiceCertificateOrders.json#L1045

### API Spec version

2023-01-01

### Describe the bug

The resource Id in api payload is
"/subscriptions/85bxxx/resourceGroups/**acctestRG-240328161032509503**/providers/Microsoft.KeyVault/vaults/acctestkv-wzgs2"
however, the value returned is:
"/subscriptions/85bxxx/resourceGroups/**acctestrg-240328161032509503**/providers/Microsoft.KeyVault/vaults/acctestkv-wzgs2"

### Expected behavior

The resource ID should not be changed and respect the user's input

### Actual behavior

The case format is changed by the api without user's awareness.

### Reproduction Steps

create the app service certificate order and bind it to azure key vault, then you'll see the difference by calling the GET
["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}"](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-01-01/AppServiceCertificateOrders.json#L401)

### Environment

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