Azure SAS Upload with ReactJS – Blocked by CORS

Hi everyone,

I ran into a cors error while working on a ReactJS app and uploading images to Azure Storage with an SAS url:

https://localhost:3000′ has been blocked by CORS policy while uploading from…

In order to fix this, just log into your azure portal and go to your storage account. You can then add cors policies via the cors menu on the right. To get mine working I used the following:




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at

%d bloggers like this: