Search code examples
azure-cosmosdbazure-cognitive-searchazure-virtual-networkazure-private-link

Provisioned state failed when trying to add Shared Private Access on Search service


I'm trying to allow my search indexer to connect to a cosmosdb behind a vnet. When adding a shared private access, the provisioning state is set to failed, without giving me an explanation. I have a private endpoint on the CosmosDB setup already. How do I make this work?


Solution

  • I had the same issue occur on the same day as you reported it. I had been setting up running this connection via Azure Pipelines the day before but suddenly the same Pipeline stopped working.

    I raised it as an issue with MS and it was quickly reproduced by the 1st line and passed onto escalation engineers who confirmed there was a recent change in the Fluent SDK used, when we initiate an ARM deployment for Shared Private Link resources we end up specifying both template link and template id (incorrectly/by accident). As a result, customers creating SPL resources are failing to do so with a 500.

    I am told there is a world-wide fixed being rolled out and to be completed on Monday pacific time.