VMware {code} Community
cann0nf0dder
Enthusiast
Enthusiast
Jump to solution

Upgraded to vSphere 6 perl SDK , SOAP errors

After successful upgrade to vSphere 6u2, I can no longer run API scripts:


vmcreate.pl --url https://${vcenter}:443/sdk/webService  <parameters>

Results in:

Error creating VM 'testVM':

SOAP Fault:
-----------
Fault string: Permission to perform this operation was denied.
Fault detail: NoPermissionFault

I have updated and tried the latest perl SDK as well, same error.

I have administrator rights on vCenter level , propagating all the objects.

Any suggestions more than welcome!

Thanks!

Tags (1)
Reply
0 Kudos
1 Solution

Accepted Solutions
cann0nf0dder
Enthusiast
Enthusiast
Jump to solution

Just an update for those who are also having this issue.

It looks like for API call originating from vmcreate.pl requires some grater privileges on data center object than those set in vSphere 5.5,

I have documented some more details in my blog. http://www.virtualflow.net/2016/05/vsphere-6u2-permissions-vs-perl-sdk-api-calls/

Hope that helps! This thread can be closed.

View solution in original post

Reply
0 Kudos
1 Reply
cann0nf0dder
Enthusiast
Enthusiast
Jump to solution

Just an update for those who are also having this issue.

It looks like for API call originating from vmcreate.pl requires some grater privileges on data center object than those set in vSphere 5.5,

I have documented some more details in my blog. http://www.virtualflow.net/2016/05/vsphere-6u2-permissions-vs-perl-sdk-api-calls/

Hope that helps! This thread can be closed.

Reply
0 Kudos