VMware PowerCLI

The Best User Interface for your VMware Datacenter!

Bugfix: unable to create a routed Org Network as an Org Admin in vCD

Actual Behavior

When creating a routed Org Network as an Org Admin using the New-OrgVdcNetwork cmdlet the following error is displayed.

The operation 'Create org network' is not available. It is available only to system administrators.

Expected Behavior

Users with OrgAdmin privileges must have the ability to create a routed Org network. This is possible using the tenant UI and the Rest API.

Module versions

Get-InstalledModule -Name VMware.PowerCLI, VMware.VimAutomation.Cloud | select Version, Name, Repository

Version         Name                       Repository
-------         ----                       ----------
11.4.0.14413515 VMware.PowerCLI            PSGallery
11.0.0.10379994 VMware.VimAutomation.Cloud PSGallery

Steps to Reproduce

  1. Log in as a user with OrgAdmin privileges
  2. Open PowerShell and run:
New-OrgVdcNetwork -Name "OrgVdcNetworkName" -Routed -OrgVdc $MyOrgVdc -edgegateway "ESGName" -Gateway "GWIP" -Netmask "Mask" -StaticIPPool "Pool" -PrimaryDns "PriDNS" -SecondaryDns "SecDNS" -DnsSuffix "Suffix"

References

vCloud Director Administrator's Guide

  • Rudolf Kleijwegt
  • Oct 2 2019
  • Attach files