Azure Data Factory を使用して、Azure Blob から Azure SQL Database にデータを転送したいと考えています。このリンクを見つけました: Azure Data Factory を使用して Azure Blob から Azure SQL Database にデータをコピーします
編集 : Azure サブスクリプションに接続して、データ ファクトリとパイプ ラインを作成する必要があります。
私の問題は、「authenticationKey」の値を見つけることです。
string authenticationKey = "<your authentication key for the application>";
以下のコードのような「ClientCredential」を作成する必要があります。
// Authenticate and create a data factory management client
var context = new AuthenticationContext("https://login.windows.net/" + tenantID);
ClientCredential cc = new ClientCredential(applicationId, authenticationKey);
AuthenticationResult result =
context.AcquireTokenAsync("https://management.azure.com/", cc).Result;
ServiceClientCredentials cred = new TokenCredentials(result.AccessToken);
var client = new DataFactoryManagementClient(cred) { SubscriptionId = subscriptionId };
下の画像で、Azure での私のアプリケーション登録を確認できます。