From 14a2781f1b1857013dee748ad7f6cbe52d532ba8 Mon Sep 17 00:00:00 2001
From: jiasli <4003950+jiasli@users.noreply.github.com>
Date: Fri, 15 Jul 2022 11:53:10 +0800
Subject: [PATCH] tenantId

---
 src/azure-cli/azure/cli/command_modules/profile/_format.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/azure-cli/azure/cli/command_modules/profile/_format.py b/src/azure-cli/azure/cli/command_modules/profile/_format.py
index 91df5e13d63..2c53b4725b0 100644
--- a/src/azure-cli/azure/cli/command_modules/profile/_format.py
+++ b/src/azure-cli/azure/cli/command_modules/profile/_format.py
@@ -12,6 +12,7 @@ def transform_account_list(result):
         res = OrderedDict([('Name', r['name']),
                            ('CloudName', r['cloudName']),
                            ('SubscriptionId', r['id']),
+                           ('TenantId', r['tenantId']),
                            ('State', r.get('state')),
                            ('IsDefault', r['isDefault'])])
         transformed.append(res)