Why doesn't Cloudflare Access work with Azure Static Site?

I’m trying to restrict access to an internal Static Site hosted in Azure Storage using Cloudflare Access policies. Specifically, I’m trying to limit access to a specific internal group of users. The site is up an running in Azure Storage, I’ve created the DNS entry in Cloudflare with proxy and have created an Access policy. It does not seem to work though; the accessible to all users on the public web.

Hi, could you share a print of the policy? You should redact any info you wouldn’t like to make public.
Also, just to make sure: Is your website set up with a custom domain (the one you created the access policy for)?

1 Like

@adamh1 couple things might be up here:

  • Your site must use Cloudflare’s authoritative DNS to use Cloudflare Access. You might see that elsewhere as being “orange clouded”.
  • Does your static site have its own hostname? If that hostname is elsewhere, like Azure, we will not be able to enforce rules if customers visit it directly.
1 Like