0
votes

Previously we have used Author deployment for authentication, but it get disabled after 14 days of inactive, So i tried service Principal authentication but is does't work and throw the below error while running activity in datafactory

Cannot resolve DataLakeAnalyticsUri '', Please change or remove DataLakeAnalyticsUri and have a try.

{
"name": "AzureDataLakeAnalyticsLinkedService",
"properties": {
"type": "AzureDataLakeAnalytics",
"typeProperties": { "accountName": "accountName", "dataLakeAnalyticsUri":"azuredatalakeanalytics.net", "subscriptionId": "subscription Id", "resourceGroupName": "resource Group Name", "servicePrincipalId":"service Principal Id", "servicePrincipalKey":"service Principal Key", "tenant":"tenant id" }
} }

1

1 Answers

0
votes

Updated answer:

Note: User accounts that are managed by Azure AD expires 14 days after the last slice run.

To avoid or resolve this error, reauthorize by selecting the Authorize permissions when the token expires. Then, redeploy the linked service.


To resolve the issue, make sure to pass the "dataLakeAnalyticsUri":"<azure data lake analytics URI>".

Example: "dataLakeAnalyticsUri": "azuredatalakeanalytics.net"

For more details, refer "Transform data by running U-SQL scripts on Azure Data Lake Analytics".

Hope this helps.