An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
For Azure Marketplace Managed Application offers, including preview, the supported automation path is to deploy the managed application resource (Microsoft.Solutions/applications) using an ARM template (or tools that emit ARM, such as Azure CLI/PowerShell/Terraform). The template itself is the contract; there is no documented API to query “latest preview artifact/template URI” from Partner Center.
From the available guidance:
- How programmatic deployment of Managed Applications is supported
- Azure Application (Managed Application) offers are deployed by creating a
Microsoft.Solutions/applicationsresource via ARM. - The Azure portal generates an ARM template for the Managed Application deployment; this template creates a
Microsoft.Solutions/applicationsresource pointing to a specific plan and passes the application‑specific parameters from the UI fields that the customer fills out in the portal. - The same ARM template can then be used programmatically via:
-
az deployment group create(Azure CLI) - Azure PowerShell deployment cmdlets
- ARM/management-plane REST APIs
-
- Azure Application (Managed Application) offers are deployed by creating a
- Terms acceptance requirement
- Before programmatic deployment of an Azure Application (Managed Application) plan, the subscription must accept the plan’s terms.
- This is done with the same command used for VM offers:
az vm image terms accept. Once accepted for a subscription/plan, subsequent programmatic deployments work without additional manual steps.
- Using
Microsoft.Resources/deploymentswithtemplateLink- Using
Microsoft.Resources/deploymentsto deploy an ARM template (withtemplateLink) is a valid way to automate Managed Application deployments, because the portal itself relies on an ARM template. - However, the guidance for Azure Application offers focuses on the ARM template that creates
Microsoft.Solutions/applications. That template is expected to be stable and reused across deployments. The documentation does not describe any supported mechanism to dynamically resolve a changing preview artifact URL.
- Using
- Recommended resource type for automation
- For Managed Application marketplace offers (including preview), the recommended programmatic deployment target is the
Microsoft.Solutions/applicationsresource defined in the Managed Application ARM template. - Terraform and other tools are also expected to use this same ARM template for deployment.
- For Managed Application marketplace offers (including preview), the recommended programmatic deployment target is the
- Preview/automation best practices from available docs
- Azure Application offers (solution template and managed application plans) are explicitly designed to automate deployment and configuration using ARM templates.
- The technical asset guidance emphasizes:
- Designing and maintaining an ARM template as the primary deployment artifact.
- Reusing the same deployment package (template) across plans when the technical configuration is the same.
- Using standard ARM deployment tooling (Azure CLI, PowerShell, REST, Terraform) for automation.
- No additional preview‑specific API or pattern is documented for automatically discovering or tracking preview artifact IDs.
Given the available information, the supported and recommended approach for full automation is:
- Use the Managed Application ARM template that creates
Microsoft.Solutions/applicationsas the stable artifact. - Ensure the subscription has accepted the Managed Application plan terms via
az vm image terms acceptbefore running automated tests. - Drive deployments and teardown via standard ARM deployments (CLI/PowerShell/REST/Terraform) against that template, rather than relying on changing
templateLinkURLs generated per preview publish.
References: