Error on Linked Service - Azure ML with Synapse

Kumar, Senthil 156 Reputation points
2022-08-03T12:38:03.573+00:00

I'm trying to create a linked service of Azure ML workspace with Synapse. I'm getting the below error, please help with this regards.

Also can you point to me the relevant doc on creating Azure ML linked service with Synapse

Request sent to Azure ML Service for operation 'validateWorkspace' failed, error: 'AzureMLServiceClient.MakeRequest failed Operation: validateWorkspace, request Url: https://management.azure.com//subscriptions/<Sub ID>/resourceGroups/<RG ID>/providers/Microsoft.MachineLearningServices/workspaces/<Workspace name>?api-version=2019-06-01, exception: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 20.62.130.212:443 at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult) at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar) --- End of inner exception stack trace --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.DataTransfer.Execution.AzureMLServiceExecutor.AzureMLServiceClient.<MakeRequest>d__34.MoveNext()'. Activity ID: aa0e8513-32e5-4dab-8ca8-9a9439f5fd13.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
{count} vote

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA 91,576 Reputation points Moderator
    2022-08-09T06:37:51.107+00:00

    Hello @Anonymous ,

    Thanks for the additional details.

    This is an excepted behaviour due to the known limitation with the Azure Synapse Analytics Managed Virtual Network.

    AML linked service creation/integration is not supported on DEP enabled Synapse Workspace.

    229380-image.png

    • The Azure ML integration is not currently supported in Synapse Workspaces with Data Exfiltration Protection. If you are not using data exfiltration protection and want to connect to Azure ML using private endpoints, you can set up a managed AzureML private endpoint in your Synapse workspace. Read more about managed private endpoints
    • AzureML linked service is not supported with self hosted integration runtimes. This applies to Synapse workspaces with and without Data Exfiltration Protection.

    For more details, refer to Quickstart: Create a new Azure Machine Learning linked service in Synapse and How to securely integrate Azure Machine Learning and Azure Synapse

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.