Logic Apps workflow schema properties not validated

Christopher Fryett 45 Reputation points
2025-06-18T22:38:03.4666667+00:00

When testing my Logic Apps workflow it is not failing as expected when the schema for the trigger is not valid. For example in the below schema if I pass in an empty string for Name or I completely remove Name from the request payload it should fail at the trigger. It does not and continues to the first action. Does the trigger not support basic schema properties?


{
  "type": "object",
  "properties": {
    "Person": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": ["Name"]
    }
  },
  "required": ["Person"]
}

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

Accepted answer
  1. Praveen Kumar Gudipudi 1,805 Reputation points Microsoft External Staff Moderator
    2025-06-23T04:43:11.94+00:00

    Hello Christopher Fryett,

    After configuring trigger condition your able to process the data as expected.

    @not(empty(triggerBody()?['Party']?['TaxIdent']))<<<<

    If this answer was helpful, please click "Accept the answer" and mark Yes, as this can help other community members.

    User's image

    If you have any other questions or are still experiencing issues, feel free to ask in the "comments" section, and I'd be happy to help.

    1 person found this answer helpful.

0 additional answers

Sort by: Most 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.