Invalid api-version exception when submitting job to Data Lake Analytics using Azure .NET SDK

Sravanthi598 21 Reputation points Microsoft Employee
2020-07-12T18:44:54.887+00:00

Hi,

I got below exception when I tried to submit a job to Azure Data Lake Analytics using .NET SDK

Code : adlaJobClient.Job.Create("ADLA Account Name", jobId, parameters)

Exception :
Microsoft.Rest.Azure.CloudException: 'api-version '2016-11-01' is invalid. Valid api-version: '2018-02-01-preview', '2017-09-01-preview''

How to resolve this issue?

Thanks

Azure Data Lake Analytics
0 comments No comments
{count} votes

Accepted answer
  1. HarithaMaddi-MSFT 10,136 Reputation points
    2020-07-13T08:27:13.277+00:00

    Hi @Sravanthi598-1593,

    Thanks for posting your question. We came across similar issue in past and below code worked for customer, kindly check if adding this in your package manager terminal resolves the issue.

     Install-Package Microsoft.Azure.Management.DataLake.InternalAnalytics.Scope -version 0.1.2-private5
    

    Hope this helps!

    0 comments No comments

0 additional answers

Sort by: Most helpful