Support --allow-no-subscriptions equivalent for login without a subscription
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 32/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- azure, csharp
- Área
- authentication, cli
Línea de trabajo
No files are named; start by locating how the az login command is registered and how it enumerates subscriptions after authentication, since the request is to let that step succeed with an empty list. Read the existing login option definitions and the code path that rejects a tenant with no subscriptions, then decide whether a new flag or a relaxed check fits. Done means az login --allow-no-subscriptions returns a token for a subscription-less tenant, with tests covering the empty-subscription case.
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?
In Azure CLI 2.x, there was an option called --allow-no-subscriptions. I used this option when I needed to log in to a tenant that has no subscriptions, just to get a token.
It seems that login now basically requires at least one subscription. I want to confirm whether this scenario (logging in to a subscription-less tenant to obtain a token) is no longer supported going forward.
Proposed solution
I would like azclips to support a way to log in and get a token even when the tenant has no subscriptions, similar to how az login --allow-no-subscriptions worked in Azure CLI 2.x.
az login --allow-no-subscriptions
If this is intentionally no longer supported, I would appreciate a note in the documentation explaining the reasoning and any recommended alternative.
Alternatives or workarounds
No response
Additional context
This came up because I rely on a subscription-less tenant login purely to obtain a token, not to manage Azure resources, so a subscription requirement at login time is a blocker for my use case.
- 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