azure-search-openai-demo
azure-search-openai-demo copied to clipboard
HttpResponseError: 403 while running prepdocs.ps1
Please provide us with the following information:
This issue is for a: (mark with an x)
- [ ] bug report -> Issue in prepdocs.ps1
### Minimal steps to reproduce
> All my azure resources are configured to use selected network and private endpoint, but when i am running prepdocs.ps1 from my local then m getting error
### Any log messages given by the failure
>
Azure-Demo\scripts\.venv\Lib\site-packages\azure\ai\formrecognizer\_generated\v2023_07_31\aio\operations\_document_models_operations.py", line 114, in _analyze_document_initial
raise HttpResponseError(response=response)
azure.core.exceptions.HttpResponseError: (403) Public access is disabled. Please configure private endpoint
### Expected/desired behavior
> I should be able to run even if my azure resources are configured to use selected network.
### OS and Version?
> Windows 10
### azd version?
> run `azd version` and copy paste here.
### Versions
>
### Mention any other details that might be useful
> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.
Hi @VikashLalit ,
Please track #1159 , this will enable you to use selected networks with prepdocs if you configure your search service appropriately
cc @srbalakr