VMware {code} Community
thompsoa
Enthusiast
Enthusiast

Issues with vCloud Cmdlets

Hi all,

I'm trying a script to deploy an Organization and all it's components but I'm getting the following error message. Any ideas?

New-Org : 5/4/2017 3:08:24 PMNew-Org    The specified Href 'https://vCloudDirectorServer/api/Internal errror: ComposeOperationHref() : serviceUrl is not

prefix of sourceHref' is not valid.   

At line:1 char:9

+     New-Org -Name $row.Name -FullName $row.FullOrgName -Description $row.Des ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo      : NotSpecified: (:) [New-Org], VimException
+ FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomation.Cloud.Commands.Cmdlets.NewOrg

script error.jpg

Thanks!

Alicia

Alicia Thompson www.bakingclouds.com Twitter:@bakingclouds
Tags (1)
Reply
0 Kudos
2 Replies
cpatidar
VMware Employee
VMware Employee

thompsoa

what version of PowerCLI you are using?

Will you try the same operation with latest version of PowerCLI 6.5

Download VMware vSphere

Reply
0 Kudos
evandermeer
Contributor
Contributor

I'm having the same issue, did you ever manage to resolve this issue?

Reply
0 Kudos