@lakshmi Thanks for reaching here! If you are seeing "access forbidden error" this generic error possible due to firewall block-
There are two options for allowing indexers to access these resources in such an instance:
Configure an inbound rule for the IP address of your search service and the IP address range of AzureCognitiveSearch
service tag. Details for configuring IP address range restrictions for each data source type can be found from the following links:
- Azure Storage
- Azure Cosmos DB
- Azure SQL
- As a last resort or as a temporary measure, disable the firewall by allowing access from All Networks.
Limitation: IP address range restrictions only work if your search service and your storage account are in different regions.
In addition to data retrieval, indexers also send outbound requests through skillsets and custom skills.
For custom skills based on an Azure function, be aware that Azure functions also have IP address restrictions. The list of IP addresses to allow through for custom skill execution include the IP address of your search service and the IP address range of AzureCognitiveSearch
service tag.
Reference- https://learn.microsoft.com/en-us/azure/search/search-indexer-troubleshooting
Please let us know if issue remains.