Can we create an Appflow Connector for Sharepoint via CLI?

0

The Sharepoint Online connector for AppFlow is a custom connector, and as such the documentation on using the SDK is very scant. Is it possible to create a Connection via AWS CLI with this connector type, and if so can someone provide a working example of the exact fields required. I've started by listing out a connection that I created manually in the console, and then trying to recreate that via command like below, but the closest I can get after passing all of the request validations one by one is that the service attempts to connect and then fails somehow.

aws appflow create-connector-profile
--connector-profile-name 'test-999'
--connector-type 'CustomConnector'
--connector-label 'MicrosoftSharePointOnline'
--connection-mode 'Public'
--connector-profile-config ' { "connectorProfileProperties": { "CustomConnector": { "profileProperties": { "authCode": "", "usePrivateLinkForMetadataAndAuthorization": "false" }, "oAuth2Properties": { "tokenUrl": "https://login.microsoftonline.com/xx/oauth2/v2.0/token", "oAuth2GrantType": "AUTHORIZATION_CODE" } } }, "connectorProfileCredentials": { "CustomConnector": { "authenticationType": "OAUTH2", "oauth2": { "clientId": "xx", "clientSecret": "xx" } } } }'

1개 답변
0

Hi,

Are you trying to keep source as Microsoft Sharepoint Online and destination as s3. Did you look into the following documentation if it might help in your usecase?

[+] Microsoft SharePoint Online connector for Amazon AppFlow - https://docs.aws.amazon.com/appflow/latest/userguide/connectors-microsoft-sharepoint-online.html

AWS
지원 엔지니어
Aman_A
답변함 3달 전
  • Aman, thanks for your offer to help. I hope its clear from my post that I am trying to use the Sharepoint Online connector and that I have been through all the documentation I could find, including your link - if you actually read through that document, there is nothing useful about the CLI which is what my focus is. Feel free to try to test my use case and let me know if you can make it work!

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠