Skip to content

[Feature]: Store tenant name in AzureRM context #22887

Open
@abaddon82

Description

@abaddon82

Description of the new feature

Would it be possible to return the tenant name (just not its ID) when running Get-AzContext?

The use case is that when you are working with multiple tenants, it's a lot faster to check the name than the ID. The Get-AzContext cmdlet is also a lot faster than the Get-AzTenant for instance, so it would be useful if one wants to make it a part of the prompt as well.

Proposed implementation details (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    AccountsIssues in Az.Accounts except authentication relatedAzure PS TeamTrackingWe will track status and follow internallycustomer-reportedfeature-requestThis issue requires a new behavior in the product in order be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions