PowerShell デプロイのために Windows または Ubuntu クライアントを準備します。
手順
-
管理者権限で PowerShell コマンド ウィンドウを開きます。
-
次のコマンドを実行します。
バージョン コマンド PowerShell 5 Install-Module -Name AzureRM -ForcePowerShell 7 Install-Module -Name Az -Force -
Azure 環境にログインするには、次のコマンドを実行します。
バージョン コマンド PowerShell 5 connect-AzurermAccountPowerShell 7 connect-AzAccount
次のタスク
サブスクリプションでの UseStandardSecurityType 機能の登録
現在、Unified Access Gateway は標準起動方式に対応しています。Microsoft は、標準起動方式を有効にするために、UseStandardSecurityType 機能をサブスクリプションに明示的に登録することを推奨しています。詳細については、Microsoft FAQ「仮想マシンの新しい展開でトラステッド起動を無効にできますか?」に記載されている注を参照してください。
UseStandardSecurityType機能がすでに登録されているか確認します。
Get-AzProviderFeature -FeatureName UseStandardSecurityType -ProviderNamespace Microsoft.Compute- 機能の状態が「
Unregistered」の場合は、次のコマンドを実行します。
Register-AzProviderFeature -FeatureName UseStandardSecurityType -ProviderNamespace Microsoft.Compute - 登録が完了するまで待機します。次のコマンドを実行してステータスを確認します。
Get-AzProviderFeature -FeatureName UseStandardSecurityType -ProviderNamespace Microsoft.Compute
ステータスが「Registered」と表示されていれば成功です。 - 登録が完了したら、リソース プロバイダを更新します。
Register-AzResourceProvider -ProviderNamespace Microsoft.Compute
このページは役に立ちましたか?