How to consume a Nuget package in Azure Synapse notebooks (C#) from Azure DevOps NugetFeed which need auth

Eric Huang (M365) 41 Reputation points Microsoft Employee
2022-01-07T08:49:14.163+00:00

Use the command as below:
"#i URL to json path"
"#r Nuget Name"

but got error:

error : Response status code does not indicate success: 401 (Unauthorized).

So is there anyway to do auth in Azure Synapse notebooks (C#) when I need to consume a private nuget auth?

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,378 questions
0 comments No comments
{count} votes

Accepted answer
  1. KranthiPakala-MSFT 46,642 Reputation points Microsoft Employee Moderator
    2022-01-09T21:26:45.587+00:00

    Hello @Eric Huang (M365) ,

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

    As per the discussion on the below threads, it seems like it is not yet supported in Synapse Notebooks.

    Stakcoverflow thread: https://stackoverflow.com/questions/67883213/consuming-nuget-packages-in-azure-synapse-c-sharp-notebooks-from-nuget-feed-in-a
    MS Q&A thread: https://learn.microsoft.com/en-us/answers/questions/426375/how-to-consume-nuget-package-in-azure-synapse-note.html

    Here is an exiting feedback on the same feature request logged by a different user in IDEAS forum: https://feedback.azure.com/d365community/idea/46ede6a9-0a25-ec11-b6e6-000d3a4f07b8. I would recommend you to please up-vote and/or comment on it which would help increase the priority of the feature request suggestion .

    I will also reach out to relevant product owners to see if there is any workaround or any other update on this request and get back to as soon as I have an update.

    Thank you

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.