InvokeEnvironmentChecker error when deploying Azure Local instance from Azure. HAs anyone encountered this?
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