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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

LCS sandbox package deployment failed due to missing module dependencies

(2) ShareShare
ReportReport
Posted on by 439
Despite having the model parameters in the repository (in /Metadata/MyModel/Descriptor/MyModel.xml), the package deployment in sandbox environment has rolled-back due to the missing module dependencies. At this point i'm not sure if the issue is due to the pipeline build configuration or due to manually deploying AXDeployableRuntime in LCS.
Categories:
I have the same question (0)
  • Suggested answer
    Anton Venter Profile Picture
    20,345 Super User 2025 Season 2 on at
    Hi,
     
    If the modifications were included in the build and deployed to the Sandbox environment, you can try to refresh the entity list.
     
    Data management -> Framework parameters -> Entity settings -> Refresh entity list
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,398 Super User 2025 Season 2 on at
     
    As Anton said, you need to refresh the entites in data management settings.
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • EK-26061005-0 Profile Picture
    439 on at
    Looks like i have missed the package deployment result in LCS as it has rollbacked due to the module missing a few dependencies. Weird thing is, the missing dependencies are available in the built repository's model descriptor file. I'll edit the post with relevant info...
  • Nisarg  Jani Profile Picture
    527 on at
     
    Can you check for the Model Descriptor Files that which models are been referenced in the File and check with the Sandbox that all the Models are there in the sandbox and Deployable Package?
     
    To Check Models in the Sandbox you can check next to versions in the UAT / Sandbox Instance.
     
    Regards,
    Nisarg Jani
  • Suggested answer
    Anthony Blake Profile Picture
    2,963 Super User 2025 Season 2 on at
     
    Please could you share the referenced models in your descriptor here? Also the D365 version of your dev and sandbox environments?
     
    I think there are a some possibilities here:
     
    • You have included some models in your references which are not deployed to a Tier 2+ sandbox. There are some models which only exist on Dev environments and are not intended for production use.
    • ISV dependencies, if you have any ISV models installed and referenced on your dev environment.
    • D365 versions, between versions some of the models are split out into multiple models in the core product. If you have a dev/sandbox version mismatch this is potentially your issue, and you need to align them and update your model references.
     
    Thanks!
    Anthony
  • EK-26061005-0 Profile Picture
    439 on at
     
    As you have said, the modules are also missing in the sandbox version's model list. How can i install them to sandbox and production? I thought these models were supposed to be installed along with the package as long as it's referenced in the descriptor file...
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,432 Super User 2025 Season 2 on at
    Hi EK-26061005-0,
     
    A few suggestions:
    1.The descriptor file of the core model have all the references compared to the package being deployed. The fastest way to check this is to download the package uploaded to LCS and check the repository as depicted below in the screen clip below. Also, run the build pipeline (pointing to the DEV Branch) and download the deployable package created from the build pipeline.
    Compare the AxDeployableRuntime package extracted from the build pipeline (pointing to the DEV Branch) and the package manually deployed from LCS to the sandbox environment and there should a difference between the two. Compare the AOSService -> Packages and AOSService -> Files after extracting the AxDeployableRuntime.zip file. Compare the nupkg packages.

     
    2. Check if the model is compiled in the build pipeline under the Build Solution step. If the model is not added then ensure you add a project and reference the project to the missing model. The section in red are the projects referenced to the model.
     
    3. If it is an ISV model then ensure you add the ISV in the Copy Binary dependencies step. Sample YAML for reference.
     
    Hope this helps. Happy to answer questions, if any.
     
  • Verified answer
    EK-26061005-0 Profile Picture
    439 on at
    The problematic parameters were ApplicationPlatformFormAdaptor, ApplicationSuiteFormAdaptor, ApplicationFoundationFormAdaptor and FiscalBooksFormAdaptor. I have removed them via update model parameters and rebuilt the model. Looks like these modules were not used since the rebuild did not throw any errors. From this point the AXDeployableRuntime was installed on sandbox without any issues. Though i wonder why adding redundant parameters cause errors in LCS...
  • André Arnaud de Calavon Profile Picture
    301,037 Super User 2025 Season 2 on at
    Hi,
     
    Below there was already a comment that Tier2+ environments don't have all models. The FormAdaptor models don't exist on these environments, only on development environments. It looks like you just added all models as reference without actually using or extending the objects from these models. It is best practice to only include models from which you used or extended elements.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans