More businesses are adopting cloud on a broad scale and deploying a hybrid or multicloud approach. Watch this video to explore Microsoft's comprehensive platform of cloud services. Discover how developers and IT professionals use Microsoft cloud to build, deploy and manage applications across global datacenter networks.
Why am I seeing the “PublicAccessNotPermitted” error?
You’re seeing the “PublicAccessNotPermitted” error because the storage account you’re trying to access has public access disabled. In other words, the account is configured so that files, containers, or blobs cannot be viewed anonymously over the internet.
The error response typically includes:
- **Error Code:** `PublicAccessNotPermitted`
- **Message:** `Public access is not permitted on this storage account.`
- **RequestId:** for example, `e3da4efe-401e-0059-4014-d434d1000000`
- **Time:** for example, `2026-04-24T18:01:19.6578225Z`
This configuration is often intentional to protect data and ensure that only authenticated and authorized users can access content. To move forward, you’ll need to use authenticated requests (for example, via a secure application, signed URL, or proper credentials) instead of trying to access the resource directly via a public link.
What does the XML error response actually mean?
The XML file you’re seeing is the storage service’s structured error response. It’s not meant to be a styled web page; it’s a machine-readable way of telling you what went wrong.
In your case, the XML includes elements such as:
- **Error Code:** `PublicAccessNotPermitted`
- **Message:** `Public access is not permitted on this storage account.`
- **RequestId:** for example, `e3da4efe-401e-0059-4014-d434d1000000`
- **Time:** for example, `2026-04-24T18:01:19.6578225Z`
In practical terms, this means:
- The request reached the storage service successfully.
- The service evaluated the request and determined that anonymous or public access is not allowed for this account.
- Instead of returning the file, it returned a structured error so that applications and tools can interpret and handle it.
If you’re a developer, you can use the `Error Code`, `RequestId`, and `Time` fields for troubleshooting, logging, and support tickets. If you’re an end user, the key takeaway is that you’ll need a secure, authenticated way to access the content rather than a public URL.
How can I access data if public access is disabled?
When public access is disabled, you’ll need to switch from open, anonymous links to authenticated access methods. While the exact steps depend on your environment and tools, here are common approaches:
1. **Use authenticated application access**
Access the storage account through an application or service that already handles authentication for you (for example, a web app, internal portal, or API). The app authenticates with the storage service and serves you the content you’re allowed to see.
2. **Request a secure, time-bound link**
Ask the storage owner or admin to provide a secure link (such as a signed URL) that includes temporary access permissions. This lets you access specific files without making the entire storage account public.
3. **Sign in with your organization credentials**
If your company uses identity-based access, you may need to sign in with your corporate account. Once authenticated, you can use approved tools or portals to browse and download content.
If you continue to see the `PublicAccessNotPermitted` error, share the **RequestId** (for example, `e3da4efe-401e-0059-4014-d434d1000000`) and **Time** (for example, `2026-04-24T18:01:19.6578225Z`) with your IT or cloud admin. These details help them quickly trace the request and adjust permissions or access methods as needed.