question

VinothKumarK-8698 avatar image
5 Votes"
VinothKumarK-8698 asked AhmedMahmoud-6610 commented

Trigger Azure ML Pipeline from Azure Data Factory


I have created and published a Azure ML pipeline. I want to trigger the ML pipeline from Azure Data Factory.

In ADF, i have chosen Machine learning execute pipeline and created the linked service to azure machine learning and able to choose the published pipeline endpoint. However while running, i am getting the below error. I couldn't find much information how to resolve the error.

"Convert Failed. The value type 'System.String', in key 'azureCloudType' is not expected type 'Microsoft.DataTransfer.Common.Models.AzureCloudType"

azure-data-factoryazure-machine-learning
· 10
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

We have ADF pipelines running in production already for sometime, we didn't update anything in relation to either the ADF pipeline or the AzureML pipeline.
Nevertheless from this morning at ~8 CET our scheduled pipelines failed with the same error. We've tried re creating the "Machine Learning Execute Pipeline" activity or using PipelineId instead of PipelineEndpointId but without any success so far. It seems to be un underlying issue in Azure/ADF with how ADF invokes the ML Pipeline

Please prioritize this.

5 Votes 5 ·

I have exactly the same problem.
I have a pipeline in synapse which executes a pipeline in ML, I don't know any modifications have been made in two months in either of the two environments and it has always been executed correctly, but today it fails throwing the same message:

"errorCode": "2105",
"message": "Convert Failed. The value type 'System.String', in key 'azureCloudType' is not expected type 'Microsoft.DataTransfer.Common.Models.AzureCloudType'"

3 Votes 3 ·

I also have the same issue.
We have a pipeline triggering ML pipelines, which used to run successfully until yesterday, started failing this morning with the same error.

2 Votes 2 ·

Same problem here - anyone has any feedback from Microsoft re this?

0 Votes 0 ·

Same problem here

0 Votes 0 ·
Show more comments
AnnuKumari-MSFT avatar image
3 Votes"
AnnuKumari-MSFT answered AhmedMahmoud-6610 commented

Hi @VinothKumarK-8698 ,
Welcome to Microsoft Q&A platform and thankyou for posting your query.
As per the details you have shared in the query, it looks like a product bug. I have raised this issue with the internal Product team. Once I hear back from them, I will keep everyone posted on this. Thanks for your patience!

· 14
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @VinothKumarK-8698 ,
Product team has suggested to use SHIR instead of Azure IR as the current workaround which might help in mitigating the issue. Please do let us know if this solution works in your case. Although, the team is doing further investigation on the same.

0 Votes 0 ·

Since my workload is still on the development stage, i would prefer to wait for the product team to fix the issue rather than setup the SHIR. Please do keep posted if the issue is resolved or any further developments on this.

0 Votes 0 ·

The SHIR solution is not working. I get the same error.

0 Votes 0 ·
AnnuKumari-MSFT avatar image AnnuKumari-MSFT BirsanDEDumitruEugen-2501 ·

Hi ,
Apologies for the inconvenience . Product team is working on this issue taking it as priority. Hot fix for this issue is in progress. It should be resolved in next 12 hours.

2 Votes 2 ·
Show more comments

Hi,

I'm facing the same issue posted here calling an ML pipeline through the endpoint from Synapse.
Region AU East.

Thanks for the help in advance.

0 Votes 0 ·
AhmedMahmoud-6610 avatar image AhmedMahmoud-6610 JoseManuelEspinoza-2261 ·

@JoseManuelEspinoza-2261 Can you retry again and let us know if you still face the same issue.

Regards,
Ahmed

0 Votes 0 ·
JoseManuelEspinoza-2261 avatar image
0 Votes"
JoseManuelEspinoza-2261 answered AhmedMahmoud-6610 commented

Hi Ahmed,

Working now :)
Many thanks.

Regards,
José.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Jose Manuel,

Thankyou for the update. Glad to know that the issue has been resolved!

Regards,
Ahmed

1 Vote 1 ·