Azure / Azure/azure-rest-api-specs

[BUG] identity id of Eventhub Namespace got changed by the api

Open
#28,639 1 comment 1 reaction 1 assignee Claimed by @schaudhari6254888 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/eventhub/resource-manager/Microsoft.EventHub/preview/2022-10-01-preview/namespaces-preview.json#L884

### API Spec version

2022-10-01-preview

### Describe the bug

when trying to assign the user assigned identity to eventhub namespace, the value passed by the user is: `/subscriptions/85xxx/**resourceGroups**/xiaxintestRG-namespacecmk/providers/Microsoft.ManagedIdentity/userAssignedIdentities/xiaxintestuai-ehn`
however, the api doesn't respect the user's input, changed the camel case to lowercase as below:
![image](https://github.com/Azure/azure-rest-api-specs/assets/92154856/b5ab19ff-099c-4c42-a695-5bf59768e3a7)

### Expected behavior

The format of the id that's returned by the api should be the same as user's input

### Actual behavior

The api changed the id without notifying the user

### Reproduction Steps

create the eventhub namespace and assign the uai

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