Skip to content

Deployment Error Details: PublicAccessNotPermitted: Public access is not permitted on this storage account. #382

Open
@phanthaiduong22

Description

@phanthaiduong22

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

azd up

Any log messages given by the failure

{
"status": "Failed",
"error": {
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
"details": [
{
"code": "Conflict",
"message": "{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.",\r\n "details": [\r\n {\r\n "code": "DeploymentFailed",\r\n "target": "/subscriptions/[REDACTED]/resourceGroups/rg-dphan-env-v4/providers/Microsoft.Resources/deployments/storage",\r\n "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",\r\n "details": [\r\n {\r\n "code": "PublicAccessNotPermitted",\r\n "message": "Public access is not permitted on this storage account.\nRequestId:[REDACTED]\nTime:2024-11-20T15:10:14.3137172Z"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"
}
]
}
}
ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: deploying to subscription:
Deployment Error Details:
PublicAccessNotPermitted: Public access is not permitted on this storage account.
RequestId: [REDACTED]
Time:2024-11-20T15:10:14.3137172Z
TraceID: [REDACTED]

Expected/desired behavior

Can deploy the project normally

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful

I have owner permission in my subscription


Thanks! We'll be in touch soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions