Skip to main content

July 20, 2026

Prepare the Client

Prepare your Windows or Ubuntu client for the PowerShell deployment.

Procedure

  1. Open the PowerShell command window with administrative rights.

  2. Run the command.

    VersionCommand
    PowerShell 5
    Install-Module -Name AzureRM -Force
    PowerShell 7
    Install-Module -Name Az -Force
  3. To log in to your Azure environment, run the command.

    VersionCommand
    PowerShell 5
    connect-AzurermAccount
    PowerShell 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?.

  1. Check if the UseStandardSecurityType feature is already registered.

    Get-AzProviderFeature -FeatureName UseStandardSecurityType -ProviderNamespace Microsoft.Compute

  2. If the feature is in Unregistered state, run this command.

    Register-AzProviderFeature -FeatureName UseStandardSecurityType -ProviderNamespace Microsoft.Compute

  3. Wait for registration to complete. Run this command to check the status.

    Get-AzProviderFeature -FeatureName UseStandardSecurityType -ProviderNamespace Microsoft.Compute
    The status should show Registered.

  4. When the registration is complete, refresh the resource provider.

    Register-AzResourceProvider -ProviderNamespace Microsoft.Compute

Was this page helpful?

Provide feedback for this topic

Was this topic helpful?

Please do not include any personal or confidential information.

Generating link…