Friday Fact: Logic App Variables naming size limits and restrictions

In Azure Logic Apps, variables are used to store and manipulate data within a workflow during its execution. Variables are useful for holding values that you need to reference multiple times, perform calculations on, or use in conditional logic. They are typically used to simplify workflows and make them more flexible.

Logic Apps enforces specific naming rules for variables to ensure consistency.

Variables name size and restrictions

  • Name length:
    • The minimum length for a variable name is 1 character.
    • The maximum length for a variable name is 80 characters.
  • Unique name across workflow:
    • The variable name must be unique within the Logic App (workflow).
  • Allowed Characters:
    • The variable name can contain alphanumeric characters and symbols.
  • Variable Name Restrictions:
    • The name cannot be empty and cannot end with a whitespace character or a period (‘.’) character. However, these are allowed in the middle or at the beginning.
    • The name cannot contain any control characters or any of the following symbols:
      • \
      • <
      • %
      • &
      • ?

These rules are equal for Logic App Standard and Consumption.

To lazy to read? We’ve got you covered! Check out our video version of this content!

Hope you find this helpful! If you enjoyed the content or found it useful and wish to support our efforts to create more, you can contribute towards purchasing a Star Wars Lego for my son!

Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

Leave a Reply

Your email address will not be published. Required fields are marked *

turbo360

Back to Top