説明/参照:
Explanation:
ConfigurationModeパラメーターをApplyOnlyからApplyAndAutocorrectに変更します。
Register-AzureRmAutomationDscNodeコマンドレットは、Azure仮想マシンをAzure AutomationアカウントのAPS Desired State Configuration(DSC)ノードとして登録します。
シナリオ:現在の技術的問題
テストサーバーは最初に展開されたときには正しく構成されていますが、時間の経過とともに構成の変動が発生します。 Azure Automation State Configurationが構成を修正できません。
Azure Automation State Configurationノードは、次のコマンドを使用して登録されます。

参考文献:
https://docs.microsoft.com/ja-jp/powershell/module/azurerm.automation/register- azurermautomationdscnode?view = azurermps-6.13.0