Skip to content

Prohibited from setting Chunk size for the SFTP connector in Standard #1413

@ErikMogensen

Description

@ErikMogensen

Severity

P3 - Medium (Minor functionality affected)

Describe the Bug with repro steps

The following setting is shown for the built-in SFTP connector for the operation "Get file content (V2)" and some of the other operations, perhaps all.

Image

When I try to set it an error message is shown:

Workflow validation failed for the workflow 'wf-xxxx'. {"error":{"code":"PropertyNotAllowed","message":"The template action 'Get_file_content_(V2)' at line '1' and column '468' is not valid. The property 'runtimeConfiguration.contentTransfer' is not allowed on action type 'ServiceProvider'."}}

From what I understand this connector uses streaming instead of chunking and therefore this setting should not be shown.

What type of Logic App Is this happening in?

Standard (Portal)

Are you experiencing a regression?

No response

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": {
            "Get_file_content_(V2)": {
                "type": "ServiceProvider",
                "inputs": {
                    "parameters": {
                        "filePath": "hey.xml",
                        "inferContentType": false
                    },
                    "serviceProviderConfiguration": {
                        "connectionName": "Sftp",
                        "operationId": "getFileContentV2",
                        "serviceProviderId": "/serviceProviders/Sftp"
                    }
                },
                "runAfter": {}
            }
        },
        "contentVersion": "1.0.0.0",
        "outputs": {},
        "triggers": {
            "Recurrence": {
                "type": "Recurrence",
                "recurrence": {
                    "interval": 1,
                    "frequency": "Month"
                }
            }
        }
    },
    "kind": "Stateful"
}

Screenshots or Videos

No response

Environment

It happens both in VS Code and in the Portal.

Additional context

This seems to be the opposite of Azure/LogicAppsUX#4452

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions