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!

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ