CDMUtil visual studio build unable to find package

Binway 716 Reputation points
2023-02-23T03:26:01.0733333+00:00

Hi I am following the steps to use the cdmutil to create the dynamics 365 FO tables and views in Synapse. The url is https://github.com/microsoft/Dynamics-365-FastTrack-Implementation-Assets/blob/master/Analytics/CDMUtilSolution/deploycdmutil.md

I have downloaded the code and opened the MicrosoftCommonDataModel project. The next step is to build the solution. Specifically want to use the CDMUtil_AzureFunctions.

The build fails with 31 errors that mostly appear to be Error NU1101 Unable to find package Azure.Identity. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages. The package name changes for each package. When I look in the CDMUtil > Packages folder in Visual Studio 2022 solution explorer they are there.

Thanks in Advance

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,038 questions
{count} votes

3 answers

Sort by: Most helpful
  1. ShaikMaheer-MSFT 38,466 Reputation points Microsoft Employee
    2023-02-24T09:05:43.0166667+00:00

    Hi Wayne Bartkowski,

    Thank you for posting query in Microsoft Q&A Platform.

    I tired to repro same, its working for me in VS 2022 as well. I am not seeing any errors. Kindly check below screenshot.

    User's image

    Kindly try below and see if that helps.

    1. Delete all solution and download again from githud and then try to open it will ..\Dynamics-365-FastTrack-Implementation-Assets-master\Analytics\CDMUtilSolution\Microsoft.CommonDataModel.sln file.
    2. If still it's not building successfully, then try to install the missing package from nuget package console. Run below command:
       Install-Package Azure.Identity
    

    User's image

    Hope this helps. Please let me know how it goes.


    Please consider hitting Accept Answer button. Accepted answers help community as well.


  2. Binway 716 Reputation points
    2023-02-25T08:06:52.81+00:00

    There is a similar question on stack overflow at

    https://stackoverflow.com/questions/52376567/how-to-resolve-unable-to-find-package-nuget-error

    particularly the steps in the answer for - The package source was offline !!

    For some reason the nuget url is not included.

    0 comments No comments

  3. Daniel Aguilera 0 Reputation points
    2023-06-11T10:13:32.5933333+00:00

    i have the exact same problem, it seems we are missing some packages , but how to add them and where to find them.


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.