web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Custom X++ scripts

(1) ShareShare
ReportReport
Posted on by 3,026

Hi Team,

We are trying to create a deployable package for custom script, working on PPAC UDE(Unified dev environment). While creating the package using Visual studio, prompting error.

Error details:
Package creation failed. They system cannot find the file specified at
D:\AOSService\PackageLocalDirectory\Bin\CreatePackage.Psm1

Package creation failed.
Error occured

Note: I verified, file 'CreatePackage.Psm1' is present in D:\AOSService\PackageLocalDirectory\Bin\

Could you please help on below

  1.  How to resolve this error in UDE, are we need to follow any different appraoch for package creation in PPAC enviornment compared to LCS for custom scripts

  2.  is this feature (Run custom X++ scripts with zero downtime)  depreciated in PPAC environments? Run custom X++ scripts with zero downtime - Finance & Operations | Dynamics 365 | Microsoft Learn

     

 

Categories:
  • Diego Mancassola Profile Picture
    973 Super User 2026 Season 2 on at

    Hi, I haven’t personally tried this in a PPAC/UDE environment. However, the current documentation only refers to LCS, so it seems that this feature may not be supported with UDE. I could be wrong, though, and official confirmation from someone other would be helpful.

  • Suggested answer
    Deepak Agarwal Profile Picture
    9,308 Super User 2026 Season 2 on at

    Hello, 

    While there is No Microsoft statement found that it is deprecated in UDE environment, My suspicion is that the Visual Studio Create Deployable Package action was originally designed around the LCS development model and may not be fully supported in a UDE workstation configuration yet.

    Also, I noticed you are using this 

    D:\AOSService\PackageLocalDirectory\Bin\CreatePackage.Psm1

    While historically its 

    D:\AOSService\PackagesLocalDirectory\Bin\CreatePackage.psm1 (plural "Packages".)

     

    May be worth to give a try to run it manually just to make sure package created from VS is compatible, 

    Import-Module “D:\AOSService\PackagesLocalDirectory\Bin\CreatePackage.psm1”

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    307,161 Super User 2026 Season 2 on at

    Hi Krishna,

     

    The custom scripts are still working. I just created a package from Visual Studio (UDE development) without the error you mentioned. I could also import this package in several environments created either using LCS or PPAC.

    The custom scripts are still supported. I guess there is a misconfiguration on your local machine where you installed Visual Studio.

  • krishna.rao@dax Profile Picture
    3,026 on at

    Thank you so much Andre for prompt response as usual .This clarriefies it's availability on on PPAC.

    Not sure, anyone else can help why this error coming, if they faced similar . They may share their vm configuration screenshots I will verify.

    Basically we are trying to delete single custom table data, not much complications involved here.

  • André Arnaud de Calavon Profile Picture
    307,161 Super User 2026 Season 2 on at

    Hi Krishna,

    I thought I replied before again. There were some issues recently with the forum where replies were not committed. Were you able to solve your issue already? If not, it might be an issue with your local Visual Studio setup and configuration.

    If you still have the issue, are you able to try this on another device with another Visual Studio instance?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 426 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 358

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 353 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans