connection failed - Trying to add File storage account for scanning in Purview

Niharika Ch 170 Reputation points
2025-05-28T15:03:58.7766667+00:00

Hi - I've added File storage for scanning under data map in purview. But there are two errors I'm facing and I'm not sure if both are related,

  • Managed PE connection to key vault is not yet established - It's showing this error under credential column (I've added the secret of file storage in the selected key Vault)
  • seeing the below error when i tried to click on 'test connection'. I've created a private endpoint and approved it in Storage account. Also, have the public network access is disabled. But not sure why the connection is failing in purview. Any idea or experienced this situation, thanks?

    Failed to TestConnection: Exception when processing request: Fail to connect to htts://XXXX.file.core.windows.net/XXX. This request is not authorized to perform this operation. (ErrorCode:403) 1: Please check storage network setting whether public network access is disabled. If disabled, use Managed Virtual Network IR and create Private Endpoint to access

Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
1,632 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Smaran Thoomu 24,095 Reputation points Microsoft External Staff Moderator
    2025-05-28T16:19:08.61+00:00

    Hi @Niharika Ch
    Thanks for your question.

    The two issues you're seeing are likely related:

    "Managed PE connection to key vault is not yet established"

    This usually means Purview’s managed identity doesn't have access to the Key Vault. Please ensure:

    • The Key Vault has the correct access policy or RBAC role assigned (like Key Vault Secrets User) for the Purview managed identity.
    • If you're using a private endpoint for the Key Vault, make sure it’s reachable from the Purview managed network.

    403 error during test connection

    Since public access is disabled for the storage account, make sure:

    • You’re using a Managed VNet IR in Purview.
    • A Private Endpoint is created and approved for the File storage, not just the Key Vault.
    • DNS resolution is set up correctly, so Purview resolves the storage account over the private endpoint.

    Let me know if you've already done all this - happy to help check further!

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


Your answer

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