Blog Post

Azure Integration Services Blog
2 MIN READ

Configure SQL Storage for Standard Logic Apps

DuanWalker's avatar
DuanWalker
Icon for Microsoft rankMicrosoft
Jun 10, 2025

Azure Logic Apps traditionally rely on Azure Storage to manage workflow states and runtime data. However, with the introduction of SQL as a storage provider (currently in preview), developers now have a compelling alternative that offers greater control, flexibility, and integration with existing SQL infrastructure. This post explores the benefits, configuration steps, and considerations for using SQL storage with Standard Logic Apps.

Logic Apps uses Azure Storage by default to hold workflows, states and runtime data. However, now in preview, you can use SQL storage instead of Azure Storage for your logic apps workflow related transactions.

Note that Azure Storage is still required and SQL is only an alternative for workflow transactions. 

Why Use SQL Storage?

BenefitDescription
PortabilitySQL runs on VMs, PaaS, and containers—ideal for hybrid and multi-cloud setups.
ControlPredictable pricing based on usage.
Reuse AssetsLeverage SSMS, CLI, SDKs, and Azure Hybrid Benefits.
ComplianceEnterprise-grade backup, restore, failover, and redundancy options.

When to Use SQL Storage

ScenarioRecommended Storage
Need control over performanceSQL
On-premises workflows (Azure Arc)SQL
Predictable cost modelingSQL
Prefer SQL ecosystemSQL
Reuse existing SQL environmentsSQL
General-purpose or default use casesAzure Storage

Configuration via Azure Portal

Prerequisites:

  • Azure Subscription
  • Azure SQL Server and Database

Azure SQL Setup:

  1. From your Azure SQL server, navigate to Security > Networking > Public Access > select "Selected networks".
  2. Scroll down and enable “Allow Azure services and resources…”.
  3. Navigate to Settings > Microsoft Entra ID > Ensure “Microsoft Entra authentication only” is unchecked.

Note: this can be done during SQL server creation from the Networking tab.

Standard Logic App Setup:

  1. From your Azure Portal, create a new Logic App (Standard).
  2. In the Storage tab, select SQL from the dropdown.
  3. Add your SQL connection string.

Verification Tip: After deployment, check your logic apps environment variable 'Workflows.Sql.ConnectionString' to confirm the SQL DB name is reflected.

Known Issues & Fixes

IssueFix
Could not find a part of the path 'C:\home\site\wwwroot'Re-enable SQL authentication and verify path settings.
SQL login error due to AAD-only authentication

Navigate to Settings > Microsoft Entra ID > Ensure “Microsoft Entra authentication only” is unchecked.

Final Thoughts

SQL as a storage provider for Logic Apps opens up new possibilities for hybrid deployments, performance tuning, and cost predictability. While still in preview, it’s a promising option for teams already invested in the SQL ecosystem. If you are already using this as an alternative or think this would be useful, let us know in the comments below. 

 

Resources

Updated Jun 14, 2025
Version 2.0
No CommentsBe the first to comment