Hello Shabash, Boris ,
Thank you for reaching out on the Microsoft Q&A .
While you can't fully automate the private connection between Azure OpenAI and Azure AI Search using infrastructure as code (IaC) yet, you can still streamline most of the setup. Here's how:
- Use Azure PowerShell or CLI scripts in your IaC pipelines to create private endpoint connections Azure documentation .
- Use Bicep or ARM templates to automate the provisioning of resources like the VNet, subnet, and AI Search service.
- After deployment, manually initiate the private endpoint connection for Azure OpenAI through the Azure portal.
This approach reduces manual work, even though it isn't fully automated.
I hope this helps! If you have any further questions, feel free to ask.
If the information is useful, please accept the answer and upvote it to assist other community members.