Standard Logic App Setting Runtime.Backend.VariableOperation.MaximumStatelessVariableSize has no effect.

Simon Norton 0 Reputation points
2023-06-20T14:46:51.5233333+00:00

I have a Standard Logic App with a Stateless workflow attempting to load a CSV file with 23,000 records into an Array. However, changing the configuration setting for Runtime.Backend.VariableOperation.MaximumStatelessVariableSize large enough to accomodate the file has no effect. If I open a new browser, I see the updated setting of 5000000 in the configuration settings, but the workflow still gives the error:

VariableSizeLimitExceeded The variable 'CSVArray' has size of more than '2151074' bytes. This exceeded the maximum size '1024' configured.

Did I overshoot a hard-limit, or just do something wrong in the configuration settings?

Note: as I understand things from my Azure admin, I have to use a Standard to be inside the secure subnet, so a Consumption Logic App is not an option :(

Many thanks for the help!

Simon

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,145 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Saurabh Sharma 23,821 Reputation points Microsoft Employee
    2023-06-20T20:45:10.6433333+00:00

    Hi Simon Norton,

    Thanks for using Microsoft Q&A !!

    Are you updating the configuration in configuration settings?

    As per the documentation, the configuration - MaximumStatelessVariableSize needs to go to host.json and not in the app settings, as mentioned in the below documentation - Edit runtime and environment settings for Standard logic apps - Azure Logic Apps | Microsoft Learn.

    Below is a sample host.json for increasing the variable size limit from 1024 to 2048 characters.User's image

    Please let me know if you have any questions.

    Thanks

    Saurabh


    Please consider hitting Accept Answer button. Accepted answers help community as well.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.