If you're an Azure Government partner who's interested in publishing offerings to the Azure Marketplace, find the details in this article.
Currently BYOL VM Images and Solution Templates are supported in Azure Government Marketplace. As a best practice, Solution Templates should be reviewed prior to publishing to Azure Government to ensure it will function on both Azure Public and Azure Government Clouds. If you are only publishing a VM Image you can proceed to the publishing steps further below.
Pre-Publishing Validation for Solution Templates
Before you publish your solution template to Azure Government, we recommend checking a couple of common best practice areas to ensure your Template will work in both Azure Public Cloud and Azure Government.
Verify endpoints are not hard coded into your solution Template for Azure Public Cloud. These won't be valid for any other Azure Environments. Instead modify the Solution template to request an API call to pull the valid end point:
Incorrect VHD uri (hard coded) "uri": "[concat('https://', variables('storageAccountName'), '.blob.core.windows.net/', '/osdisk.vhd')]",
Correct VHD uri (referenced)
"uri": "[concat(reference(resourceId('Microsoft.Storage/storageAccounts/', variables('storageAccountName'))).primaryEndpoints.blob, 'osdisk.vhd')]",
The corrected syntax will ensure the template will work on any cloud (Gov, Public Azure, AzureStack, China, etc)
Verify that resources used in your solution template are available in the Sovereign Cloud you are publishing to. RPs in Azure & API version
Identify availability Azure Government using Resource Explorer in the portal:
- Log into Azure Government Portal
- Launch Resource Explorer, following steps listed here https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services#supported-regions
Most commonly used extensions; Availability in Fairfax
Publisher/Type Available Versions in Fairfax Microsoft.OSTCExtensions/CustomScriptForLinux 1; 1.1; 22.214.171.124; 126.96.36.199; 188.8.131.52; 184.108.40.206 Microsoft.Compute/CustomScriptExtension 1.2; 1.3; 1.4; 1.7; 1.8 Microsoft.Azure.Extensions/DockerExtension Not Available Microsoft.Azure.Extensions/CustomScript 2.0.2 Microsoft.OSTCExtensions/LinuxDiagnostic 2.0.9005; 2.1.9005; 2.2.9005; 2.3.9011 Microsoft.Powershell/DSC 220.127.116.11
If you put locations in for a list of allowed values, you will need to periodically update it as new regions are added.
If you are not an existing Azure Certified Marketplace partner, complete the steps that show how to publish and manage an offer before proceeding.
Sign in to Azure Publishing.
Click the offer that you want to publish.
Click SKUS, and select the Azure Government Cloud box.
Only Bring Your Own License (BYOL) SKUs are supported. This option is not available for Pay-as-You-Go (PayG) SKUs.
Click the + Add Certification link to add links to any certifications for your offer.
To test your image in the publishing portal, request a trial account for Microsoft Azure Government.
Your eligibility as a partner who serves US federal, state, local, or tribal entities is verified, and confirmation will be provided via email. Your trial account will be available in three to five business days.
Click Publish, and click Push to Staging.
You're prompted to enter a whitelisted subscription that has access to the staged offer. Enter the subscription ID from your newly acquired Azure Government trial account.
After the offer is successfully staged, you can test your image by signing in to the Azure portal by using your Azure Government trial account.
After you have validated your image by using the trial subscription, you can make the offer available live by clicking Publish and requesting approval to go to production.
For supplemental information and updates, subscribe to the Microsoft Azure Government Blog.