Open aangelisc opened 3 years ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jfggdl.
Author: | aangelisc |
---|---|
Assignees: | leni-msft |
Labels: | `Event Hubs`, `Service Attention`, `needs-triage`, `question` |
Milestone: | - |
Is there any update on this? Trying to update an endpoint using the REST API also fails with the following:
{ "error": { "code": "NoRegisteredProviderFound", "message": "No registered resource provider found for location 'uksouth' and API version '2018-01-01-preview'' for type 'namespaces/privateEndpointConnections'. The supported api-versions are '2018-01-01-preview'. The supported locations are ''." } }
@cesarme @arundsouza @sjkwak would you be able to take a look at the issue?
Is there any news on this? It's been awhile since the initial report and this is quite a blocker for us.
This issue is still open, and ongoing. Suggested work around is to simply not create the private link in ARM/Bicep. The underlying cause appears to be the ServiceBus Private Endpoint not respecting the name field, and instead creating the requested resource with a GUID as the name. This prevents the deployment from completing, despite the resource being created as expected.
Failure reproduces in ARM, and Bicep, and all API versions:
I believe the
v2018-01-01-preview
API is mistaken in defining this request as a create request. Attempting to create a private endpoint connection via this request fails with the following:This happens when sending a request to the following endpoint with the following body: Endpoint - https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}?api-version=2018-01-01-preview Body: