Could not create VM from Service Management Portal API

I need to create a VM using the SMP API.
Sending the following request: 
Accept-Encoding: identity
Content-Length: 3132
Content-Type: application/json;odata=verbose
Accept: application/json;odata=verbose
User-Agent: Boss/0.1 
    "CloudId": "892f3c2e-7d43-4340-9b3c-99269885cdf6",
    "ComputerName": "BOSSTest",
    "Name": "BOSS Temp Machine Name",
    "StampId": "5dfdab3b-b3c7-45c6-bfc4-a95636c4542e",
    "VMTemplateId": "39153713-aa56-4f68-a58f-6687a1272fd2",
    "Description": "Test Automation",
    "DiskIO": null,
    "Dismiss": null,
    "Domain": null,
    "DynamicMemoryBufferPercentage": null,
    "DynamicMemoryDemandMB": null,a
    "DynamicMemoryEnabled": null,
    "DynamicMemoryMaximumMB": null,
    "Enabled": null,
    "ExcludeFromPRO": null,
    "ExpectedCPUUtilization": null,
    "FailedJobID": null,
    "FullName": "",
    "HardwareProfileId": null,
    "HasPassthroughDisk": null,
    "HasSavedState": null,
    "HasVMAdditions": null,
    "HeartbeatEnabled": null,
    "HighlyAvailable": null,
    "IsFaultTolerant": null,
    "IsHighlyAvailable": null,
    "IsUndergoingLiveMigration": null,
    "LastRestoredCheckpointId": null,
    "LibraryGroup": null,
    "LimitCPUForMigration": null,
    "LimitCPUFunctionality": null,
    "LinuxAdministratorSSHKey": null,
    "LinuxDomainName": null,
    "LocalAdminPassword": "!!123abc",
    "LocalAdminRunAsAccountName": null,
    "LocalAdminUserName": "Administrator",
    "Location": null,
    "MarkedAsTemplate": null,
    "Memory": null,
    "MemoryAssignedMB": null,
    "MemoryAvailablePercentage": null,
    "MemoryWeight": null,
    "ModifiedTime": null,
    "MostRecentTaskId": null,
    "NetworkUtilization": null,
    "[email protected]": "Collection(VMM.NewVMVirtualNetworkAdapterInput)",
    "NumLock": null,
    "OperatingSystem": null,
    "OperatingSystemShutdownEnabled": null,
    "Operation": null,
    "OrganizationName": null,
    "Owner": {
        "RoleID": null,
        "RoleName": null,
        "UserName": null,
        "odata.type": "VMM.UserAndRole"
    "Password": null,
    "Path": null,
    "PerfCPUUtilization": null,
    "PerfDiskBytesRead": null,
    "PerfDiskBytesWrite": null,
    "PerfNetworkBytesRead": null,
    "PerfNetworkBytesWrite": null,
    "ProductKey": null,
    "Retry": null,
    "RunAsAccountUserName": null,
    "RunGuestAccount": null,
    "ServiceDeploymentErrorMessage": null,
    "ServiceId": null,
    "SharePath": null,
    "SourceObjectType": null,
    "StartAction": null,
    "StartVM": true,
    "Status": null,
    "StatusString": null,
    "StopAction": null,
    "Tag": null,
    "TimeSynchronizationEnabled": null,
    "TimeZone": null,
    "TotalSize": null,
    "Undo": null,
    "UndoDisksEnabled": null,
    "UpgradeDomain": null,
    "UseCluster": null,
    "UseLAN": null,
    "UserName": null,
    "VMBaseConfigurationId": null,
    "VMCPath": null,
    "VMConfigResource": null,
    "VMHostName": null,
    "VMId": null,
    "VMResource": null,
    "VMResourceGroup": null,
    "VirtualHardDiskId": null,
    "VirtualMachineState": null,
    "VirtualizationPlatform": null,
    "WorkGroup": null,
    "odata.type": "VMM.VirtualMachine"
i only get the response: 
Date: Fri, 29 Nov 2013 13:21:46 GMT
X-Content-Type-Options: nosniff
Server: Microsoft-IIS/8.0, Microsoft-IIS/8.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET, ASP.NET
Cache-Control: no-cache
DataServiceVersion: 1.0;
request-id: 853d7c54-ece5-0000-ff09-3e85e5ecce01
Content-Length: 0
When i look at the Service Management logs i found this: 
Resource provider unexpected exception for request with verb 'POST', operation name 'Outgoing tenant proxy call', request URI '',
 version '', client request Id '', server request Id '31098b27ca9f4301a7b091e4d6c4db3e.2013-11-29T13:21:44.6146313Z', status code 'InternalServerError', reason 'Internal Server Error', body '{"error":{"code":"","message":{"lang":"de-AT","value":"An
error occurred while processing this request."},"innererror":{"message":"<ErrorInfo>\r\n  <DisplayableErrorCode>11418</DisplayableErrorCode>\r\n  <ErrorType>Error</ErrorType>\r\n  <Problem>You
have no access rights for at least one of the required objects for this operation.</Problem>\r\n  <RecommendedActionCLI>Apply the Virtual Machine Manager administrator to obtain the required
permissions.</RecommendedActionCLI>\r\n  <DetailedCode>None</DetailedCode>\r\n  <SymbolicErrorCode>ObjectsInaccessible</SymbolicErrorCode>\r\n</ErrorInfo>","type":"System.Management.Automation.RuntimeException","stacktrace":"
  at System.Management.Automation.Interpreter.ThrowInstruction.Run(InterpretedFrame frame)\r\n   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)","internalexception":{"message":"<ErrorInfo>\r\n
 <DisplayableErrorCode>11418</DisplayableErrorCode>\r\n  <ErrorType>Error</ErrorType>\r\n  <Problem>You have no access rights for at least one of the required objects for this operation</Problem>\r\n  <RecommendedActionCLI>Apply
the Virtual Machine Manager administrator to obtain the required permissions.</RecommendedActionCLI>\r\n  <DetailedCode>None</DetailedCode>\r\n  <SymbolicErrorCode>ObjectsInaccessible</SymbolicErrorCode>\r\n</ErrorInfo>","type":"Microsoft.SystemCenter.Foundation.Common.VMMErrorException","stacktrace":""}}}}'.
Can someone help me? I have no idea which permissions i need!
BR and Thanks in advice!

Just to make sure, have you done this step stated at the link below?
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Milton Goh
MCSE, MCSA, MCITP, MOF, ITIL, AIIM SharePoint Specialist
Blog |

Similar Messages

  • ERROR Could not create DOM from control.xml

    Hi All,
    I am installaing 4.7EE on Sun Solaris 5.9 SPARC with Oracle and JDK version is 1.4.2_08. When i am running sapinst, sapinst GUI opens and after when i am selecting the Central installtion and i click on Next it giving error message that
    WARNING Could not read file control.xml. Please make sure that you called SAPinst with the correct control file (the control file is given to SAPinst as its first command line parameter or as value of the command line property SAPINST_CONTROL_URL)
    ERROR Could not create DOM from control.xml
    How to solve this error. I have searched in SDN but i am unable to get the solution.
    Mahesh C

    Hi Kiran,
    I have given all permissions to the control file. But these control files are in different places /SAPINST/UNIX/SUNOS_64/PATCOL640/WEBAS630 and ORA, DB2, DB6, IND, INF, ADA in these folders i can c the Control.xml files. But i have given all read write and execute permissions but still its getting the same error. I have downloaded the same IM for 3 times and tried.. But the result is the same.
    Is there any other way of work around for this...
    Mahesh C

  • Could not create SOA as a Managed server

    I Installed Oracle SOA suite and then I created the Weblogic domain. But the SOA server is not installed as a separate Managed server. I could not find anywhere create as a Managed server option while creating domain or installation.
    The strange thing is that when I install BAM or OSB they appear as a Manged servers on Weblogic console but not SOA as I following the same process.
    Please help me to figure out this problem.
    Thank you,

    As shown by your screenshots, your soa managed server is not started, that's the main reason you cannot see the "SOA" folder on EM.
    EM is just a administration console and is per default deployed on the admin server. So it's normal that EM can be up and running while the "soa_infra", that should be target to the managed server, is down (since the managed server is not launched).
    And no, when you launch your weblogic server with "startWeblogic.cmd" for example, it will only start the admin server of the domain.
    If you want to launch your soa managed server you need to :
    - use the "startManaged*.cmd" (don't recall the exact name) for a manual launch. Don't forget to give the name of the managed server you want to start as an argument of the script.
    - register it as a service for an automated launch.

  • Could not create a managed connection manager ; SSIS package from SSMS - Windows 7 64 bit

    I created connection as Oracle provider for .Net.
    In data flow, using the ado net source. select data access mode as SQL command.
    When click preview. data is coming.
    But when right click the dataflow task --> execute task.
    data flow is failed with following error
    [ADO NET Source [1]] Error: Microsoft.SqlServer.Dts.Runtime.DtsCouldNotCreateManagedConnectionException: Could not create a managed connection manager. at Microsoft.SqlServer.Dts.Runtime.ManagedHelper.GetManagedConnection(String assemblyQualifiedName, String
    connStr, Object transaction) at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100.AcquireConnection(Object pTransaction) at Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.AcquireConnections(Object transaction) at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostAcquireConnections(IDTSManagedComponentWrapper100
    wrapper, Object transaction)

    Do you run it under 64bit?
    if yes, go to Project menu, select project properties.
    in the project properties window, go to Debugging tab, and set Run64BitRuntime as false. and try again.

  • Runbook for decommission vm from service manager end portal

    I have created runbook for provision vm in VMware and it is working fine from service manager self service portal...
    Now my next requirement is end user should be able delete the vm which he provisioned from the portal....
    So, I have created one simple work flow for delete VM and only vm name is the input parameter...
    Now when create the request offering user should get the list of vms which he provisioned...How can I get the list of vms in request offering?
    Thanks in advance for your help...
    Sudheesh M A

    This blog post show you query based list and this
    First you need to make sure you have the machines in Service Manager CMDB. If it is domain joined servers they should be in the CMDB, from the Active Directory connector. Then you need to have a way to filter out which machines to show for a user. When a
    end user browse to the SCSM portal you can access the username from the service offering by a varaible named Token Portal User Name. The Token: Portal User Name is in format CONTOSO\leni (DOMAIN\username)
    You can use it to filter which servers to show, if you add DOMAIN\username on a attribut on each server. For example if you add the owner of the VM to each server, in format DOMAIN\username you can then configure the query based list to show list all servers
    were the notes field or owners field is equal to Token Portal User Name.
    Once you have all servers in the CMDB and servers has owner in correct format you can start thinking about new runbooks.
    Anders Bengtsson | Microsoft PFE | blog at

  • Server 2012 CDP PKI Setup on Subordinate CA - Active Directory Certificate Services could not create an encryption certificate

    When I check pkiview.msc on my 2012 Subordinate CA I get the error shown in the first picture below. I'm also getting errors similar to below in the event log:
    "Active Directory Certificate Services could not create an encryption certificate.  Requested by contoso\admin1.  The revocation function was unable to check revocation because the revocation server was offline. 0x80092013 (-2146885613 CRYPT_E_REVOCATION_OFFLINE)."
    I'm assisting in setting up a 2 tier PKI infrastructure using Windows 2012. The root CA looks good, but we're getting errors on the subordinate. The server was working, but we discovered that the server would only issue certificates with a maximum of a 1
    year expiry date - obviously no good, so we decided to run through the following commands on the root CA (as recommended by
    certutil -setreg ca\ValidityPeriodunits "Years"
    certutil -setreg ca\ValidityPeriod "5"
    restarted AD certificate services on the root and subordinate CA.Then did the following on the subordinate CA:
    1.On the Subordinate CA create a new CA request by right clicking the server in ADCS and select New Request.
    2.Supplied the original request file from the subordinate CA (I couldn't find a way of generating a new request file)
    3.Issued the certificate using the Root CA.
    4.On the Subordinate CA ADCS installed new CA cert.
    However, I keep on getting CDP or AIA errors on my subordinate CA.Also I'm missing a CDP field value when I look at the certificate listed in the personal and trusted certification authority store on my subordinate CA.
    In addition, when I look at my CDP locations in Certificate Authority, I see a lot of CDPs, but I'm not sure if I need them all - I suspect I could just get away with LDAP, the C:\windows path and a single http:// path.
    I've tried renewing the existing certificate and CRL on my subordinate CA, but that didn't work either.
    Please advise.

    Ok, the process to renew the subordinate CA is incorrect. Once the registry setting to change the validity period was made on the root CA, the root CA ADCS service needs to be restarted. That is the only time those keys are read. Then:
    1) On the subordinate CA, open the CA tool, right click the CA and select Renew CA Certificate. You can use the same key, no need to create a new one. It will create a NEW certificate request file
    2) Copy that to the Root CA and submit like you would have done during the initial install
    3) Approve the request and export the issued certificate
    4) On the subordinate CA, in the CA tool, right click the CA and choose Install CA Certificate.
    You can not reuse request files.
    Mark B. Cooper, President and Founder of PKI Solutions Inc., former Microsoft Senior Engineer and subject matter expert for Microsoft Active Directory Certificate Services (ADCS). Known as “The PKI Guy” at Microsoft for 10 years.

  • Error: Page Metadata could not be obtained from the Portal database.

    Maybe some one can help me with this.
    After my installation (oas portal 10.1.4) I changed my URL in portal and sso.
    modplsql : http://<webserver>:<port>/pls/portal/htp.p?cbuf=test --> its working fine. I got test
    Parallel Page Engine (PPE) : http://<webserver>:<port>/portal/page --> its working fine. I got PPE is working.
    http://login.hostname:port/oiddas --> It`s working fine
    http://login.hostname:port/sso --> It`s working fine
    http://hostname:port/portal/page/portal/TOPLEVELSITE --> It's not working I got in firefox Error: Page Metadata could not be obtained from the Portal database. In explorer i got HTTP 500 error.
    I checked my application.log and I got this:
    **portal: id=45342345678,1 ContentFetcher Unexpected Exception Request Failed:oracle.webdb.dispatcher.DispatcherException: I/O Error dispatching request name=content-fetcher19 label=pageMeta url=http://<webserver>:port/portal/pls/portal/! time=1ms timeout=60000ms process=Dispatching**
    Maybe some one can help me to solve this threat.
    Thank you.

    [email protected] wrote:Edited by: [email protected] on Sep 30, 2009 6:14 PM
    To register the url in portal I used this doc 434795.1 - 558634.1 from metalink.
    I verified and i got this:
    I havent create new token values.
    Edited by: [email protected] on Sep 30, 2009 6:14 PMHave you configured your Infra with a new hostname on a different port ?
    Unless, you had installed your OAS with custom ports, and have not used the default ports for the components, your lsnr_token for the newurl has a problem. orasso and sso should be configured at 7777, and by default they configure at that port. That means that your newURL should be pointing to for the ls_login_url.
    This might have happened due to some error in registering your portal with the SSO. Have you used custom ports for your installations?
    Additionally, did you configure your newurl on port 80?

  • Could not install DPM agent on Secondry site DPM could not connect to the Service control manager : ID 33221

    We have two DPM 2012 R2 server installed at Primary and Secondary site Windows 2012 R2 installed.
    We need to Protected Primary DPM from Secondary DPM.
    When install DPM agent got error from secondary DPM console.
    “DPM could not connect to the Service Control Manager on these servers ID: 33221”
    Checked till now :
    Visual C++ redistributable installed.
    Checked DNS A record and both server can ping each other,
    Widows Firewall off on both servers.
    Net stop mpssvc ( Windows firewall service)
    sc \\Server1 query
    to see result

    You mention checking the DNS A record, are these 2 servers not in the same domain? Can you ping -a computername?
    Do you have any other AV software that have firewalls built in?
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Could not create shortcut Manage Virtual Networks.lnk during VM Server 2 install. Why?

    I am trying to install VMware Server 2.0.2 on my HP Laptop running Windows 8 Pro as Host. But I am getting the following warning messages but the install continues to completion:
    Warning Msg:
    Warning 1909. Could not create shortcut Manage Virtual Networks.lnk. Verify that the destination folder exist and that you can access it.
    Warning 1909. Could not create shortcut Server Home Page.lnk.         Verify that the destination folder exist and that you can access it.
    After installation, I am not able to login to the VM Server. When I click on the VMware Sever login icon, the error that I am getting states: okonita1:8333 -
    Oops! Page Not Found
    Sorry, the page you were looking for could not be found.
    I am at a loss how to correct this error. I have googled, read and followed a lot of the online help that I can find including taking ownership of suspect target folders such as ProgramData, all to no avail.
    At this point, I am hoping someone does know what specifically can help resolve my issue and I am asking for help. VMware knowledge base or support are not helpful.
    Thanks all,

    Did you run the VMServer setup *as Administrator*?
    Did you have IIS installed on your system before you installed VMServer?

  • Could not create JVM Virtual machine(While starting soa managed server)?

    While starting managed server I am getting following errors:
    Could not commit 1048576KB heap memory at 0x0000000004790000.
    Could not create JVM Virtual machine.
    After above error SOA managed server is to be down.
    Please help me that how can i resolve this issue.

    Hi Dharm,
    This is typically printed when we are short on memory.
    What is OS version and JDK being using here ? 32bit or 64bit ?
    Current Xms and Xmx values ?

  • What do i do when Itunes says "Itunes could not load data from sync services  reconnect or try again later

    Hi, just recently when I attemted synced my ipod touch 5th generation, i got a message saying
    "Itunes could not load data from sync services  reconnect or try again later
    I am running the latest version on itunes (not quiet sure which specific one)
    I am running ios 6.1   my ipod is not jail broken
    don't know what to do
    I then cleard the message and my ipod showed up and began to sync
    however it is staying at the backing up stage for 12 hours
    Not sure what to do help!

    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert
    "load data class"

  • Error: Could not read Metadata from Portal Database !

    Hi All!
    My problem is when i am trying to open the portal page (Oracle 10G)
    then i have an Error: Could not read Metadata from Portal Database.
    And i do not know why because everything is up and running. I can connect and browse my database schema with portal user. I can connect to pls/orasso and where ever i want.
    [07/Feb/2006:00:57:23 +0100] "GET /pls/portal/htp.p?cbuf=Test HTTP/1.1" 200 5
    plz help i am trying to fix this in the last 2 weeks :)
    thx kEndE

    Hi Andreas,
    I've changed the permissions to 775 and changed the ownership of /sapcd (volume name) to orasid:dba (including all files within the staging area /sapcd/ora-patch).
    So the permissions and ownership seems to be fine.
    I've also ran your suggested commands but the issue still exists.
    I'm now liasing with our UNIX guy to check if there is any underlying permission issues on the volume (sapcd) that may be causing this problem.
    In the mean time, let me know if you have any further thoughts.

  • Service Manager Portal not displaying VM console and related details

    Hi All,
    We have deployed private cloud with system center products using Cloud Services Process Pack and we have deployed Service Manger portal for VM provisioning in Cloud
    The Service Manger portal does not display VM console and VM details
    I have following queries
    How to take remote console of VM deployed by end user through service manager portal
    How will user come to know quota limit utilized in cloud under his account
    The VM are deployed through SCSM portal are in shutdown state how to auto start the VM after provisioning
    Please help since we are not able to find any solution for the above
    Appreciate if any workaround is available for the same
    Manzoor Ahmed

    The component of System Center that is capable to give console access to your VMs, is App Controller.
    Once the user are logged in here, they should see their quota, limits and resources available.
    Yes, the VMs are powered off by default when using the CSPP. You can edit the runbooks and add a task that will start them after provisioning.
    For your information:
    Many things has changed since the release of Cloud Service Process Pack. A new set of tools are provided with Windows Azure Pack to have a streamlined Infrastructure as a Service offering within the enterprise. Windows Azure Pack will leverage VMM (in the
    same way as SCSM does) but in conjunction with SPF (component within Orchestrator) to give you a framework that is identical to Windows Azure (Microsoft's own cloud) running on-premise.
    Kristian (Virtualization and some coffee: )

  • IP/TV "Could not create RTSP connection with Program manager"

    When we try to view IP/TV content with the IP/TV viewer we are able to but when we try to view it through a webpage I recieve the error:
    "Could not create RTSP connection with Program manager"
    I have no idea what the problem is. Anyone have any input?
    Please see the attached image.

    The client, program manager and ip tvserver are all on the same local area network
    This URL should help you:

  • Error: System.Management.Automation.RemoteException: Federation information could not be received from the external organization.

    I'm getting 2 errors and 1 warning in the Hybrid Configuration object:
    INFO : Session=Tenant Cmdlet=Get-FederationInformation -DomainName '' -BypassAdditionalDomainValidation: $true START
    ERROR : System.Management.Automation.RemoteException: Federation information could not be received from the external organization.
    INFO : Session=Tenant Cmdlet=Get-FederationInformation FINISH Time=2620.7003ms
    INFO : Session=Tenant Cmdlet=Get-FederationInformation -DomainName '' -BypassAdditionalDomainValidation: $true START
    ERROR : System.Management.Automation.RemoteException: Federation information could not be received from the external organization.
    INFO : Session=OnPrem Cmdlet=Get-OrganizationConfig START
    INFO : Session=OnPrem Cmdlet=Get-OrganizationConfig FINISH Time=203.229ms
    WARNING : Office 365 was unable to communicate with your on-premises Autodiscover endpoint.  This is typically due to incorrect DNS or firewall configuration.  The Office 365 tenant is currently configured to use the following URL for Autodiscover
    queries from the Office 365 tenant to the on-premises organization - See the following article for further information:
    Any help would be greatly appreciated.
    Hello World.

    If the IIS configuration is missing the svc-Integrated handler mapping, the issue may occur. Please try to refer to the following KB to check if the issue can be solved.
    Please check if there is A record for autodiscover on public DNS server or DNS SRV record.
    Additional blog for your reference.
    Cara Chen
    TechNet Community Support

Maybe you are looking for

  • Scanning multiple pages to single file

    I have the HP Officejet Pro 8600.  I use to be able to scan multiple pages to one file.  For some reason now it separates the pages into single files.  Under advanced settings it looks like the option "create a separate file for each scanned page" is

  • Including "Total Stock Qty" and "Total Stock Value" in Slow movingitm Query

    Dear Guys,                 Regards.I am using the standard "Slow moving Item's Query" based upon the "Slow moving item Multiprovider".The Query design is as follows: Filter: 0CALDAY(PERIOD FROM/PERIOD TO) Rows: 0MATERIAL(VARIABLE-OPTIONAL) 0MATERIALG

  • EJB3 - More than one remote interface for Session Bean?

    Hi, Is it possible in EJB3 to have more than one remote interface for a SessionBean? I have seen it posetd on here that it is possible but never been able to find any other information. Using JBoss as my App Server, I have deployed an App, where a Se

  • HT201402 storage problem with ipad

    why does my computer say that I have 20 gigabytes of tv shows, but then when I put them on my ipad they become 40 gigabytes of tv shows???

  • TV On The Web?

    Is there a site on the net where you can get sports and other tv shows or packages rather than the garbage you find on your typical cable or satellite? Something that is compatible with Apple computers? I don't think what I'm looking for is in iTunes