Link Azure Logic App Standard With Multiple Storage Accounts

If you are dealing with a large volume of work where Logic App Standard is expected to scale out to handle it, you may encounter issues with single linked storage account due to storage account throttling limits like transactions/max concurrent requests.

Stateful workflows within Log App Standard extensively used linked storage account. (for more details link)

You can increase these limits by linking Azure Logic App Standard with multiple storage accounts by implementing the below mentioned settings,

Step 1

Create a new Log App Standard resource with default settings (by default it will be linked to a single storage account)

Step 2

Stop the Log App Standard resource (optional)

Step 3

Update host.json to specify the number of storages accounts to link.

Link Azure Logic App Standard with multiple storage accounts

Step 4

Create 4 storage accounts

Link Azure Logic App Standard with multiple storage accounts

Step 5

Add the storage account connection strings in the Logic App Standard configurations using the below mentioned pattern.

{n} : Starts from 0 to n-1 (no. of storage accounts)
key : CloudStorageAccount.Workflows.ScaleUnitsDataStorage.CU0{n}.ConnectionString
value: #StorageAccount-<ConnectionString>

Note: Use same storage account connection string for AzureWebJobsStorage and CloudStorageAccount.Workflows.ScaleUnitsDataStorage.CU00.ConnectionString

Link Azure Logic App Standard with multiple storage accounts

Step 6

Start / Restart the Logic App Standard

Thanks!

“Welcome to the new world of Logic Apps !”


Similar Articles