Skip to content

VS Code deployment to Azure having issues #6817

Closed as not planned
Closed as not planned
@vsyedabu

Description

@vsyedabu

Describe the Bug with repro steps

I am using VS code - Logic Apps standard extension to create a logic apps stateful workflow. I can able to create the logic apps locally and run it successfully. I am using the V2 connectors (Create Blob, Execute SQL query, Execute Stored Procedure). However, when I deploy the same to Azure through the VS code I am getting the following error.

"Operation details errorUnable to initialize operation details for swagger based operation - Execute_stored_procedure_(V2). Error details - The provided subscription identifier '@{appsetting('workflows_subscription_id')}' is malformed or invalid."

Any help will be appreciated.

What type of Logic App Is this happening in?

Standard (VSCode)

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#",
        "actions": {
            "Execute_stored_procedure_(V2)": {
                "type": "ApiConnection",
                "inputs": {
                    "host": {
                        "connection": {
                            "referenceName": "sql-2"
                        }
                    },
                    "method": "post",
                    "body": {
                        "MinerId": "@triggerBody()?['MinerId']"
                    },
                    "path": "/v2/datasets/@{encodeURIComponent(encodeURIComponent('default'))},@{encodeURIComponent(encodeURIComponent('default'))}/procedures/@{encodeURIComponent(encodeURIComponent('[dbo].[Get_Miner]'))}"
                },
                "runAfter": {}
            },
            "Response": {
                "type": "Response",
                "kind": "Http",
                "inputs": {
                    "statusCode": 200,
                    "body": "@body('Execute_stored_procedure_(V2)')"
                },
                "runAfter": {
                    "Execute_stored_procedure_(V2)": [
                        "SUCCEEDED"
                    ]
                }
            }
        },
        "contentVersion": "1.0.0.0",
        "outputs": {},
        "triggers": {
            "When_a_HTTP_request_is_received": {
                "type": "Request",
                "kind": "Http",
                "inputs": {
                    "method": "POST",
                    "schema": {
                        "type": "object",
                        "properties": {
                            "MinerId": {
                                "type": "integer"
                            }
                        }
                    }
                }
            }
        }
    },
    "kind": "Stateful"
}

Screenshots or Videos

No response

Browser

I am using trying this in Chrome and Edge

Additional context

No response

Metadata

Metadata

Assignees

Labels

VSCodeIssues or PRs specific to VS Code extension

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions