title: TerraformAzure: Call to Microsoft.SignalRService/SignalR failed. Error message: Invalid groupId"
body: <p>Trying to integrate my azure signalr service with a private endpoint, the below is the sample terraform code that I'm trying</p>
  <pre><code>resource &quot;azurerm_private_endpoint&quot; &quot;example&quot; {
    name                 = &quot;${var.prefix}-signalr&quot;
    location             = azurerm_resource_group.example.location
    resource_group_name  = azurerm_resource_group.example.name
    subnet_id            = azurerm_subnet.endpoint.id
  
    private_service_connection {
      name                           = &quot;tfex-signalr-connection&quot;
      is_manual_connection           = false
      private_connection_resource_id = azurerm_signalr.example.id
      subresource_names              = [&quot;signalR&quot;]
    }
  }
  </code></pre>
  <p>When I'm running it, terraform init/plan is getting succeed , however while applying it failed with the below error</p>
  <blockquote>
  <p>creating Private Endpoint &quot;signalr-02-privateendpoint&quot; (Resource Group
  &quot;app-services-windows-rg-01&quot;):
  network.PrivateEndpointsClient#CreateOrUpdate: Failure sending
  request: StatusCode=400 -- Original Error: Code=&quot;BadArgument&quot;
  Message=&quot;Call to Microsoft.SignalRService/SignalR failed. Error
  message: Invalid groupId&quot; Details=[]</p>
  <p>on ../../../common/private-endpoint/main.tf line 7, in resource
  &quot;azurerm_private_endpoint&quot; &quot;generice_private_endpoint&quot;:    7: resource
  &quot;azurerm_private_endpoint&quot; &quot;generice_private_endpoint&quot; {</p>
  </blockquote>
  <p>Already created a <a href="https://github.com/terraform-providers/terraform-provider-azurerm/issues/11778" rel="nofollow noreferrer">GitHub issue</a> but want to reach other community members whether they faced this issue/ how to overcome this error</p>