Skip to content

[BUG] Set-AzureVMStaticVNetIP doesn't exist in Azure Web Portal CLI PowerrShell - still in 2025 #538

@TomaszWieczorkowski

Description

@TomaszWieczorkowski

To Reproduce

Set-AzureStaticVNetIP

Observed Behavior

ERROR MESSAGE in Azure Web Portal CLI PowerShell directly:
"Set-AzureStaticVNetIP: The term 'Set-AzureStaticVNetIP' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."

Expected behavior

Expected behavior is what Microsoft publish on the documentation portal:
https://learn.microsoft.com/en-us/powershell/module/servicemanagement/azure/set-azurestaticvnetip

Below command should work command should work according to Microsoft documentation.

Get-AzureVM -Name VM1 | Set-AzureStaticVNetIP -IPAddress 10.0.0.10 | Update-AzureVM

Is this specific to Cloud Shell?

Yes, it is specific to Azure Web Portal Cloud Shell

Interface information

Azure Portal -> Cloud Shell icon
or
https://portal.azure.com/#cloudshell/

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions