Hi @Hirdesh Baghel,
Uploading .exe
files to Azure Blob Storage should generally be allowed, provided you have the correct permissions. However, there are a few potential reasons why you might be encountering a "forbidden" error.
- Check whether you have the necessary permissions to upload files to the blob container. Even if you have owner permissions, there might be specific restrictions or policies in place that prevent the upload of certain file types.
- Check if there are any storage account configurations or policies that restrict the upload of
.exe
files. This could include Azure Policy or custom scripts that enforce such restrictions. - Some applications or services might validate the content type of the files being uploaded. Ensure that the content type for the
.exe
file is correctly set. - Verify if there are any firewall or network restrictions that might be blocking the upload of
.exe
files. - Navigate to Azure Portal → Storage Account → Networking and review the firewall settings.
You can also use Azure Storage Explorer to help address the issue of uploading .exe
files to Azure Blob Storage.
- Connect to Your Storage Account:
- Open Azure Storage Explorer and connect to your Azure Storage Account using your account credentials or a Shared Access Signature (SAS) URL.
- Navigate to the Blob Container:
- In the left pane, expand your storage account and navigate to the Blob Containers section. Select the container where you want to upload the
.exe
file.
- In the left pane, expand your storage account and navigate to the Blob Containers section. Select the container where you want to upload the
- Check Container Permissions and Policies:
- Ensure that you have the necessary permissions to upload files to this container. Right-click on the container and select "Manage Access Policies" to review and adjust the access policies if needed.
- Upload the
.exe
File:- Right-click on the target container and select "Upload". Choose the
.exe
file from your local machine and start the upload process.
- Right-click on the target container and select "Upload". Choose the
https://learn.microsoft.com/en-us/azure/storage/common/storage-network-security?tabs=azure-portal
These steps and resources should help you troubleshoot and resolve the issue with uploading .exe
files to Azure Blob Storage using Azure Storage Explorer.
Hope the above suggestion helps! Please let us know do you have any further queries.
Please do consider “Accepting the answer” wherever the information provided helps you, this can be beneficial to other community members.