Error: "Value 'None' is invalid for parameter IPAddressAllocationMode." when using Set-CINetworkAdapter cmdlet
search cancel

Error: "Value 'None' is invalid for parameter IPAddressAllocationMode." when using Set-CINetworkAdapter cmdlet

book

Article ID: 373635

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • When attempting to update a network adapter of a Cloud Director VM using PowerCLI the following error is encountered.

    Set-CINetworkAdapter : Value 'None' is invalid for parameter IPAddressAllocationMode.
    At line:1 char:60
    + ... r -Primary $True | Set-CINetworkAdapter -IPAddressAllocationMode None
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo : NotSpecified: (:) [Set-CINetworkAdapter], InvalidArgument
        + FullyQualifiedErrorId : VMware.VimAutomation.Cloud.Types.V1.Exceptions.InvalidArgument,VMware.VimAutomation.Cloud.Commands.Cmdlets.SetCINetworkAdapter

Environment

VMware PowerCLI

VMware Cloud Director 10.x

Cause

This is a known issue impacting PowerCLI.

Resolution

This matter is resolved in PowerCLI 13.3 which can be installed via PowerShell using the Update-Module cmdlet. Alternatively the latest release can be downloaded from Broadcom Developer Portal.