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

D365 On-premise 10.0.42 - Deployment Failure

(2) ShareShare
ReportReport
Posted on by 277
Hello Community,
 
Back with another deployment question!
I've trying to deploy an on-premise D365 FnO sandbox with ver 10.0.42. Even though the deployment failed, the only component missing from the environment is the Financial Reporting module. The environment works and I'm able to login.
Got the following errors on the Primary Orchestrator (AOSSetupHybridCloudError):
 
#1 MachineName xxx-ORCH01
  Message Task Microsoft.Dynamics.LocalAgent.OrchestrationService.Tasks.DeployModulesRunnerTask,OrchestrationService failed for command id e33debe3-9503-4ef9-ba76-83d2a1875eb8
  Detail LocalAgentCommon.LocalAgentInvalidOperationException: Unable to deploy AOSSetupHybridCloudError module at Microsoft.Dynamics.LocalAgent.OrchestrationService.Tasks.AXSetupManager.HandleAOSSetupHybridCloudError(Guid errorCode) at Microsoft.Dynamics.LocalAgent.OrchestrationService.Tasks.AXSetupManager.ThrowModuleExceptionBasedOnError() at Microsoft.Dynamics.LocalAgent.OrchestrationService.Tasks.DeployModulesRunnerTask.Run(OrchestratorRunbookResource runbookResource, String commandId, String jobId, String runbookTaskId) at Microsoft.Dynamics.LocalAgent.OrchestrationService.OrchestrationJobManager.<>c__DisplayClass22_0.<CreateNewTaskThread>b__4()
  ErrorCode 0
  MemberName ErrorPrettify
  SourceFile  C:\__w\1\s\Source\LocalAgentEvents\LocalAgentEventSource.cs
  SourceLineNumber  79
     
#2 MachineName xxx-ORCH01
  Message Module aos failed with error code -1.
  Detail 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()
  ErrorCode 0
  MemberName ErrorPrettify
  SourceFile  C:\__w\1\s\Source\LocalAgentEvents\LocalAgentEventSource.cs
  SourceLineNumber  79
     
#3 MachineName xxx-ORCH01
  Message xxx-ORCH01
  Detail 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.ProcessRunner.StartProcessAndWaitForExit(Int32 waitForExitMilliseconds) at SetupCore.SetupManager.LaunchProcess(String startupExe, String workingDir, String[] moduleArgs) 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()
  ErrorCode 0
  MemberName ErrorPrettify
  SourceFile  C:\__w\1\s\Source\LocalAgentEvents\LocalAgentEventSource.cs
  SourceLineNumber  79
 
FinancialReportingType missing in the Service Fabric.
 
Able to login to the environment.
 
Environment Architecture:
1. ORCHESTRATOR - 3 modes
2. AOS - 2 nodes
3. MR - 1 node
4. SSRS - 1 node
5. SQL - 1 node
 
Environment Information:
  1. Node OS - Windows Server 2022 (latest windows update)
  2. SQL - Windows Server 2022 ( (latest windows update) with SQL 2022 Enterprise (CU12)
  3. Service fabric - Microsoft.Azure.ServiceFabric.WindowsServer.11.0.2707.1
  4. Domain controller - Windows Server 2016
  5. ADFS - Windows Server 2019
  6. Fileserver - Windows Server 20xx (SMBv1 disabled, SMBv2, SMBv3 enabled)
Calling all community pros for help on this situation. I've been trying for months to deploy a sandbox on 10.0.4x.
 
Thanks a ton.
Categories:
I have the same question (0)
  • Suggested answer
    Komi Siabi Profile Picture
    13,120 Most Valuable Professional on at
    You will agree with me that, even though you are able to login, the deployment is indeed not successful as local won't be able to communicate with LCS and display the environment status as deployed. In most case, it's an issue relating to the ADFS server of the ADFS cert itself.
     
    You need to pin point out the reason why the deployment fails on the last application. 
    * Run Test config on the MR node
    * On the primary orchestrator, in the event log, check the most recent job that contains Dvt at the end before the error log. 
     
     
    Run the entire script similar to what is shown in my attached image file(without invoking), on Powershell. This would give you the actual error. Feel free to share with us. 
     
  • Mandeep.S Profile Picture
    277 on at
    On the primary orchestrator I have a few lines of this...
     
    The faulting application is AOSSetupHybrindCloud.exe and this is the error in the primary orchestrators event log:
    LocalAgentCommon.LocalAgentInvalidOperationException: Unable to deploy AOSSetupHybridCloudError module at Microsoft.Dynamics.LocalAgent.OrchestrationService.Tasks.AXSetupManager.HandleAOSSetupHybridCloudError(Guid errorCode) at Microsoft.Dynamics.LocalAgent.OrchestrationService.Tasks.AXSetupManager.ThrowModuleExceptionBasedOnError() at Microsoft.Dynamics.LocalAgent.OrchestrationService.Tasks.DeployModulesRunnerTask.Run(OrchestratorRunbookResource runbookResource, String commandId, String jobId, String runbookTaskId) at Microsoft.Dynamics.LocalAgent.OrchestrationService.OrchestrationJobManager.<>c__DisplayClass22_0.<CreateNewTaskThread>b__4()
     
    Based on your suggestion, I ran this using PowerShell.

    PS Microsoft.PowerShell.Core\FileSystem::\\xx\c$\xxx\Install>  \\xx\swagent\wp\xxx\StandaloneSetup-1781515\Apps\AOS\Setup\AOSSetupHybridCloud.exe \\xx\swagent\wp\xxx\StandaloneSetup-1781515\config.json \\xx\swagent\wp\xxx\StandaloneSetup-1781515 Setup

    No errors while running this... What should I do next?
     
    Thanks.
     
  • Komi Siabi Profile Picture
    13,120 Most Valuable Professional on at
    What you ran is a setup, not the Dvt like I mentioned.
    Anyway, go to each AOSs and check the event viewer, then the log from the SF folder. Share them for us to analyze while you hit the re-configure button and provide us with feedback.
  • Mandeep.S Profile Picture
    277 on at
    The SF folder has many logs, which ones do I post?
     
    - C:\ProgramData\SF\Log - this one is > 3 Gb
    - C:\ProgramData\SF\AOS01\Fabric\work\Applications - this has many applications that generate logs
  • grapevyn Profile Picture
    8 on at
    Hi Mandeep, did you find a solution to this ? Please share

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
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 384 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans