A template to deploy SharePoint Subscription Edition
This template creates a secure, highly customizable SharePoint Subscription Edition farm, using Azure Verified Modules, and the project SharePointInfraDsc to apply the DSC (desired state configuration) to the virtual machines.
Main objectives
- A highly secure, customizable environment, under your full control (you set the AD domain name, admin account name, all accounts password).
- A SharePoint farm installed with the PU of your choice (including the latest one), and up-to-date Windows and software before you first log-in.
- A fine-grained control on the SharePoint configuration: You can easily specify what features are configured individually, or choose between 4 levels: 'Minimum', 'Light', 'Medium' (default), and 'Full'
- Truly ready-to-use virtual machines right at the first log-in, with everything a SharePoint administrator needs.
- A state-of-the-art configuration that showcases the best practices for a well-configured SharePoint farm.
- A fast deployment time: A fully configured SharePoint farm installed with the latest PU takes only about 1h15 mins to be fully ready (if you think it is not so fast, compare this with the time it takes to install a SharePoint PU in your farm).
- Easy to create, use, and destroy. You want to test a SharePoint setting/config but you are afraid to mess your existing farm? You want to test a specific SharePoint build? Or test OIDC? Use this template.
Virtual machines
- The DC and SharePoint machines use the latest image of Windows Server 2025 Datacenter: Azure Edition.
- SQL machine uses the latest image of SQL Server 2025 Standard Developer on Windows Server 2025.
Usage
Usage
Deploy using az cli (in PowerShell)
az group create --location "france central" --name "sharepoint-quickstart"
# This is an example, many other parameters / combinations are possible
az deployment group create --name "sharepoint-quickstart" --resource-group "sharepoint-quickstart" --template-uri "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/refs/heads/master/application-workloads/sharepoint/sharepoint-adfs/azuredeploy.json" --parameters sharePointVersion='Subscription-Latest' sharePointConfigurationLevel='Custom' customSharePointConfiguration="['Addins', 'TrustedAuthentication']" adminUsername='yvand' adminPassword='<PASSWORD>' otherAccountsPassword='<PASSWORD>'
SharePoint configuration
- Parameter
sharePointVersionsets which version of SharePoint Subscription Edition will be installed:Subscription-Latest(default): SharePoint Subscription with the latest public update available at the time of publishing this version: October 2026 (kb5002927).Subscription-26H2: SharePoint Subscription with the Feature Update 26H2 (October 2026 PU / kb5002927).Subscription-26H1: SharePoint Subscription with the Feature Update 26H1 (June 2026 PU / KB5002873).Subscription-25H2: SharePoint Subscription with the Feature Update 25H2 (September 2025 PU / KB5002784).Subscription-25H1: SharePoint Subscription with the Feature Update 25H1 (March 2025 PU / KB5002698).Subscription-24H2: SharePoint Subscription with the Feature Update 24H2 (September 2024 PU / kb5002640).Subscription-24H1: SharePoint Subscription with the Feature Update 24H1 (March 2024 PU / KB5002564).Subscription-23H2: SharePoint Subscription with the Feature Update 23H2 (September 2023 PU / KB5002474).Subscription-23H1: SharePoint Subscription with the Feature Update 23H1 (March 2023 PU / KB5002355).Subscription-22H2: SharePoint Subscription with the Feature Update 22H2 (September 2022 PU / KB5002270 and KB5002271).Subscription-RTM: SharePoint Subscription RTM published here.
- Parameter
sharePointConfigurationLevelsets how much configuration is done:Custom: You specify what SharePoint features are installed by setting the parametercustomSharePointConfiguration.Minimum: Creates a web application with its default zone only.Light: Everything inMinimum, plus:- Provisions the State Service Application.
- Configures the trusted authentication (OIDC with ADFS).
- Creates additional site collections (host-named and path-based).
Medium: Everything inLight, plus:- Extends the web application to zone
Intranet. - Provisions the User Profile Service Application.
- Configures all the resources to run and deploy add-ins.
- Extends the web application to zone
Full: Everything inMedium, plus:- Provisions Project Server.
- Provisions the Search Service Application.
- Parameter
defaultZoneMustBeHttps:trueif the default zone must use HTTPS,falseif it may use HTTP (if compatible with the configuration selected). - Parameter
frontEndServersCountlets you add up to 4 additional SharePoint servers to the farm with the MinRole Front-end.
Outbound access to internet
During the provisionning, virtual machines require an outbound access to internet to be able to download and apply their configuration.
The outbound access method depends on parameter outboundAccessMethod:
PublicIPAddress: Virtual machines use a Public IP, associated with their network card.AzureFirewallProxy: Virtual machines use Azure Firewall as an HTTP proxy.
Remote access
The remote access to the virtual machines depends on the following parameters:
- Parameter
rdpTrafficRulespecifies if a rule in the network security groups should allow the inbound RDP traffic:No(default): No rule is created, RDP traffic is blocked.*orInternet: RDP traffic is allowed from everywhere.- CIDR notation (e.g.
192.168.99.0/24or2001:1234::/64) or an IP address (e.g.192.168.99.0or2001:1234::): RDP traffic is allowed from the IP address / pattern specified.
- Parameter
addBastion:- if
true: Configure service Azure Bastion with Developer SKU, to allow a secure remote access to virtual machines. - if
false(default): Service Azure Bastion is not created.
- if
IMPORTANT: If you set parameter outboundAccessMethod to AzureFirewallProxy, the virtual machines do not get a public IP. To connect to a virtual machine, you will need to either assign a public IP address after deployment, or use Azure Bastion.
Other input parameters
The resource group name is used:
- As the name of the Azure resource group which hosts all the resources that will be created.
- As part of the public DNS name of the virtual machines, if they get a public IP (parameter
outboundAccessMethod), and a DNS name associated with it (parameteraddNameToPublicIpAddresses).
Parameter
enableHybridBenefitServerLicensesallows you to enable Azure Hybrid Benefit to use your on-premises Windows Server licenses and reduce cost, if you are eligible. See this page for more information.
Outputs
Upon completion, the deployment returns multiple values such as the logins, passwords, the public IP address of virtual machines, and other useful information.
Cost of the resources deployed
By default, virtual machines use Basv2 series, ideal for such template and much cheaper than other comparable series.
Below is the default size and storage used per virtual machine role:
- DC: Size Standard_B2als_v2 (2 vCPU / 4 GiB RAM) and OS disk is a 32 GiB standard SSD E4.
- SQL Server: Size Standard_B2as_v2 (2 vCPU / 8 GiB RAM) and OS disk is a 128 GiB standard SSD E10.
- SharePoint: Size Standard_B4as_v2 (4 vCPU / 16 GiB RAM) and OS disk is a 128 GiB standard SSD E10.
You can use https://azure.com/e/26eea69e35b04cb884b83ce06feadb5c to estimate the monthly cost of deploying the resources in this module, in the region/currency of your choice, assuming it is created using the default settings and runs 24*7.
Known issues
- The password for the User Profile directory synchronization connection (parameter
otherAccountsPassword) needs to be re-entered in the "Edit synchronization connection" page, otherwise the profile import fails (password decryption error in the logs). - When setting
outbound_access_methodtoAzureFirewallProxy, most of the software installed through Chocolatey fail to download and are not installed. - When setting
sharepoint_configuration_leveltoFullandfront_end_servers_count> 0: the configuration wizard hangs on the additional web front ends when they join the farm. - The deployment of Azure Bastion fails pretty frequently. This has little impact, since it is very easy to redeploy through the portal.
Additional information
- Using the default options, the complete deployment takes about 1h (but it is worth it).
- Installing a SharePoint PU adds less than 10 minutes to the total deployment time, mostly because the PU is installed before the farm is created.
- For various (very good) reasons, in SQL and SharePoint VMs, the name of the local (not domain) administrator is set with a string that is unique to your subscription (e.g.
l-[q1w2e3r4t5]). It is recorded in the 'Outputs' of the deployment once it is completed.
Tags: Microsoft.Network/networkSecurityGroups, Microsoft.Network/virtualNetworks, Microsoft.Network/publicIPAddresses, Microsoft.Network/networkInterfaces, Microsoft.Compute/virtualMachines, extensions, DSC, Microsoft.Compute/virtualMachines/extensions, Microsoft.DevTestLab/schedules, Microsoft.Network/virtualNetworks/subnets, Microsoft.Network/bastionHosts