Skip to content

Commit b87084b

Browse files
authored
Add subscription telemetry when there is only 1 sub (#4485)
1 parent 4e87902 commit b87084b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/commands/SubscriptionListStep.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export class SubscriptionListStep extends AzureWizardPromptStep<IFuncDeployConte
2727
if (this._picks.length === 1) {
2828
this._oneSubscription = true;
2929
context.subscription = this._picks[0].data;
30+
context.telemetry.properties.subscriptionId = context.subscription.subscriptionId;
3031
}
3132
}
3233

0 commit comments

Comments
 (0)