# Set Up Azure Storage Account

Azure Blob Storage is Microsoft's object storage solution for the cloud. Blob storage is optimized for storing massive amounts of unstructured data. Read more about this service at <https://docs.microsoft.com/en-us/azure/storage/blobs/> . <br>

## Create Storage Account

* Navigate to <https://portal.azure.com/> &#x20;
* Select "Create a resource"

<div align="left"><img src="https://3010335096-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MjcNODv1kQRDGTj76t9%2F-MjmpmZD5_49fInjdLd8%2F-Mjmv1FxSqgldrM5geNF%2FStorage-account-1.png?alt=media&#x26;token=7012033b-add9-44f3-83f1-5dd85a36b211" alt=""></div>

* Search for Storage Account&#x20;

<div align="left"><img src="https://3010335096-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MjcNODv1kQRDGTj76t9%2F-MjmpmZD5_49fInjdLd8%2F-Mjmv6gumLyqST7AQIWm%2FStorage-account-2.png?alt=media&#x26;token=9d7870b2-855e-4580-bdd7-d5879bbe367f" alt=""></div>

* Select “Create”

<div align="left"><img src="https://3010335096-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MjcNODv1kQRDGTj76t9%2F-MjmpmZD5_49fInjdLd8%2F-MjmvZHbRourG173hTNZ%2FStorage-account-3.png?alt=media&#x26;token=9dd45239-d6f9-4175-803a-4c07ee8c6d1d" alt=""></div>

* Select Subscription, Resource group, Storage account name, Region, Performance, and Redundancy, then click on “Review + create”&#x20;

<div align="left"><img src="https://3010335096-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MjcNODv1kQRDGTj76t9%2F-MjmpmZD5_49fInjdLd8%2F-MjmwBzwp4hPErb7qkj0%2FStorage-account-4.png?alt=media&#x26;token=09cde373-9149-4406-a0bb-995ef004698c" alt=""></div>

* Once Validation has Passed, click “Create”&#x20;

<div align="left"><img src="https://3010335096-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MjcNODv1kQRDGTj76t9%2F-MjmpmZD5_49fInjdLd8%2F-MjmwdokdkKDTIMKV4MG%2FStorage-account-5.png?alt=media&#x26;token=6cdf34bc-bb0a-4a41-bdec-762361718235" alt=""></div>

## Create Shared Access Signature

1. Once the Storage Account is deployed, Navigate to “Shared access signature”
2. Allowed services: Select the services needed for your workflow e.g., Blob and Table
3. Allowed resource types: Service, Container, Object&#x20;
4. Allowed permissions: Read, Write, Delete, List, Add, Create&#x20;
5. Blob versioning permissions: Enable deletion of versions&#x20;
6. Allowed blob index permissions: Read/Write, Filter&#x20;

Provide a date range, use HTTPS only protocol with Basic (default) routing tier, then click “Generate SAS and connection string”.&#x20;

<div align="left"><img src="https://3010335096-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MjcNODv1kQRDGTj76t9%2F-MjmpmZD5_49fInjdLd8%2F-MjmzvC8QsWToZZB-DEF%2FSas-key-1.png?alt=media&#x26;token=cb37dd83-5e08-419d-b001-371e4381261b" alt=""></div>

### Flow REST connector information

Note down the values that are needed to set up Azure Storage REST Connector in Flow Studio.

<div align="left"><img src="https://3010335096-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MjcNODv1kQRDGTj76t9%2F-MjmpmZD5_49fInjdLd8%2F-Mjn-Ebe4EI_4Ox6UT29%2FSas-key-2.png?alt=media&#x26;token=3dfc997e-973b-405c-9494-49476731616e" alt=""></div>

Endpoints:\
Blob storage: https\://\<your-instance-name>.blob.core.windows.net\
Table storage: https\://\<your-instance-name>.table.core.windows.net

Shared Access Signature:\
Copy the SAS token to a text editor and split it like this:

```
# Shared Access Signature

sv=2020-08-04
ss=bt
srt=sco
sp=rwdlacutfx
se=2021-09-02T17:02:42Z
st=2021-09-01T09:02:42Z
spr=https
sig=XY4fL6Z%2B8G7VEWbnamJ6%2BAIMohyst7i5duYn5Rizu3E%3D
```

{% hint style="warning" %}
The signature (sig) is URL encoded and needs to be decoded for use in Flow
{% endhint %}

```
# URL decoded signature (sig)
XY4fL6Z+8G7VEWbnamJ6+AIMohyst7i5duYn5Rizu3E=
```

{% hint style="info" %}
All parameters in the Shared Access Signature should be added to the REST connector configuration in Flow Studio
{% endhint %}

<div align="left"><img src="https://3010335096-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MjcNODv1kQRDGTj76t9%2F-Mjn-ppC7COyDX11OqvG%2F-Mjn1K7g9LPoMHK_pNdu%2FSas-api-keys.png?alt=media&#x26;token=680a2c58-6807-4e92-ab72-65dfdebb3b63" alt=""></div>
