[MsGraph] Onboard signed-in user + owned objects command model
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 18/100
調査の方向性
This is a command-surface design decision, not an edit: start by reading how existing az msgraph commands are registered and how the PowerShell Get-AzMsGraphUser -SignedIn behaves, then compare with classic az ad signed-in-user show and list-owned-objects. The open questions (noun choice, --signed-in flag vs new noun, whether owned-object lookup is in scope) must be settled by PM/design before any code is written. Done means an approved command shape, stable output contracts, help text explaining "owned objects", and migration guidance documented.
索引モデルが issue の本文から書いたものです。
説明
Target surface
CLI (az)
What problem are you trying to solve?
Summary
We need to add/shape signed-in user commands in az msgraph with a model that is intuitive, consistent with PowerShell, and future-proof for classic parity scenarios like:
az ad signed-in-user showaz ad signed-in-user list-owned-objects
Current state is we have a PS command for user show Get-AzMsGraphUser -SignedIn but no CLI equivalent
We can decide if we want to onboard `az ad signed-in-user list-owned-objects' like command as part of this work item or keep it of later.
Key design constraints
- Keep parity with PS mental model where reasonable.
- Preserve the meaning of owned (do not lose semantics by over-generic naming).
- Avoid flags that completely change output shape on the same command (user object vs directory objects).
- Keep discoverability high for common self-lookup scenarios.
Problem to solve
Define the command surface for:
- Signed-in user profile lookup.
- Signed-in user owned directory objects lookup.
- (Optional/future) owned objects lookup for arbitrary user ID.
Open questions for PM/Design
- Should we prioritize strict classic command-shape parity, or modernized
msgraphsurface consistency? - Do we want a new noun (
signed-in-user,me, orobjects)? - Should non-signed-in owned-object lookup (
--id <user>) be included now or deferred?
Acceptance criteria
- Final command shape approved by PM/design.
- Help text clearly explains “owned objects” semantics.
- Output contracts are stable and command-specific (no shape-switching flags on
show). - Migration guidance from classic
az ad signed-in-user *is documented.
Proposed solution
Signed-in show
We discussed multiple CLI shapes:
az msgraph user signed-inaz msgraph user show --signed-inaz msgraph signed-in-user showaz msgraph me show
Current preference is 2 (az msgraph user show --signed-in) for PS consistency and cleaner command grammar, but the decision must also account for onboarding classic list-owned-objects.
Why this shape
- Aligns with PS mental model (
Get-AzMsGraphUser -SignedIn). - Keeps
user showas the canonical entry point. - Avoids introducing a new noun (
signed-in-user) inmsgraph
Signed-in user owned objects
- Prefer a dedicated command that keeps “owned” explicit, e.g.:
az msgraph objects list --owned-by-signed-in-user- or
az msgraph user owned-object list --signed-in
(avoid --list-owned-objects on user show because it changes output contract)
- 主要言語
- C#
- スター
- 18
- フォーク
- 10
- 平均マージ
- 1日 20時間
- マージ済み PR(30日)
- 157
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure/azclips のほかの issue
-
act-identity-squad bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
act-identity-squad bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
act-identity-squad bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
act-identity-squad bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Azure/azclips#1512 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
act-experience-enablement-squad bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Realm667/WolfenDoom#1758 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
-
AI documentation good first issue help wanted
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
akshit-bansal11/edgepad#106 ·
メンテナーはふだん 1 日以内に返信