Show Tenant domain or name in Get-AzProfile output

オープン
#898 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
40/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
azure, csharp, powershell
領域
cli

調査の方向性

Start by locating the PowerShell implementation of Get-AzProfile and the model or formatter that populates its tenant ID and subscription ID output. Trace where tenant and subscription metadata is fetched so the tenant domain/name can be added without a separate lookup path. Check the existing PowerShell command tests and the analogous az profile code path, then verify the output includes the logged-in tenant and any cross-tenant subscription tenant details. Done means the added fields appear for both same-tenant and Lighthouse-style cross-tenant profiles.

索引モデルが issue の本文から書いたものです。

説明

act-identity-squad X Engineering Agent Triaged
Target surface

PowerShell

What problem are you trying to solve?

Get-AzProfile shows tenant ID, subscription ID but it does not show tenant domain or tenant name. It is hard to distinguish the right tenant just by its ID, especially in management of a lot of tenants. Of course the idea of the profile is to name this profiles so it is easier to distinguish them but still would be nice to have that information there. Note same applies to az profile command.

Additionally also would be nice to show information if the subscription is coming from another tenant and show that tenant. For example, if you are using Lighthouse you could be logged to one tenant and under that tenant to see subscriptions from another tenant. So if the profile points to subscription that is in another tenant I would like to see tenant domain and/or name of the tenant I am logged it, the subscription id and the tenant ID, domain name, name of the tenant where the subscription is coming from.

Proposed solution
Get-AzProfile returns tenant name or tenant domain or both.
Alternatives or workarounds

No response

Additional context

No response

主要言語
C#
スター
18
フォーク
10
平均マージ
1日 20時間
マージ済み PR(30日)
157

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/azclips のほかの issue

Azure/azclips の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。