@Nathan Partieli Firstly, Apologies for the delay response!
Can you please double-check that your SAS URL is correctly generated and includes the required permissions.
- Ensure that your CORS settings are properly configured to allow requests from your application.
- Verify your IAM permissions, making sure the service principal or account you're using has the necessary access.
- Test your SAS URL directly in a web browser or a tool like cURL to ensure it's accessible.
- Can you share the screenshot of the error message>
- Try to generate the SAS URL through Storage explorer tool
To use the JS SDK, you need to configure blob and URL access properly. Here are the steps to do that:
Install the Azure Blob Storage SDK for JavaScript using npm:
npm install @azure/storage-blob
Import the SDK in your JavaScript file:
const { BlobServiceClient } = require("@azure/storage-blob");
Create a BlobServiceClient object using the SAS URL**1**:
<span class=" active-doc-0" data-doc-items="0">const blobServiceClient = new BlobServiceClient("{SAS URL[1](#doc-pos=0)</span>}");
Use the BlobServiceClient object to interact with the blob storage container.