Recent Articles

VMM Error (12700) VMM cannot complete the host operation

I recently got following error when moving a VM from one Hyper-V 2012 Cluster to another Hyper-V 2012 R2 Cluster. The VM was shutdown at the time of moving. The error occured at the step where VMM imports the moved VM into the target host:

Error (12700)
VMM cannot complete the host operation on the server because of the error: 'MV-1' could not be realized due to errors in its configuration file which could not be resolved. (Virtual machine ID C81AB5CD-1254-4D71-8021-7D866A6D8C8C)
Unknown error (0x8000)

Recommended Action
Resolve the host issue and then try the operation again.


In the event log of the target Hyper-V server there are following entries in the Hyper-V-VMMs log:

Error    03.02.2015 14:01:39    Hyper-V-VMMS    24004   
The virtual machine 'VM-1 Clean' is using processor-specific features not supported on physical computer 'host'. To allow for migration of this virtual machine to physical computers with different processors, modify the virtual machine settings to limit the processor features used by the virtual machine. (Virtual machine ID FBB3175E-3951-4589-9495-45E2E9018776)

Error    03.02.2015 14:01:39    Hyper-V-VMMS    19610  
'VM-1' could not be realized due to errors in its configuration file which could not be resolved. (Virtual machine ID C81AB5CD-1254-4D71-8021-7D866A6D8C8C)

Information    03.02.2015 14:01:39    Hyper-V-VMMS    13003  
The virtual machine 'VM-1' was deleted. (Virtual machine ID C81AB5CD-1254-4D71-8021-7D866A6D8C8C)


The first event showed that there was a snapshot on the VM I tried to move. I should have checked this first. After merging the snapshot and starting the move again, VMM was able to move the VM and import it into the target host. There might be other issues that are causing this VMM error. In my case the merging the snapshot fixed it.


VMM – Operations Manager Connection – Error 25904 A Connection Already Exists

When you try to add a System Center Virtual Machine Manager connection to System Center Operations Manager, you might get the following error in VMM 2012 (R2):


This means that an connection already exists. However when you try to verify the existing connection it looks like there is no connection:


To be able to create a new connection, you need to remove the existing connection. The only way to do this is by using PowerShell:

Remove-SCOpsMgrConnection –force

Now you can use the Add Operations Manager dialog again to create the connection.


VMM Error 23008 - The VM Server1 cannot be migrated to Host Host2 due to incompatibility issues

I was recently doing a Live Migration of some VMs from a Windows Server 2012 Hyper-V cluster to a Windows Server 2012 R2 Hyper-V cluster using Virtual Machine Manager 2012 R2 UR4 and got the following error message:

Error (23008) 

The VM Server1 cannot be migrated to Host Host1 due to incompatibility issues. Virtual machine migration operation for Server1 failed at migration source Host1.

Recommended Action

Resolve the incompatibility issue and try the migration again.



There are other reports that state that they had the same issue. One solution (from Benedict Berger) pointed to a conflict with the Hyper-V virtual switch name of the source and destination host. In my situation, the name of the virtual switch on the destination host was different then the name on the source host.

When doing a live migration between hosts, VMM gives you the possibility to select the VM Network and the virtual switch of the destination host. However, choosing a correct switch did not make a difference.


Renaming Hyper-V Virtual Switches, specially when using Hyper-V Clusters and Logical Switches is not really fun. But there is another option. I created a Private Switch on the destination host using the same switch name as on the source Hyper-V host. After that, I was able to migrate the VM between the 2012 and 2012 R2 Hyper-V cluster.

Once the VM was on the other side, the VM lost it’s network connection. Checking the VM network configuration, every thing was configured correctly and the correct Hyper-V switch was configured on the destination host. To get the VM connected again, I had to select a standard Hyper-V switch for the VM and apply the setting. Checking the VM network configuration again, I saw that the correct logical switch was selected again. Strange… However, the network connectivity of the VM was restored.


System Center Service Manager 2012 R2 – Edit Service Offering is blank

The System Center Service Manager 2012 R2 Console with UR4 still has issues when running in full screen mode. When you try to edit a service offering in full screen mode, you will see an blank dialog box:


When you resize the Console, you will be able to see the content of the service offering.


Connection issues to Azure Operational Insight

When configuring the connection from SCOM 2012 to Azure Operational Insight, there are some steps that are not that obvious. SCOM will alert you that the connection has issues, but it’s not that clear why. Here are some alerts I noticed when I initially configure Azure Operational Insight:


Description: Advisor is failing to send operational data to service.

A proxy server or your network settings might be misconfigured or there is a temporary network problem. Check the Knowledge Tab for possible resolutions. The context of where the alert appears might indicate whether the problem is due to a proxy server configuration or some other


Alert: Advisor failed to download the latest advisor knowledge management packs

Description: Event Description: Failed to synchronize the latest Management Package information from Advisor Cloud service. Wait for the next cycle to retry


Alert: Advisor connector failed to send analysis data to management server

Connector Framework Alert Write Action Last modified time


Description: One or more data batch was dropped dropped after exceeding retry time.

This indicates that some data was not uploaded to Advisor for some time and was lost ; there should be additional Alerts pointing at the root cause as to why data was failing to be sent in the first place. Typical reasons include but are not limited to problems with DNS name resolution, failed SSL connection, network timeout and proxy settings. Check the Knowledge Tab for possible resolutions.

SatyaVel from Microsoft postet some very use information on how to troubleshoot Azure Operational Insight connection issues here:


Upgrading a Windows Server 2012 Hyper-V Cluster to Windows Server 2012 R2

Ok, it´s a bit late for such a post since Windows Server 2012 R2 is out for over six month now, but still here are some rough steps from the upgrade of my demo 2012 Hyper-V cluster to Windows Server 2012 R2.

High Level Steps

To do this, I need to remove a existing node from the current 2012 cluster, install 2012 R2 on it and build a new single node cluster. Then move the VMs from the old cluster to the new cluster. Once finished, destroy the old cluster, install 2012 R2 on the free node and join it to the R2 cluster. Since I use VMM, I will try to leverage VMM as much as possible to make the transition easy. These steps are done in VMM:

  • Add the R2 server as a host to VMM, which also installs the Hyper-V role
  • Setup the virtual switch using a logical switch in VMM, which configures all the converged network settings for me
  • Setup the new R2 cluster using the VMM cluster wizard

It´s important to notice that you need additional shared storage for the new cluster. At least one drive for Quorum and one for a CSV disk.

The cluster notes use a converged network of three NICs for Live Migration, Cluster CSV, Management and VM traffic. iSCSI is connected via separate physical NICs.

In this environment I am also using System Center Virtual Machine Manager 2012 SP1. So this needs to be upgraded as well. This post captures the high level steps I performed:


Upgrade of System Center Virtual Machine Manager 2012 SP1 to 2012 R2

  1. Uninstalled VMM 2012 SP1 using Retain Database from the VMM server
  2. Uninstalled the ADK 8 from the VMM server
  3. Upgraded the VMM server to Windows Server 2012 R2
  4. Installed ADK 8.1 on the VMM server (Deployment Tools and Windows Preinstallation Environment features)
  5. Install VMM 2012 R2 using the retained VMM database
  6. Follow the post-upgrade tasks found here:


Fresh install of Windows Server 2012 R2 on the first cluster node (HV01)

  1. Evicted cluster node1 from the cluster (in my case the rest of the cluster run on just one node)
  2. Remote the cluster node1 from VMM
  3. (Remove the virtual switch and the virtual management OS network adapter from the host)
  4. Started Windows Setup from the DVD
  5. Renamed the network adapter to make sense and set up TCPIP correctly on one of the NICs
  6. Renamed the server and joined the server to the domain.
  7. Run Windows update
  8. Configured iSCSI NIC adapter  (for the new cluster

Bring first cluster node (HV01) under control of VMM

  1. Added the new Windows Server 2012 R2 cluster node to the same VMM server as the other node, so the previous VMM server. Now, I have a cluster with one node and a non-clustered Hyper-V node.
  2. Configured the networking on the host. Since I used logical switch configuration I could apply the already created logical switch to the new Hyper-V host quite easily. First I configure the NICs in the team, then I configured the virtual network adapters:

    image         image

    In the Logical Network view I can now see that the HV01 host has been configured with the Logical Network configuration and that the host is compliant.


    On the host itself, there is now a NIC team and the virtual network adapters as specified in the Logical Switch.

    image     image
  3. Note, that although I name the host management adapter in the logical switch configuration “HostManagement”, in the Network Connection panel it´s named vEthernet (Converged Switch), which is the name of the switch not the adapter. The other adapters like ClusterCSV or LiveMigration are named according to the name that I specified in VMM. This is by design, I guess.

    Also, it´s interesting how VMM 2012 and VMM 2012 R2 name the team adapter in Windows. In VMM 2012 the team adapter is named “ConvergedSwitch6b858dbe-fefc-4ecc-994e-e1587551422b” in VMM 2012 R2 the adapter is simply named “ConvergedSwitch”. I always thought that the VMM 2012 naming was a bit strange.

Create a New Hyper-V Cluster from VMM

  1. I created two new LUNs on the storage for the new cluster (called R2Cluster) that I am going to create using HV01.
  2. Connected the HV01 host to the iSCSI target and set up a LUN for the Quorum and a LUN for VM storage (I called it CSV3)
  3. Run the create cluster wizard from VMM. Add HV01, the R2 server to the new cluster. Configure a IP address for the cluster and configured the two storage LUNs for the new cluster. I only marked the CSV drive as CSV. The other drive will be used as a witness drive.
    image        image   image
  4. After this I have now two clusters in Hyper-V, the old cluster (HVCLUSTER01) and the new cluster (R2CLUSTER):
  5. On the new cluster I renamed the network according to there usage:


Copy the VM Role from the current Cluster to the new Cluster

  1. I went to the cluster node of the new cluster and started the cluster manager. I used the Copy Cluster Role link to start copying the VM roles.
    image      image

    The copying of the roles is very quick. At this point the roles are still running on the current Cluster.
  2. Now I stopped the VMs on the current cluster. I put the CSV where the VMs are located in Offline mode. Next I had to connect the new cluster node to the iSCSI Target where the CSV was located. Once that was connected, I brought the CSV online on the new cluster node.

Once all the rules have been moved to the new cluster, I started removing the cluster service from the old cluster and clean up all the relevant VMM and Hyper-V components. Then the old cluster node was reinstalled with Windows Server 2012 R2 and joint the new R2 Cluster.


VMM 2012 R2 - Error (2941) / Error (2927)

I recently got the following error in a VMM job when creating a new VMM template or when deploying a VM from a VM template.

A Hardware Management error has occurred trying to contact server hvhost02.demo.lab  .

WinRM: URL: [], Verb: [INVOKE], Method: [GetError], Resource: [{26F5564E-4816-4F87-90D5-913B12E9C48E}]

Unknown error (0x803381fa)

Recommended Action
Check that WinRM is installed and running on server hvhost02.demo.lab. For more information use the command "winrm helpmsg hresult" and .

Or following error:

VMM is unable to complete the request. The connection to the agent on machine has been lost.
Unknown error (0x80072efe)

Recommended Action
Ensure that the WS-Management service and the agent are installed and running and that a firewall is not blocking HTTPS traffic.

To fix this, first check the normal network connection issues to the VMM server and the Hyper-V host. Use following link to further dig into the issue. One think that is not mentioned in this KB is the required VMM certificates. In my case the issue was a missing/deleted certificate on the VMM server itself. Following blog post explains who to correct this:

Hope that helps other that experience similar issues.


Windows Azure Pack–Creating a Plan for VM Clouds

After you set up the connection from the Windows Azure Pack to the Service Provider Foundation and the the Virtual Machine Manager (VMM) you need to create a plan that your customers can subscribe to. The plan defines the capacity boundaries and specifies on which VMM cloud the VMs should be placed.

To create a plan start the WAP Admin Portal go to Plan and click on Create a new Hosting Plan


Enter a name for the plan and select the previous configured VM cloud service.


Finish the Plan wizard. Now the created plan appears on in the plans list.



Next the plan needs to be configured. Click on the plan name, here VM Server Plan. This will open the dash board for the plan.  In the middle of the page you find the plan services:



Click on the name of the plan service, in my example Virtual Machine Clouds. This will open the virtual machine clouds configuration page where you select the VMM server and the VMM cloud that you want to include in the plan.




In the usage limit section you can configure the usage limit for the plan:




In the networks section you need to add the network that the plan will use:



In the hardware profile section add the hardware profiles from VMM that you want to offer in the plan:



In the template section add the template you want to make available. You can offer multiple templates:


Finally you can add additional settings that define what action on the VMs can be executed:



Now save the plan.


The final step in your virtual machine service is to create a plan where you configure the capacity and capability settings of the virtual machine you want to offer to your users. You should name the plan in a way that is self describing to your users or customers to help them choose the right plan. Plan should make it easy to your customers to find the right service for their needs.


Windows Azure Pack–Setting up the VM Cloud Service

Once the basic WAP installation is completed, the various services need to be configured. In the post I will look at the VM Cloud Service configuration.

The VM Cloud Service requires some additional installations and configurations. The following three steps are required.

  1. Service Provider Foundation Installation and Configuration (SPF)
  2. System Center Virtual Machine Manager Installation and Configuration
  3. WAP VM Cloud Service Configuration

Service Provider Foundation Installation and Configuration

The Service Provider Foundation requires a SQL Server. So make sure you have one available where you can put the SPF database. Before you install SPF you need to enable some Windows features and you need to install two prerequisites. To enable the windows features use the following power shell command:

Install-WindowsFeature Web-Server, Web-WebServer, Web-Common-Http, Web-Default-Doc, Web-Dir-Browsing, Web-Http-Errors, Web-Static-Content, Web-Health, Web-Http-Logging, Web-Request-Monitor, Web-Http-Tracing, Web-Performance, Web-Stat-Compression, Web-Security, Web-Filtering, Web-Basic-Auth, Web-Windows-Auth, Web-App-Dev, Web-Net-Ext45, Web-Asp-Net45, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Mgmt-Tools, Web-Mgmt-Console, Web-Scripting-Tools, NET-Framework-45-ASPNET, NET-WCF-HTTP-Activation45, ManagementOdata, WAS, WAS-Process-Model, WAS-Config-APIs

Then install the following software.

Create two users that are required for the SPF installation:

  • domain\srv_spf_app (domain user account used for the SPF application pool)
  • spfserver\srv_spf_local (local user on SPF server used for the WAP connection)

Create four domain groups:

  • spf_Admin
  • spf_Provider
  • spf_VMM
  • spf_Usage

Once this is all set up start with the SPF installation. SPF can be installed from the System Center 2012 R2 Orchestrator setup program. Select Service Provider Foundation under Service Management and follow the wizard.

  • Define the database settings for the SPF database
  • Define the certificate for the SPF service. For a lab environment you can use a self-signed certificate.
  • Configure the web services. Use the srv_spf_app user account for all application pools. And use the SPF domain groups for the different web service. 
    image   image   image   image
  • After the installation is completed, check the application pools in IIS on the SPF server. The :


Add the local srv_spf_local user account to the following local groups on the SPF server:

  • spf_Admin
  • spf_Provider
  • spf_Usage
  • spf_VMM

System Center Virtual Machine Manager Installation and Configuration

Now to the Virtual Machine Manager configuration. If you have not installed Virtual Machine Manager yet check out the Microsoft installation guild for that. For the configuration of VMM do the following:

  1. Add the domain srv_spf_app user account to the VMM administrator role using the VMM console.
  2. Create or have a VMM Cloud and do not select any of the Capability profile. Assign a logical network to the cloud. Assign a VMM Library to the cloud.

  3. Create or have a VM template. The OS image of the template must have the remote desktop connection enabled. The VM template must have a selected Guest OS Profile and no Capability profiles are selected.

WAP VM Cloud Service Configuration

The last thing to do is to configure the VM Cloud service in the Windows Azure Pack. Let’s start with the following:

  1. Log in to the WAP Admin portal
  2. In the VM Clouds Window select Register System Center Service Provider Foundation. Enter the URL of the SPF server, the local user account (srv_spf_local account on the SPF server) and it’s password. 


    Check that the connection has been registered successfully:

  3. Once the SPF connection is successfully established, add the VMM server to the VM Cloud. In the Clouds tab click USE AN EXISTING VIRTUAL MACHINE CLOUD PROVIDER TO PROVISION VIRTUAL MACHINES and enter the name of the VMM server.


    After the connection is completed, you will see the VMM server and it’s clouds in the VM Cloud.


So far, we have configured the Windows Azure Pack to connect to the System Center Virtual Machine Manager. In the next post we will look at the creation of a Windows Azure Pack plan for VM Clouds. The plan will define what resources we what to provider to our WAP customers.


The Service Provider Foundation is a service that sits between the Windows Azure Pack and the System Center Virtual Machine Manager that allows the Windows Azure Pack to talk to Virtual Machine Manager. To make this happen we need a Service Provider Foundation service account that has administrator rights in Virtual Machine Manager and the Windows Azure Pack requires a local account on the SPF server to have access to the SPF service.


Windows Azure Pack – Installing the WAP Basis

As we have see over the last posts on Windows Azure Pack, the whole Windows Azure Pack system consists of multiple components. There are the components that face our consumer or customers. There are the high privileged components and there are the Provider components and supporting components like the database and the federation service. In the post I want to look at installing the initial set of components that make up the basis for the WAP system.

The WAP system is installed by using the Web Platform Installer. The Web Platform Installer is a tool where you can select which components you want install and the tools is automatically downloading all the required software and is also installing and configuring the required settings. There are only little configuration settings that you need to specify for your environment. You can download the Web Platform Installer here:


Now, when you install the WAP system, you have basically two option. You can either install all initial components on a single server, or you can install each components on separate servers. The single server option is only for testing or proof of concept installations.

Before you start the Web Platform install, make sure that you have a Windows Server 2012 R2 server where you can install the WAP components and that you have a SQL 2012 database server that WAP will use.

To install all components on a single server, select Windows Azure Pack: Portal and API Express from the Products selection.


The Web Platform installer will also download and install all the prerequisites for the WAP system. Once started it shows the progress of the download and the installation.

image     image

Once the wizard is completed, you will be redirected to a configuration page. There you need to specify the parameters for the SQL server. You can use SQL authentication or Windows authentication for this step. However, other providers will only use SQL authentication. So make sure that SQL authentication is also enabled on the SQL server.

The passphrase is used to securely store the WAP data in the database. Make sure that you note down the passphrase. You need the passphrase on each server where you install one of the WAP components. Note, if you loose the passphrase, there is no easy way to recover the data in the database, and probably no hard way either.


After the wizard is completed, you must sign out and sign in again so that your user can be configured correctly with WAP.

Then, open internet explorer and use the admin port 30091 for your local server, e.g.: https://wap01.demo.lab:30091

After a few introduction dialogs you will land on the main administration portal page. It should look like this:


On the left hand side of the page you see the menu for the services and settings. The ALL ITEMS sections shows you all the services that are created, which is empty because we have not configured any service yet. Below that you see the providers that are already installed out of the box. There are the Web Sites service, the VM cloud service, the Service Bus service, SQL server service and the MySQL server service. It’s a bit strange that Microsoft is implementing MySQL Servers as a provider out of the box with WAP.

AUTOMATION, PLANS, USER ACCOUNTS and USER COSTS are internal WAP services that help to run and configure the WAP system.

When you look at the providers that are installed, you see that there is still some configuration work to be done before they can be used. Here’s the example of the VM cloud service:


Now, check the database server where you installed the WAP databases. There you will find a couple of WAP databases:


Also start the IIS manager console on the server where you installed the WAP system. There you can see the web sites for the components we discussed:


In the next post I will look at configuring the VM clouds service.


Thanks to the Web Platform Installer method, it’s really easy to install the WAP system. There are two methods, the single server installation and the distributed installation. The single server installation however is only for lab environments. After the initial installation there are a couple of service providers out of the box implemented. However, these providers still need to be configured first.