Forum Discussion
Souciance
Nov 27, 2026Copper Contributor
Unable 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...
ciqyf8
Nov 28, 2026Brass Contributor
Root cause
This looks like a network connectivity limitation, not an RBAC permission problem.
Your evidence strongly supports this:
- The project managed identity has `Storage Blob Data Contributor`.
- The Blob request uses OAuth and identifies the correct project identity.
- Adding the trusted Microsoft services exception makes uploads work.
- Adding a Network Security Perimeter also makes uploads work.
- A private endpoint alone does not provide connectivity to Microsoft's separately hosted Asset Store service.
The important distinction is that granting a managed identity permission to access Storage does not guarantee that the service can reach the private endpoint.
Your successful tests strongly suggest that Asset Store is reaching Storage through a Microsoft-managed service path rather than through your injected VNet.
What I recommend doing
1. Don't add more RBAC assignments. Your existing project identity already has the required data-plane role.
2. Verify the Storage private endpoint is reachable from the actual Agent Service delegated subnet, not just your test VM. Check DNS, routing and NSG rules.
3. Keep Shared Key disabled and public network access disabled.
4. If you need an immediate workaround, the trusted Microsoft services exception is the demonstrated working option. It does not require enabling public access for everyone.
The important Microsoft support issue
I would escalate this to Microsoft Azure Support as a potential Agent Service / Asset Store networking defect.
Include these details:
- Region: Sweden Central.
- Resource: `stfoundryr3vebezx33q` (use your actual resource name).
- Blob error: `AuthorizationFailure`, HTTP 403.
- Project managed identity object ID.
- Blob correlation ID: `7d81096e-401e-007c-69f0-7d0335000000`.
- Asset Store request ID: `effd891ec11432ab`.
Ask Microsoft to confirm whether Asset Store's `CreateContainer` operation supports customer-private-endpoint-only connectivity in Standard Agent Service, and whether its managed identity and network path are correctly configured.
Microsoft documentation:
- Standard Agent Service private networking : https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/virtual-networks
- Toolbox network isolation and supported tools : https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/tools/toolbox-network-isolation
My conclusion: Don't rebuild your VNet or keep changing permissions. Your evidence points to a Microsoft-managed Asset Store connectivity issue. Microsoft needs to confirm and fix the service-side path if private-endpoint-only operation is supported for this deployment.
I would not consider enabling trusted services the final solution if your requirement is strict private-only networking.