LogicAppsUX icon indicating copy to clipboard operation
LogicAppsUX copied to clipboard

Cannot Select local function to execute in Logic Apps Standard Designer

Open kblacquiere opened this issue 6 months ago • 1 comments

Severity

P1 - Critical (Blocking production)

Describe the Bug with repro steps

In the Designer we are not able to select an Azure function that is contained in the Logic Apps Standard with code .

Everything was working fine 2 weeks ago them after the latest update we are no longer able to select an azure function

We have this error : Failed to retrieve dynamic inputs. Error details: 'Encountered internal server error. The tracking Id is '5c04ecf0-f815-4227-b4d7-82027414e5bf'.'

Image

If I click on the X to remove the existing function, The dropdown become empty

Image

But when we look in the folder, the lib folder is there with the functions

Image

We are using .net 8

What is weird is, if I create a new Logic Apps Standard Workspace, It works !

So it must be something in our existing project. but it was working before ...

What type of Logic App Is this happening in?

Standard (Local Development)

Are you experiencing a regression?

Was working 2 weeks ago

Which operating system are you using?

Windows

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

{
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "contentVersion": "1.0.0.0",
        "actions": {
            "Call_a_local_function_in_this_logic_app": {
                "type": "InvokeFunction",
                "inputs": {
                    "functionName": "BuildInterpolateString",
                    "parameters": {
                        "input": "html",
                        "trackedProperties": {
                            "End-User Legal Name": "John Doe",
                            "Contract Addendum Identifier": "ADD-12345",
                            "Contract Addendum Expiry Date": "2023-12-31"
                        }
                    }
                },
                "runAfter": {}
            }
        },
        "outputs": {},
        "triggers": {
            "When_a_HTTP_request_is_received": {
                "type": "Request",
                "kind": "Http",
                "inputs": {
                    "method": "POST",
                    "schema": {
                        "type": "object",
                        "properties": {
                            "data": {
                                "type": "string"
                            }
                        }
                    }
                }
            }
        }
    },
    "kind": "Stateful"
}

Screenshots or Videos

No response

Environment

Visual STudio Code

Image

Additional context

No response

kblacquiere avatar Sep 22 '25 22:09 kblacquiere

@kblacquiere I get this when I change my directory structure. It seems to be due to the setting ProjectDirectoryPath in workflow-designtime/local.settings.json.

Would be nice if the extension could detect this and correct it.

Andrew-Lahikainen avatar Oct 12 '25 23:10 Andrew-Lahikainen