Issue using linked service v 2.0 on notebook

Lotus88 176 Reputation points
2025-05-28T03:35:15.4666667+00:00

Hi,

I am accessing the DB in Synapse notebook with linked service version 1. It is working ok but when I changed to version 2, error occurs. Is there any additional setting I need to set in Notebook ? Thank you!

User's image

User's image

User's image

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.
5,357 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bajura, Keith 0 Reputation points
    2025-06-12T17:48:54.5266667+00:00

    I don't think this code is correct. I was able to fix the "ArtifactsClient" object error above by adding "

    linked_service = synapse_client.linked_service.get_linked_service(linked_service_name=linked_service_names)
    

    But now I am getting "DefaultAzureCredential failed to retrieve a token from the included credentials."

    0 comments No comments

Your answer

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