vnet
1 TopicUnable to get Foundry & storage account working inside private networking
I asked my agent to summarize the issue so you can find more detailed info below. The core issue is that when deploying a standard foundry setup protected by a vnet and private endpoint, as well as a storage account with private endpoint on the same vnet, then, when creating a basic agent inside foundry and enabling toolbox and adding file_search tool, the upload files due to storage account permission error. This is despite foundry account and project having storage blob contributor permission. When you try to do the same action but add the storage account and foundry to a network security perimeter with subscription scope, then the file_search works. When you try to do the same action but enable "trust microsoft services" on the storage account settings then it works. But pure private endpoint only fails. See below for more detailed info: Microsoft Foundry File Search upload fails with Blob CreateContainer 403 in Standard private deployment Environment Sweden Central, subscription XXXX, resource group azure-foundry-init. Foundry account ai-foundry-r3-vebezr6ujx33q and project foundry-project-r3 Bring-your-own storage account stfoundryr3vebezr6ujx33q, with public network access and Shared Key access disabled Approved Blob private endpoint pe-foundry-r3-storage at xx.xx.xx.xx. The storage hostname resolves to that private IP from the test VNet. Account and project Agents capability hosts both show Succeeded. The project host references the customer-owned Storage, Cosmos DB, and Azure AI Search connections. Reproduction and impact Uploading a small text file through Tools → File search → Upload files in the Foundry portal from a VM on the private VNet fails before indexing. The API upload also fails. Azure ML Asset Store returns HTTP 403 on POST swedencentral.api.azureml.ms/assetstore/v1.0/temporaryDataReference/createOrGet, with UserError/Auth/Authorization/ResourceMsiTokenDoesntHavePermissionsOnStorage. This blocks File Search ingestion. Private model inference and conversation persistence pass. Diagnostic evidence Reproduction Azure evidence Controlled upload on November 26, 2026 at 21:51:58.9056074 UTC StorageBlobLogs recorded CreateContainer, HTTP 403, AuthorizationFailure, with OAuth and requester object ID 68473b4a-7fcf-4699-8dce-58bcfeb849e5. Caller IP was xx.xx.xx, outside the workload VNet. TrafficClassification was empty, so the record does not establish which endpoint the call used. Portal upload on November 26, 2026 at 23:51:49.4378289 UTC Asset Store returned the same MSI authorization error. Azure Storage metrics recorded one OAuth CreateContainer authorization error in the 23:52:00 UTC bucket. The request-level Blob record above is from the earlier controlled upload. The Blob requester object ID matches the project’s system-assigned managed identity. That identity has a direct, unconditional Storage Blob Data Contributor assignment at the storage-account scope. Granting the same role to the Foundry account’s managed identity and retesting produced the same error. Correlation ID Value Controlled upload – Foundry APIM request 6b4092be-3515-41c8-8da8-7ff773b7078f Controlled upload – Blob correlation ID 7d81096e-401e-007c-69f0-7d0335000000 Controlled upload – Blob client request ID 4e2ff3dd-34d1-4267-b3b7-08e86cbb20c3 Portal upload – Azure ML operation ff0976985cbc9d74c4cc070e2ede20df Portal upload – Asset Store request effd891ec11432ab Portal upload – Dataset request f12c9f6885e4bf02 Retest after account identity grant – Foundry APIM request ed8cc668-4479-4fe2-af18-e278de60b1d8 Requested resolution Please trace the Asset Store CreateContainer request to determine which Blob endpoint and network path it used, what caused Storage to deny the request, and why Asset Store reported insufficient MSI permissions despite the verified role assignment. If the Microsoft-managed Asset Store path is misconfigured, please repair or reprovision its private connectivity. If a customer-side change is required, please provide the supported private-only configuration. Success is a File Search upload that completes indexing while retaining the existing private endpoints, Foundry VNet injection, and Entra authentication, with storage public network access and Shared Key access disabled.13Views0likes0Comments