InvokeEnvironmentChecker error when deploying Azure Local instance from Azure. HAs anyone encountered this?

Ranjan Basnet 0 Reputation points
2025-04-07T05:13:13.2433333+00:00

I am getting below errors eventhough I am using the domain admin account:

Exception

Type 'InvokeEnvironmentChecker' of Role 'DeploymentService' raised an exception: System.Management.Automation.RuntimeException: Fail to initialize cloud deployment: In order to run deployment you must be logged in as the Domain Admin account'. Command Arguments ------- --------- Initialize-CloudDeployment.ps1 {JSONFilePath=C:\Deployment\Unattended.json, RegistrationResourc... ValidateJob.ps1 {exceptionLogXml=C:\MASLogs\LCM_Controller_Validate_Exception202... <ScriptBlock> {} at checkForInvokeTimeout, C:\NugetStore\Microsoft.AzureStack.Role.Deployment.Service.10.2503.0.907\content\Classes\DeploymentService\DeploymentService.psm1: line 1440 at InvokeEnvironmentChecker, C:\NugetStore\Microsoft.AzureStack.Role.Deployment.Service.10.2503.0.907\content\Classes\DeploymentService\DeploymentService.psm1: line 435 at <ScriptBlock>, C:\NugetStore\Microsoft.AzureStack.Solution.LCMControllerWinService.10.2503.0.907\content\LCMControllerWinService\InvokeInterfaceInternal.psm1: line 139 at Invoke-EceInterfaceInternal, C:\NugetStore\Microsoft.AzureStack.Solution.LCMControllerWinService.10.2503.0.907\content\LCMControllerWinService\InvokeInterfaceInternal.psm1: line 134 at <ScriptBlock>, <No file>: line 36

Microsoft Managed Desktop
Microsoft Managed Desktop
A cloud-based service that brings together Microsoft 365 Enterprise and adds these features: User device deployment; IT service management and operations; and Security monitoring and response.
86 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.