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

Package deployment failed in onprem, error: module aos failed with error code -532462766

(0) ShareShare
ReportReport
Posted on by 339

Hi Experts,

While deploying package in onprem, it got failed and when checking the events in orch get the below error,

The AXSF type application is not even started deploying,

module aos failed with error code -532462766

at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at
System.Environment.get_StackTrace() at
Microsoft.Dynamics.Operations.Local.LocalAgentEvents.LocalAgentEventHelpers.ErrorPrettify(LocalAgentEventSource source, Exception ex, Int32 errorCode, String format, Object[] values) at
SetupCore.SetupManager.<>c__DisplayClass12_2.<InvokeModules>b__6() at System.Threading.Tasks.Task.Execute() at
System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at
System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at
System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) at
System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution) at
System.Threading.ThreadPoolWorkQueue.Dispatch()

Can anyone help me to solve this.

Thanks and regards,

Srihari

I have the same question (0)
  • saepuloh Profile Picture
    67 on at

    Hi,

    Any log from other orchestrator?

  • Srihari.molaka Profile Picture
    339 on at

    Hi Ackerman,

    one more log,

    Task OrchestrationService.DeployModulesRunnerTask,

    OrchestrationService failed for command id 12d7aa79-82d3-4ac0

    Details: LocalAgentCommon.LocalAgentInvalidOperationException:

    Unable to deploy AOSSetupHybridCloudError module at

    OrchestrationService.AXSetupManager.HandleAOSSetupHybridCloudError(Guid errorCode) at

    OrchestrationService.AXSetupManager.ThrowModuleExceptionBasedOnError() at

    OrchestrationService.DeployModulesRunnerTask.Run(OrchestratorRunbookResource runbookResource, String commandId, String jobId, String runbookTaskId) at

    OrchestrationService.OrchestrationJobManager.<>c__DisplayClass23_0.<CreateNewTaskThread>b__4()

    These two logs I found on primary orch.

    Thanks and regards,

    Srihari

  • saepuloh Profile Picture
    67 on at

    Hi,

    How about lcs status page? If button retry available in lcs page try to retry deployment.

  • Srihari.molaka Profile Picture
    339 on at

    Hi,

    I have already retried the deployment but at the same step it got stuck.

  • saepuloh Profile Picture
    67 on at

    Hi,

    Ok, lets move to AOS server and try found some event log in AOS server.

    Maybe that will lead you to right error.

    pastedimage1645690988396v1.png

  • Srihari.molaka Profile Picture
    339 on at

    Hi,

    Except DatabaseSynchronize other nodes doesn't have any logs.

    In DatabaseSynchronize it is having old events which are generated while restoring database.

  • Suggested answer
    Srihari.molaka Profile Picture
    339 on at

    Hi All,

    I have resolved this by redeploying the environment(deleted the sandbox from LCS and deployed again)

    regards,

    Srihari.

  • Community member Profile Picture
    8 on at
    Hi Srihari,
     
    Did you able to resolve the issue and can you share how did you resolve it.
     
    Module aos failed with error code -532462766
    Unable to deploy AOSSetupHybridCloudError module at Microsoft.Dynamics.LocalAgent.OrchestrationService.Tasks.AXSetupManager

     

     


     
  • Komi Siabi Profile Picture
    13,093 Most Valuable Professional on at
    Hello Gaurav Bisht ,
     
    You need to check the SF and see which of the AOS has an error.
    Logon to the AOS VM and check the event viewer. You will be able to see the exact error on the AOS.
  • Community member Profile Picture
    8 on at
    Thanks Komi for your response.
     
    I checked all AOS Nodes and Microsoft.Dynamics and Microsoft.ServiceFabric have zero event logs(its empty and nothing is recorded).
     
     
     
    Primary Orchestra has error log in two following places 
    Error from LocalAgent source: (In general this error code -532462766 due to missing Visual Studio Compiler ++)
     
    Another Error from SetupModuleEvents Source:

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

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans