[MsGraph] Onboard signed-in user + owned objects command model
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 18/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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)
- Lenguaje dominante
- C#
- Estrellas
- 18
- Forks
- 10
- Merge medio
- 1 d 20 h
- PR fusionados (30 d)
- 157
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Azure/azclips
-
act-identity-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
act-identity-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
act-identity-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
act-identity-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Azure/azclips#1512 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Agent] Interactive recovery runs shell commands in the install folder, not the user's folderAbiertoact-experience-enablement-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
Todos los issues de Azure/azclips
Issues similares
-
launcher item missingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Realm667/WolfenDoom#1758 ·
-
SDK version compatibility issueAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
-
AI documentation good first issue help wanted
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
akshit-bansal11/edgepad#106 ·
Los mantenedores suelen responder en 1 día