[MsGraph] Onboard signed-in user + owned objects command model
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 18/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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)
- Lingua principale
- C#
- Stelle
- 18
- Fork
- 10
- Merge medio
- 1g 20h
- PR unite (30g)
- 157
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Azure/azclips
-
act-identity-squad bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno
-
act-identity-squad bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
act-identity-squad bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
act-identity-squad bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Azure/azclips#1512 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Agent] Interactive recovery runs shell commands in the install folder, not the user's folderApertaact-experience-enablement-squad bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Azure/azclips
Issue simili
-
launcher item missingAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Realm667/WolfenDoom#1758 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
-
AI documentation good first issue help wanted
Difficoltà 1/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
akshit-bansal11/edgepad#106 ·
I maintainer di solito rispondono entro 1 giorno