コマンド(AXUpdateInstaller.exe devinstall)実行時にエラー

[現象]

パッケージをインストールする際、以下のコマンドを実行するとエラーが発生しました。

実行したコマンド

AXUpdateInstaller.exe devinstall

エラー

Generated runbook with id: Runbook20180xxxxxxx
Start executing runbook : Runbook20180xxxxxxx
Executing step: 1
Stop script for service model: AOSService on machine: localhost
Stop AOS service and Batch service
Failed to find the AOS website name.
The step failed
The step: 1 is in failed state, you can use rerunstep command to debug the step explicitly

参照

Install a deployable package
> Install an application (AOT) deployable package on a development environment
/en-us/dynamics365/unified-operations/dev-itpro/deployment/install-deployable-package#install-an-application-aot-deployable-package-on-a-development-environment

----抜粋ここから----
4. Run the following command.

AXUpdateInstaller.exe devinstall

The devinstall option installs the AOT deployable package on the VM. As of Microsoft Dynamics 365 for Finance and Operations, Enterprise edition with platform update 12, the devinstall option doesn't require that you be an administrator on the VM.
----抜粋ここまで----

 

[対処方法]

環境作成後、一度も Visual Studio を起動していない場合に発生します。一度、Visual Studio を起動および停止後、再度コマンドを実行してください。