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, ...
Suggested Answer

Pipeline Build failed after latest artifacts pushed and build is getting failed with error MB6006

(1) ShareShare
ReportReport
Posted on by 2
D:\a\8\NuGets\Microsoft.Dynamics.AX.Platform.CompilerPackage\DevAlm\Microsoft.Dynamics.Framework.Tools.BuildTasks.17.0.targets(85,5): Error MSB6006: "Xppc.exe" exited with code -1.
Build solution **\*.sln
 
 
D:\a\8\NuGets\Microsoft.Dynamics.AX.Platform.CompilerPackage\DevAlm\Microsoft.Dynamics.Framework.Tools.BuildTasks.17.0.targets(85,5): Error : Compiling Compiling SFRight failed. Log could not be found or read.
Build solution **\*.sln
 
 
Process 'msbuild.exe' exited with code '1'.
I have the same question (0)
  • Jonas "Jones" Melgaard Profile Picture
    4,986 Most Valuable Professional on at
    MSB6006 just means that something went wrong during in the build.
    I had a hard time reading the error message, so I broke it down a bit. This is the error message I'm interested in:
     
    ***

    D:\a\8\NuGets\Microsoft.Dynamics.AX.Platform.CompilerPackage\DevAlm\Microsoft.Dynamics.Framework.Tools.BuildTasks.17.0.targets(85,5): Error : Compiling Compiling SFRight failed. Log could not be found or read.

    ***
     
    Are you 100% that "SRFright" model can compile on this version of F&O?
    Also, are you able to provide more details from the build log?

     

  • udaY-ch Profile Picture
    5,133 on at
    Hi
     
    Did you compile in Dev before running the pipeline. 
     
    Thanks
    Uday
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,428 Super User 2025 Season 2 on at
    Hi @
     
    The error MB6006 in a Dynamics 365 Finance & Operations pipeline build usually indicates a metadata validation failure during the build process. It occurs when the build system detects inconsistencies or conflicts in metadata (such as extended forms, tables, enums, etc.) in your model or the artifact being built.
     
    Try to build model in your local machine.
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,438 Super User 2025 Season 2 on at
    Hi CU1806181-0,
     
    Looks like the model is not compiled at all. You will need to add your project to a repository pointing to the model as highlighted in the screen clip below.
     
    In my nuget extraction step i have added the solution as depicted below. In your case, the solution name could be different. Hope this step is added in your nuget extraction.

    Once done, add this step to your build pipeline. Sample yaml for your reference. If this is an ISV add the model SFRight in the Copy binary dependencies step in your pipeline. If this not an ISV ignore this step. For Git or TFS you can add this model as depicted below.
     
    Hope this helps. Happy to answer questions, if any.
  • Anton Venter Profile Picture
    20,346 Super User 2025 Season 2 on at
    Hi,
     
    Can you share the complete build log? If the build was working, why did you update the artifacts?

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 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans