Step-by-step installation of Service Provider Foundation 2012 R2/2016

Русская версия

Hi, folks!

This is the first part of series of posts related with Windows Azure Pack (WAP) and VMM Clouds.

Article 1 : SPF installation (you are here)

Article 2 : WAP and its optional resources

Article 3: WAP+VM Cloud Service

I’ll try to show you how to install all required components and connect WAP to your VMM Cloud. But now let’s talk about SPF.

Service Provider Foundation (SPF) is provided with System Center 2012 – Orchestrator, a component of System Center 2012 R2 (and System Center 2012 SP1). Service Provider Foundation exposes an extensible OData web service that interacts with Virtual Machine Manager (VMM). This enables service providers and hosters to design and implement multi-tenant self-service portals that integrate IaaS capabilities available on System Center 2012 R2. The following picture shows how SC w/SPF interacts with WAP to provide VM Cloud Services (see TechNet article for more info):

service provider foundation

As every installation, SPF requires additional software, features and server roles. Setup wizard checks prerequisites and reports about their status. Unfortunately, there is no “button” to install all of requirements automatically. I’ve wrote a sample script to automate this process (see below). SQL Server is virtual machine srv-sql-01, SPF is the virtual machine srv-spf-01. Don’t try to install SPF 2012 R2 on VMM Server. It’s not supported. However, SPF 2016 can run on the same server as the VMM (although I don’t recommend such co-existence).


  • OS – Server 2012 R2 ; SPF 2016 – 2012 R2 and later
  • SQL Server 2012 SP2  and up to SQL Server 2014 SP1
  • SPF 2016: SQL Server 2012 SP2 and up to SQL Server 2016
  • Feature – Management OData Internet Information Services (IIS) Extension
  • Feature – NET Framework 4.5 features, WCF Services, and HTTP Activation.
  • Web Server (IIS) server. Include the following services:

Basic Authentication

Windows Authentication

Application Deployment ASP.NET 4.5

Application Development ISAPI Extensions

Application Deployment ISAPI Filters

IIS Management Scripts and Tools Role Service

  • Web Services:

WCF Data Services 5.0 for OData V3


  • Virtual Machine Manager 2012 R2/2016 Console
  • Certificates: self-signed (wizard creates one automatically) or obtained SSL-certificate (recommended for production)

Here is the script for installation all requirements (don’t forget to install VMM console manually). Works for SPF 2016 as well.

#IIS + Process activation model
Install-WindowsFeature Web-Asp-Net45,Web-Scripting-Tools,Web-Basic-Auth,Web-Windows-Auth,NET-WCF-Services45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Scripting-Tools,WAS-Process-Model,WAS-Config-APIs,ManagementOdata
#Download and install WcfDataServices and AspNetMVC4
New-Item C:\SPFRequirements -ItemType Directory
Invoke-WebRequest -OutFile C:\SPFRequirements\wcfdatasvc.exe
Invoke-WebRequest -OutFile C:\SPFRequirements\aspnetmvc.exe
Set-Location C:\SPFRequirements
.\aspnetmvc.exe /quiet
Wait-Process aspnetmvc
.\wcfdatasvc.exe /quiet
Wait-Process wcfdatasvc
Write-Host "All prerequisites are installed. Insert VMM DVD and install VMM Console manually. Then your environment will be ready for SPF installation"

Mount ISO with Orchestrator and run SetupOrchestrator.exe and click on “Service Provider Foundation”


Click Install


Accept license terms and click Next


We’ve already installed all prerequisites, so just click Next


Define SQL Server Name , Port Number and click Next. If you unable to reach SQL Server you have to open firewall ports ( or check SQL TCP properties


Choose certificate type (I’ll use self-signed in my DEMO) and click Next


Define application pool credentials and domain groups or users who will have an access to SPF services and click Next. It’s recommended to create new domain accounts for every SPF services instead of using Network Service account


Provider Web Service properties , click Next


Usage Web Service configuration, click Next


Windows updates + CEIP – yes, click Next


Click Install


Setup is complete!


Update SPF with the latest rollup ( or use Windows Update.

Additional links:

5 thoughts on “Step-by-step installation of Service Provider Foundation 2012 R2/2016”

  1. Hello,
    This is a great tutorial but I’m missing few points (I’m a completely new to Azure infra) :
    About the VM srv-sql-01 : I have to install SQL server on top of Windows 2012 R2 ?
    SPF 2012 R2 installation srv-spf-01 : do I have to run your script on this VM ?
    Where do you install SCVMM ? on a new distinct VM ?
    Thank you for your help 🙂

    1. Hi, Marc!

      1) SQL Server on top of WS2012 r2 – VM number 1 (VMM and SPF require SQL Server instance)
      2) Run script on SPF node (VM) – VM number 2 (To install required roles/features and external packages)
      3) SCVMM needs to be placed on a VM number 3 (WAP requires VMM server)
      4) SCVMM console must be availablet @SPF VM . Just install it from VMM media

      +See my previous posts (use search) about deploying or updating SCVMM (in HA as well).

      1. Thank you for your help, I’ll check this and SCVMM updating blog, eventually start my Azure Pack deployment Lab test…

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: