Is is currently possible to create an AppFlow via CLI for Source ConnectorType=SharePoint?

0

I'm trying to create an AppFlow flow for a Microsoft SharePoint Online source using CLI.

Since the documentation doesn't appear to contain ConnectorType = SharePoint (or similar), does this mean it's not currently supported? If not, is there a reference I can use? Otherwise, I'm flying blind...

Thanks!

1 Answer
1

Hello,

I understand that you would like to know if it's possible to AppFlow flow for a Microsoft SharePoint Online using ConnectorType as SharePoint. I would like to inform you that in order to create a flow for Microsoft SharePoint Online connector using AWS CLI, you would require to use a custom connector hence the ConnectorType would be "CustomConnector" instead of "SharePoint".

You can create a JSON file (let's say named "test-file.json") to provide all the details about flow configuration and use the AWS CLI command to create the flow using below command:

> aws appflow create-flow --cli-input-json file://test-file.json

The contents of the JSON file could be as follows:

{
    "flowName": "test-flow",
    "description": "test-flow",
    "triggerConfig": {
        "triggerType": "OnDemand"
    },
    "sourceFlowConfig": {
        "connectorType": "CustomConnector",
        "apiVersion": "v1.0",
        "connectorProfileName": "<ProfilenName>",
        "sourceConnectorProperties": {
            "CustomConnector": {
                "entityName": "<>",
                .....
                }
            }
        }
    },
.....

For more information, please refer to the below given links: [+] https://awscli.amazonaws.com/v2/documentation/api/latest/reference/appflow/create-flow.html [+] Microsoft SharePoint Online connector for Amazon AppFlow - https://docs.aws.amazon.com/appflow/latest/userguide/connectors-microsoft-sharepoint-online.html

Thank you!

AWS
SUPPORT ENGINEER
Ayush_T
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions