# The private endpoint + DNS setup for Azure Storage that actually works (Bicep) — retained record

> Retained reddit record from reddit:AZURE.

Canonical: https://highsignal.app/data/records/72ccd2a8e6b3baa3

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:AZURE)  published 2026-11-07 03:38 ingested 2026-11-08 02:39

[original source ↗](https://www.reddit.com/r/AZURE/comments/1xpwiw5/the_private_endpoint_dns_setup_for_azure_storage/)

## retained text



```
Private endpoints for storage trip a lot of people up, and it's almost always DNS. If the [privatelink.blob.core.windows.net](http://privatelink.blob.core.windows.net) zone isn't linked to the VNet, or the endpoint has no DNS zone group, clients resolve the public IP and get a 403 because public access is off.



The pieces you need:



1. Storage account with publicNetworkAccess: 'Disabled'

2. Private DNS zone privatelink.blob.${environment().suffixes.storage}

3. A virtualNetworkLinks entry linking it to your VNet (or hub)

4. The private endpoint with groupIds: \['blob'\]

5. A privateDnsZoneGroups child on the endpoint so Azure manages the A record for you



Step 5 is the one most examples skip.



Happy to share the full Bicep if anyone wants it.
```



document fetched 2026-11-08 00:30 · canonical https://reddit.com/r/AZURE/comments/1xpwiw5/the_private_endpoint_dns_setup_for_azure_storage
