Our Azure Search services has been set to access with selected networks and Trusted azure services are allowed to connect . However, as per documentation, when AI foundry agent uses EntraID, it should be able to connect, but i am receiving following errors;
tool_user_error: Error: search_access_error; Unable to access Azure AI Search index. Please ensure that the project managed identity has Search Index Data Reader and Search Service Contributor roles on the Search resource, and the Search resource allows role-based access. () Request is denied as the source is not allowed by applicable rules. The service is set 'publicNetworkAccess: Enabled'. Please review all service's network security settings to ensure the client is allowed.

Foundry agent has been set up with Standard Agent service network injection and setting up Private endpoint connections to search services results following error:
Can not connect to host, Please ensure Azure AI search connection has the correct endpoint , DNS server answer with no data

So, now my question is - How can i connect the standard agent from Foundry to Search services when search service is not configured for all networks ?
thanks