The specified resource does not exist azure blob storage

This SharePoint tutorial, we will discuss how to solve an error the specified resource does not exist azure blob storage which comes while trying to access azure blob storage.

Recently, I was trying to deploy a SharePoint framework (spfx) web part through Microsoft Azure CDN, but it gave an error while I was adding the web part to a web part page in SharePoint Online.

The error comes as: Failed to load URL <url> for resource… There was a network problem. This may be a problem with a HTTPs certificate. Make sure you have the right certificate.

the specified resource does not exist. azure blob

When I tried to access the URL directly through the browser, then it gave an error The specified resource does not exist. It looks like below:

the specified resource does not exist azure blob

The specified resource does not exist azure blob storage

The error was coming because, while creating the Azure container, the Access level was set to Private (By default).

We need to change the container’s access level to Anonymous access.

To grant anonymous users read access to a container and its blobs, you can set the container public access level. When you grant public access to a container, then anonymous users can read blobs within a publicly accessible container without authorizing the request.

Log in to the Azure portal and then go to the container, then click on the 3 dots (…) and then click on Change access level like below:

the specified resource does not exist azure blob storage

By default, the below 3 access levels will be presented.

  • No public read access: The container and its blobs can be accessed only by the storage account owner. This is the default for all new containers.
  • Public read access for blobs only: Blobs within the container can be read by anonymous request, but container data is not available. Anonymous clients cannot enumerate the blobs within the container.
  • Public read access for container and its blobs: All container and blob data can be read by anonymous request. Clients can enumerate blobs within the container by anonymous request, but cannot enumerate containers within the storage account.

Here select Blob (anonymous read access for blobs only) like below:

azure cdn the specified resource does not exist

After this, the error the specified resource does not exist azure blob storage will not come.

The SPFx web part will be added to the SharePoint page properly.

Here we learned how to solve error the specified resource does not exist azure blob storage.

  • Greetings, I’m sorry to ask about this old article.
    In my opinion, this can’t be the solution. I don’t want my blob to change from private to public access. There must be solution for private access, weather it is by a service principle, a managed identity or something else. Do you have a proposal for this?

  • >