Share via

The deployment 'deploymentscript-05-05-2024' failed with error(s). Showing 1 out of 1 error(s). Status Message: Public access is not permitted on this storage account.

Deepan M 20 Reputation points
2024-05-05T06:39:24.88+00:00

Learning Module :- Extend Bicep and ARM templates using deployment scripts
Error:- The deployment 'deploymentscript-05-05-2024' failed with error(s). Showing 1 out of 1 error(s).

Status Message: Public access is not permitted on this storage account.

This question is related to the following Learning Module

Azure | Azure Training

Answer accepted by question author

VarunTha 14,995 Reputation points Microsoft External Staff Moderator
2024-05-07T07:48:52.3233333+00:00

Hi Deepan M,

Since the Microsoft Q&A community has a policy that the question author cannot accept their own answer. They can only accept answers by others, Summarized and posted the solution that you shared, request you to Accept the answer, it will benefit the community find the answers quickly.

Scenario:

Public access is not permitted on this storage account.

Issue:

The deployment 'deploymentscript-05-05-2024' failed with error(s), specifically showing 1 out of 1 error(s) with the status message: "Public access is not permitted on this storage account."

Things Tried:

The deployment using the provided Bicep template did not work and resulted in an error.

Solution shared by @Deepan M

Resolution:
This Worked: Added "allowBlobPublicAccess: true" and changed the API version from 2019-06-01 to 2023-01-01 in the properties within the Bicep template. These adjustments successfully resolved the issue.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Deepan M 20 Reputation points
    2024-05-07T04:10:06.1666667+00:00

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.