Skip to content

name of AzContext output in format table is too long #12513

@dingmeng-xue

Description

@dingmeng-xue

Description

Since context name contains tenant id, it is too long in PowerShell console. We need to make it more friendly.

PS C:\Users\dixue> Get-AzContext

Name                                                                                                                          Account             S
                                                                                                                                                  u
                                                                                                                                                  b
                                                                                                                                                  s
                                                                                                                                                  c
                                                                                                                                                  r
                                                                                                                                                  i
                                                                                                                                                  p
                                                                                                                                                  t
                                                                                                                                                  i
                                                                                                                                                  o
                                                                                                                                                  n
                                                                                                                                                  N
                                                                                                                                                  a
                                                                                                                                                  m
                                                                                                                                                  e
----                                                                                                                          -------             -
Azure SDK Powershell Test (c9cbd920-c00c-427c-852b-8aaf38badaeb) - 72f988bf-86f1-41af-91ab-2d7cd011db47 - [email protected] [email protected] A

Steps to reproduce

Environment data


Module versions

Debug output


Error output


Metadata

Metadata

Assignees

Labels

Azure PS TeambugThis issue requires a change to an existing behavior in the product in order to be resolved.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions