Support --allow-no-subscriptions equivalent for login without a subscription
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 32/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- azure, csharp
- Ambito
- authentication, cli
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- 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