SignalR privateEndpoints provided name ignored
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
**Describe the bug**
I have provided privateEndpoint name as `name: 'signalr-name.guid'` but it auto generated by azure like `resourcename.guid`. due to that I provided all rule that is not reflacted to signalr. e.g. `allow: [ 'ServerConnection', 'RESTAPI']`
```
resource signalR 'Microsoft.SignalRService/signalR@2024-03-01' = {
name: name
location: location
sku: {
capacity: 1
name: 'Standard_S1'
}
kind: 'SignalR'
properties: {
features: [
{
flag: 'ServiceMode'
value: 'Serverless'
}
]
cors: {
allowedOrigins: ['*']
}
networkACLs: {
defaultAction: 'Deny'
publicNetwork: {
allow: [
'ClientConnection'
]
}
privateEndpoints: [
{
name: 'signalr-name.guid'
allow: [
'ServerConnection'
'RESTAPI'
]
}
]
}
}
}
resource privateEndpoint 'Microsoft.Network/privateEndpoints@2020-08-01' = {
name: endpointName
location: location
properties: {
subnet: {
id: infrastructureSubnetId
}
privateLinkServiceConnections: [
{
properties: {
privateLinkServiceId: resourceId
groupIds: groupIds
}
name: 'pec-${endpointName}'
}
]
}
}
```
So you can see after deployed, allow privateendpoint connection is all as I provided only 'ServerConnection' and 'RESTAPI'.

Now the que. is this is bug?
Please help me in this situaion how to fix it.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the deployment from the supplied Bicep template for Microsoft.SignalRService/signalR@2024-03-01, then compare the requested privateEndpoints name and allow values with the deployed SignalR resource. Done means the configured private endpoint name is preserved and its ServerConnection and RESTAPI rules are reflected after deployment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100