Hero Banner

Microsoft AppSource and Azure Marketplace

Learn how to grow your business by publishing your cloud solution on Microsoft AppSource and Azure Marketplace


New Support for Measuring Partner's Influence on Azure


As you may know, we launched Azure Partner Customer Usage Attribution (aka. GUID/ARM template tracking) project last June to properly represent Partner impact on Azure platform from a revenue perspective.

Our vision is to be able to measure the impact our Partners have on our Azure business regardless of how the solution is deployed. It gives us visibility to deployments inside of Azure Marketplace as well as outside (ex. GitHub, QuickStart).  

One of the most common requests made by the partners is to support the deployment through cloud orchestrater such as Terraform.

I’m happy to announce that the support for Terraform is NOW available through Azure Provider’s 1.21.0 release (https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/CHANGELOG.md#1210-january-11-2019). 

Here is a quick overview of how it works.


  • All partners who deploy their solution via Terraform
  • All resources deployed and metered by the Azure Provider (version 1.21.0 or later)


Azure provider for Terraform added a new field called “partner_id” (https://www.terraform.io/docs/providers/azurerm/#partner_id)

provider "azurerm" {

subscription_id = "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

client_id = "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"


# new stuff for customer usage attribution

partner_id = “xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}partner_id.png 


Partners who want to get their deployment via Terraform tracked by customer usage attribution need to do the following:

  • Create a GUID (the GUID should be added for each Offer or SKU)
  • Update their Azure Provider to set the value of partner_id to the GUID (DO NOT pre-fix the GUID with ”pid-”, just set it to the actual GUID)

You can find more info on Customer Usage Attribution from the following Resources:
1. Customer Usage Attribution Documentation: https://aka.ms/CustomerUsageAttribution
2. Q&A or Assistance: email me or reply to this thread 🙂

Thank you!

Lu Zhao

Senior Program Manager in Cloud Commercial Community team