How to create a Logic App with a Dataverse Trigger that's working?

Markus 0 Reputation points
2025-06-17T13:39:51.8+00:00

I have created a Azure Logic App, with a Dataverse Trigger. The service principal and user have sufficient rights to access everything it needs. I've tested it before with a manual trigger and made some simply requests to different Dataverse tables. Everything works fine.

But if I want to use a Dataverse Trigger, to start the Logic App it only creates Trigger Failures with the following error:

{
    "statusCode": 500,
    "headers": {
        "Access-Control-Allow-Methods": "GET, PUT, PATCH, DELETE, POST",
        "Access-Control-Allow-Origin": "*",
        "Access-Control-Max-Age": "3600",
        "Access-Control-Expose-Headers": "*",
        "x-ms-dlp-re": "-|-",
        "x-ms-dlp-gu": "-|-",
        "x-ms-dlp-ef": "-|-/-|-|-",
        "Date": "Tue, 17 Jun 2025 13:16:01 GMT",
        "Content-Length": "401",
        "Content-Type": "application/json"
    },
    "body": {
        "error": {
            "code": 500,
            "message": "Value cannot be null.\r\nParameter name: input\r\n   at System.Text.RegularExpressions.Regex.Match(String input)",
            "source": "logic-apis-westeurope.azure-apim.net",
            "path": "choose[3]\\when[1]\\choose\\when[2]\\choose[3]\\when[1]\\return-response",
            "policyId": "",
            "clientRequestId": "xxxxxxx-07ce-451c-9835-xxxxxxxxxxx"
        }
    }
}

Any idea what Value cannot be null? I don't have any parameters defined, so I'm a bit confused where that error message is coming from.

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

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.