Azure / missionlz

Azure landing zone for SCCA-compliant organizations.
MIT License
235 stars 133 forks source link

Add partner ID for deployment tracking #871

Open jamasten opened 7 months ago

jamasten commented 7 months ago

https://learn.microsoft.com/en-us/partner-center/marketplace/azure-partner-customer-usage-attribution

JCoreMS commented 5 months ago

I'll try to add this for you if you'd like. In the meantime here is the code:

Just call an empty deployment passing the PID that you create(d) Just remember that you want to give the users the option to opt out.

param optoutTelemetry bool = false

module deploymentNames_pidCuaDeployment 'modules/pid_cuaid.bicep' = if (!optoutTelemetry) { name: PidcuaAvdPatternDeploymentName params: {} }

https://github.com/Azure/azure-monitor-baseline-alerts/blob/main/patterns/avd/templates/modules/pid_cuaid.bicep

jamasten commented 2 months ago

ESRI provided their partner ID. Their ID will be added to the components that deploy their products. Internally we will continue to use tags to track MLZ deployments.