2

我們正在藉助Data Factory將數據從Azure Table Storage遷移到Azure Data Lake Store。作爲如果我添加了連接到Azure Data Lake Store的鏈接服務的一部分。授權超時:Azure數據工廠中的Azure Data Lake Store配置

{ 
    "name": "AzureDataLakeStoreLinkedService", 
    "properties": { 
     "description": "", 
     "hubName": "xxxxxxxxxxxxxxxxxxxxxx", 
     "type": "AzureDataLakeStore", 
     "typeProperties": { 
      "dataLakeStoreUri": "https://xxxxxxxxxxxxx.azuredatalakestore.net/webhdfs/v1", 
      "authorization": "**********", 
      "sessionId": "**********", 
      "subscriptionId": "XXXXXXXXXXXXXXXXXXXXXx", 
      "resourceGroupName": "xxxxxxxxxxxxxxxx" 
     } 
    } 
} 

對於此Azure Data Lake Store鏈接服務,有一個授權按鈕。我們授權,我們能夠成功將數據移動到Azure Data Lake Store。

但問題是在一段時間後授權到期並且請求變得未經授權。然後我需要重新授權連接信息。

我需要避免這一步,在超時後每次授權請求。怎麼辦?請分享任何有用的鏈接

回答

0

我正在使用Microsoft帳戶授權鏈接的服務。由於這個原因,超時正在頻繁發生(不到一天)。我被建議使用Azure活動目錄帳戶,該帳戶在90天內不會超時。我遵循指令,DataFactory在過去的一週內沒有任何超時現在正常工作。

我得到的另一個建議是使用服務負責人,即授權在Azure Active Directory中註冊的應用程序而不是個人用戶帳戶。我還沒有嘗試這種方法。

相關問題