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 fromresourceGroupstoresourcegroups, 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
create the app service certificate order key vault binding by using the api /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates
Get the instance and we can find that the key vault id was changed.
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
resourceGroupsto
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
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates
Environment
No response