diff --git a/src/tree/azure/SubscriptionItem.ts b/src/tree/azure/SubscriptionItem.ts index 180ddeaf..57f8f0c4 100644 --- a/src/tree/azure/SubscriptionItem.ts +++ b/src/tree/azure/SubscriptionItem.ts @@ -31,7 +31,7 @@ export class SubscriptionItem implements ResourceGroupsItem { this.id = `/accounts/${nonNullValueAndProp(subscription.account, 'id')}/tenants/${subscription.tenantId}/subscriptions/${subscription.subscriptionId}`; this.description = description ? description : ''; - this.portalUrl = createPortalUrl(this.subscription, this.id); + this.portalUrl = createPortalUrl(this.subscription, `/subscriptions/${this.subscription.subscriptionId}`); } public readonly portalUrl: vscode.Uri;