Creating a New linked service (Azure Machine Learning) in Azure Synapse analytics

Shafeeq Niyas 60 Reputation points
2023-07-16T09:36:59.08+00:00

i have this below error when i create a new linked service in synapse to machine learning model , my user has all the permission in access control .

Request sent to Azure ML Service for operation 'validateWorkspace' failed with http status code 'Forbidden'. Error message from Azure ML Service: '{"error":{"code":"AuthorizationFailed","message":"The client '' with object id '' does not have authorization to perform action.

give me the answer how to fix this issue

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} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA 91,496 Reputation points Moderator
    2023-07-17T06:41:01.46+00:00

    @Anonymous - Thanks for the question and using MS Q&A platform.

    As per the repro, I had tried to create Azure ML workspace linked service in Azure Synapse Studio, when I tested connection - it's shown same error message as described in the question:

    User's image

    To resolve this issue, make sure to grant workspace service managed identity access to your Azure Machine Learning workspace as shown below:

    Note: Add the service principal as contributor of the Azure Machine Learning workspace. Note that this will require being an owner of the resource group that the Azure Machine Learning workspace belongs to.

    Synapse-AIML

    Post adding the permission, we are able to successfully able to connect the Azure ML workspace from Synapse studio linked service.

    User's image

    For more details, refer Quickstart: Create a new Azure Machine Learning linked service in Synapse.

    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.


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.