Share via

Configure your Azure Data Lake Storage Gen2

Alejandro Axel Ruiz Ramos 0 Reputation points
2026-04-20T17:21:37.6566667+00:00

Hi a have a Storage account, i need conect mi search whit sotrage mi storage its private, but when i Configure your Azure Data Lake Storage Gen2,

i have a error
Request is denied as the source is not allowed by applicable rules. The service is set 'publicNetworkAccess: Disabled'. Please review all service's network security settings to ensure the client is allowed.

I have a shared pivate acces azure search whit storage

what i do ?

Azure AI Search
Azure AI Search

An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.


1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-04-20T17:21:51.1533333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error occurs because the storage account has publicNetworkAccess: Disabled, and Azure AI Search cannot reach it under the current network/security configuration.

    To connect Azure AI Search to a private Azure Data Lake Storage Gen2 account, do the following checks and fixes:

    1. Use trusted service + managed identity (same-region, firewall-based access)
      • In the storage account:
        1. Go to Security + networking > Networking.
        2. On Public access > Manage, set Public network access scope to Enable from selected networks (not fully disabled).
        3. Under Exceptions, enable Allow trusted Microsoft services to access this resource.
      • Still in the storage account, under Access control (IAM):
        1. Assign Storage Blob Data Reader to the Azure AI Search service’s managed identity (system-assigned) at minimum.
        2. If write is needed (enrichment cache, knowledge store, etc.), also assign Storage Blob Data Contributor.
      • In Azure AI Search:
        1. Configure the data source/indexer to use managed identity authentication to the ADLS Gen2 account.
      • Then test the connection using the Import data wizard, selecting ADLS Gen2 and Authenticate using managed identity. If it advances without error, the connection works.
    2. If the storage account must keep publicNetworkAccess: Disabled
      • When public network access is fully disabled, access is only possible via private endpoints.
      • Ensure:
        1. A private endpoint exists for the storage account (blob/dfs) in the same virtual network where the Azure AI Search S2 resource can reach it.
        2. For S2 search with skillsets, configure a shared private link from Azure AI Search to the storage account as documented for indexers with private endpoints.
      • If using Azure OpenAI “On Your Data” or similar architecture, also:
        1. Enable the storage account as a trusted service for Azure AI Search and Azure OpenAI based on managed identity.
        2. Use private endpoints from client machines if they also need access.
    3. Check firewall rules if using Enable from selected networks
      • If you switch from Disabled to Enable from selected networks:
        1. Make sure any required virtual networks or resource instance rules are configured so that Azure AI Search is allowed.
        2. Do not rely on IP rules alone if the connection is via managed identity and trusted service.

    In summary, either:

    • Allow selected networks + trusted Microsoft services and use managed identity from Azure AI Search, or
    • Keep public access disabled but ensure private endpoints/shared private link are correctly configured so the search service can reach the storage account.

    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.