0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Fivetran から Microsoft Fabric にデータを同期する手順

Last updated at Posted at 2025-04-18

概要

Fivetran から Microsoft Fabric にデータを同期する手順を紹介します。

本記事は下記記事の一部です。

image.png

出所:フルマネージドなデータ連携:データ統合の自動化を実現する Fivetran の全貌 #fivetran - Qiita

アンダースコアに関する制限がある旨の記述があるため、下記の条件に該当するスキーマ、あるいは、テーブルを同期する際には注意してください。

  • The table and schema names must not start or end with an underscore, and must not contain multiple consecutive underscores ( __ ).

image.png

出所:Fivetran for OneLake Implementation | Configuration and documentation

ただし、2025年4月22日日時点では想定通りに同期されました。

image.png

image.png

手順

Register application and add service principal

Azure Portal にてMicrosoft Entra ID -> アプリの登録 -> + 新規登録を選択します。

image.png

任意の名前(例:fivetran-service-principal)を入力し、登録を選択します。

image.png

アプリケーション (クライアント) IDの値とディレクトリ (テナント) ID の値をひかえます。

image.png

Create client secret

作成したアプリの画面にて、証明書とシークレット -> クライアントシークレット -> + 新しいクライアントシークレットを選択します。

image.png

説明に任意の値を入力し、追加を選択します。

image.png

に表示されている値を控えます。

image.png

Create workspace

Microsoft Fabric にログインし、右上の歯車ボタン -> 管理ポータルを選択します。

image.png

サービス プリンシパルは Fabric API を使用できますの設定を有効化します。

image.png

ユーザーは、Fabric 外部のアプリを使用して OneLake の格納データにアクセスできますの設定を有効化します。

image.png

左側のワークスペース -> + 新しいワークスペースを選択します。

image.png

任意の名前(例:Onlake_Fivetran)を入力し、適用を選択します。

image.png

Add service principal to workspace

作成したワークスペースの画面にて、右上にあるアクセスの管理を選択します。

image.png

+ ユーザーまたはグループの追加を選択します。

image.png

作成したサービスプリンシパルを追加し、共同作成者に変更した上で追加を選択します。

image.png

Create lakehouse

作成したワークスペースにて、+ 新しい項目を選択します。

image.png

レイクタウンを選択します。

image.png

任意の名前(例:Lakehouse_Fivetran)を入力し、作成を選択します。

image.png

ワークスペースの URL から Workspace GUID と Lakehouse GUID を控えます。URL の groups の後の値が Workspace GUID であり、lakehouses の後の値が Lakehouse GUID です。

https://app.fabric.microsoft.com/groups/1af269c2-0b2c-4b7b-88c6-8256ab75a1c0/lakehouses/a95436f3-f124-4758-bad9-1219a9618f0d?experience=fabric-developer

image.png

Complete Fivetran configuration

Fivetran にてDestinations -> Add Destinationを選択します。

image.png

OneLakeSelectを選択します。

image.png

任意の名前(例:onelake_01)を入力し、Addを選択します。

image.png

Destination のセットアップ画面が表示されることを確認します。

image.png

Workspace GUID と Lakehouse GUID を入力します。

image.png

サービスプリンシパルに関する情報を入力します。

image.png

Save & Testを選択します。

image.png

Setup test

検証が正常終了することを確認します。

image.png

データの同期

Fivetran にてデータ同期の実施

Connection -> 作成した Destinon が利用されているコネクションを選択します。

image.png

Start Initial Syncを選択します。

image.png

同期が完了することを確認します。

image.png

Microsoft Fabric にてデータを確認

データが同期されていることを確認します。

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?