Hi @Paresh Nayyar
Welcome to Microsoft Q&A platform and thanks for posting your query here.
The error message you're seeing – "Job type 'USql' is not supported by api-version '2017-09-01-preview'" – indicates that the API version you are using may not support the
USql
job type. This can happen due to changes in supported API versions or incompatibilities with newer SDK versions.
To resolve this issue try the below suggestions:
- The package version you're using (
azure-mgmt-datalake-analytics==0.6.0
) might not be the latest. Consider updating to a more recent version of the Azure Python SDK for Data Lake Analytics, as newer versions may include better compatibility and updated API versions. - You can update it by running:
https://video2.skills-academy.com/en-us/python/api/overview/azure/data-lake-analytics?view=azure-pythonpip install --upgrade azure-mgmt-datalake-analytics
- If your code requires a specific API version for compatibility, try specifying a different version that supports
USql
jobs. Check the Azure SDK documentation to find the list of available API versions and supported job types.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.