Skip to main content
直人 諸橋 ha fatto una domanda in Japan

Tableau初心者です。

入力としてSQLserverに接続し、Tableau Cloudにパブリッシュするフローをバッチ実行するために下記のコマンドを流すと

 

C:\Program Files\Tableau\Tableau Prep Builder 2023.3\scripts>tableau-prep-cli.bat -t \\(フローファイル格納パス)\(フローファイル名).tfl -c \\(設接続定ファイル格納パス)\接続設定.json

 

以下のエラーになります。

 

JAVA_HOME is set to : C:\Program Files\Tableau\Tableau Prep Builder 2023.3\scripts\..\Plugins\jre temporarily

The connection file is in V1 format.

Preparing to run the flow :tableau-prep-cli.bat -t \\(フローファイル格納パス)\(フローファイル名).tfl

Loading the flow.

Creating temp directory at C:\Users\ADMINI~1\AppData\Local\Temp\1\prep-cli-15517890649978735111

Loaded the flow.

Updated the connections with supplied credentials.

Established input connections to remote connection: (SQLserverのIPアドレス)

Established input connections with remote data sources.

No server connections detected in input connections.

Starting to establish a server connection for publishing extract.

Check that the connection is valid then try again.

 

接続情報のjsonは下記のように記述しています。

{

"inputConnections": [

{

"hostname": "SQLserverのIPアドレス",

"port": "",

"username": "ユーザ名",

"password": "パスワード"

}

],

"outputConnections": [

{

"serverUrl": "https://prod-apnortheast-a.online.tableau.com/",

"contentUrl": "コンテナURL",

"username": "サイト管理者のユーザー名",

"password": "サイト管理者のパスワード"

}

]

}

 Tableau Prep Builderでフローを実行する分には正常に実行できます。

 

出力に関する接続に失敗しているようで色々調べましたが何を修正すればよいか詰まってしまいました。

どなたか解決方法をご教示頂けませんでしょうか。

2 risposte
  1. 29 feb 2024, 06:01

    コマンドラインからのフロー実行はMFAに対応していないということで、今はMFAが必須のようなので実質不可能ということでしょうか。

    他の方法をあたってみます。

    回答ありがとうございました。

0/9000