Skip to content

Commit

Permalink
[Profile] az account list: Add TenantId column to table output (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jiasli authored Jul 20, 2022
1 parent fad2358 commit 3bf60e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/azure-cli/azure/cli/command_modules/profile/_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3bf60e8

Please sign in to comment.