Azure / Azure/azure-rest-api-specs

[BUG] Azure app service certificate order key vault binding is returning the key vault id that's different from the user's input

Open
#29,446 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#L351

### API Spec version

2023-01-01

### Describe the bug

The key vault id that's passed by the user is `/subscriptions/733zzz/resourceGroups/test-cert-order-self/providers/microsoft.keyvault/vaults/testkv-co"
however, the api changed the resource group part from `resourceGroups` to `resourcegroups`, so the key vault id became `/subscriptions/733zzz/resourcegroups/test-cert-order-self/providers/microsoft.keyvault/vaults/testkv-co`

### Expected behavior

The request body should respect the user's input, not change the format of the id part.

### Actual behavior

The id was changed by the api as describe in the issue description

### Reproduction Steps

1. create the app service certificate order key vault binding by using the api `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates`
2. Get the instance and we can find that the key vault id was changed.

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