Prepare your Windows or Ubuntu client for the PowerShell deployment.
Procedure
-
Open the PowerShell command window with administrative rights.
-
Run the command.
Version Command PowerShell 5 Install-Module -Name AzureRM -ForcePowerShell 7 Install-Module -Name Az -Force -
To log in to your Azure environment, run the command.
Version Command PowerShell 5 connect-AzurermAccountPowerShell 7 connect-AzAccount
What to do next
Register UseStandardSecurityType feature in the subscription
Currently, Unified Access Gateway supports Standard launch method. Microsoft recommends to explicitly register the UseStandardSecurityType feature in the subscription to enable Standard launch. For more information, see the note mentioned in the Microsoft FAQ Can I disable Trusted Launch for a new VM deployment?.
- Check if the
UseStandardSecurityTypefeature is already registered.
Get-AzProviderFeature -FeatureName UseStandardSecurityType -ProviderNamespace Microsoft.Compute - If the feature is in
Unregisteredstate, run this command.
Register-AzProviderFeature -FeatureName UseStandardSecurityType -ProviderNamespace Microsoft.Compute - Wait for registration to complete. Run this command to check the status.
Get-AzProviderFeature -FeatureName UseStandardSecurityType -ProviderNamespace Microsoft.Compute
The status should showRegistered. - When the registration is complete, refresh the resource provider.
Register-AzResourceProvider -ProviderNamespace Microsoft.Compute
Was this page helpful?