Setup UDE - hagerco-ude-hgrdev1 setup information; Connect Visual Studio to UDE

Modified on Mon, 10 Feb at 8:06 AM

This is taken from email sent out 1/22/2025: 


FYI, just sharing this information.  I was able to connect to the new UDE.  The only thing that is missing from this new UDE is source code for Hager customizations.

 

Please let me know if you have any questions.

 

Cheers!

 

Joseph

 

Additional Information for setting up UDE. 

  • Need to run 2 statements below using Administrative powershell session first before running PS script:

 

Install-Module -Name Microsoft.PowerApps.Administration.PowerShell -force
 Install-Module -Name Microsoft.PowerApps.PowerShell -AllowClobber –force

 

A screenshot of a computer

Description automatically generated

 

 

*** Additional notes can be found in devops ticket 2817 (https://dev.azure.com/hagerco/Armanino%20Managed%20Services/_workitems/edit/2817) and freshdesk ticket 66156 (https://hagercohelp.freshdesk.com/a/tickets/66156).

 

After UDE is created, do the following: 

  1. Connect as D365Admin user
  2. Go to PPAC and then click the new UDE.
  3. Then go to Users and then add new users as system administrator. See images 1 and 2 below.
  4. Connect to FAO URL as D365 Admin and then add users who will connect to this UDE.  See image 3.
  5. Verify new users by logging into the FAO URL.  See image below.
  6. Verify demo data using company USMF (if option to include data was set to Yes).
  7. Verify Hager customizations.  One way to do this is by checking menus or screens with customizations.

 

To setup Visual Studio to connect to the new UDE, do the following: 

  1. In Visual Studio, download PPAC extension – Power platform tools for Visual studio.
  2. Once done, in VS under tools, select connect to the Dataverse.  See image 4.
  3. Once connected, it will ask you to download metadata, etc. Answer yes. (this will be a huge download. Local PC should have at least 34GB free space).
  4. Once done, re-open VS and then go to extension menu verify Dynamics 365 option is now available.
  5. Create a Model package

 

Image 1: 

A screenshot of a computer

Description automatically generated

 

 

Image 2: 

A screenshot of a computer

Description automatically generated

 

You will get error message below if user is not defined in FAO: 

A screenshot of a computer

Description automatically generated

 

Image 3: 

A screenshot of a computer

Description automatically generated

 

A screenshot of a computer

Description automatically generated

 

Connect to Dataverse option to download metadata from UDE: 

Image 4:

A screenshot of a computer

Description automatically generated

 

A screenshot of a computer

Description automatically generated

 

A screenshot of a computer

Description automatically generated

 

A screenshot of a computer

Description automatically generated

 

A screenshot of a computer

Description automatically generated

 

Local directory where metadata information is stored: 

A screenshot of a computer

Description automatically generated

 

Downloaded metadata – while being extracted to the packages folder: 

A screenshot of a computer

Description automatically generated

UDE – hager-ude-devjo1:

A screenshot of a computer

Description automatically generated

 

UDE – hager-ude-hgrdev1:

A screenshot of a computer

Description automatically generated

 

Once metadata download is done, you will get the message below. 

 

A screenshot of a computer

Description automatically generated

 

Visual studio will then be connected to the new UDE data. 

A screenshot of a computer

Description automatically generated

 

To save local space, folders above can be changed to use an external folder, etc. (maybe on SSD?).

 

When selecting the option – Download Dynamics 365 FinOps asset and space is less then 16GB, message below will be displayed. 

 

A screenshot of a computer

Description automatically generated

A screenshot of a computer

Description automatically generated

 

 

Joseph Orendain 

Senior Systems Analyst

t. (314) 633-2700


 

 

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article