[BUG] Cross-tenant operations are not working properly
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- azure, bash, powershell
- Ambito
- authentication, authorization, cli, cloud
Direzione di ricerca
Inizia riproducendo la sequenza az login, az account list, az account set e az network vhub connection create in Cloud Shell bash e PowerShell, quindi confrontala con un'esecuzione locale. Il lavoro è completato quando il comando di creazione della connessione vhub tra tenant per la VNET remota ha esito positivo invece di restituire LinkedAuthorizationFailed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
To Reproduce
Be logged into a tenant where the user has cross-tenant access to a subscription on another tenant.
1 Login tenant from remote VNET
az login --tenant "xxxxx"
2 Displays the expected sub for the remote VNET
az account list -o table
3 Context for hub subscription
az account set --subscription "xxx"
4 Connect vnet to hub
az network vhub connection create --resource-group "abc" --name "vnet-name" --vhub-name "xyz" --remote-vnet "/subscriptions/xxxx/resourceGroups/abc/providers/Microsoft.Network/virtualNetworks/test-vnet"
Observed Behavior
(LinkedAuthorizationFailed) The client has permission to perform action 'Microsoft.Network/virtualNetworks/peer/action' on scope '/subscriptions/xxx/resourceGroups/abc/providers/Microsoft.Network/virtualHubs/xyz/hubVirtualNetworkConnections/vnet-name', however the current tenant 'xxxxx' is not authorized to access linked subscription 'xxxxxx'.
Code: LinkedAuthorizationFailed
Message: The client has permission to perform action 'Microsoft.Network/virtualNetworks/peer/action' on scope '/subscriptions/xxxxx/resourceGroups/abc/providers/Microsoft.Network/virtualHubs/xyz/hubVirtualNetworkConnections/vnet-name', however the current tenant 'xxxx' is not authorized to access linked subscription 'xxxxx'.
Expected behavior
az network vhub connection create command to run successfully.
Is this specific to Cloud Shell?
Yes. This is working locally. Issue appears in both Cloud Shell bash and powershell.
Interface information
portal.azure.com
Additional context
Add any other context about the problem here.
- Lingua principale
- PowerShell
- Stelle
- 273
- Fork
- 116
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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/CloudShell
-
bug Triage-needed
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
Azure/CloudShell#655 ·
-
Blood TestAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 5/100
Azure/CloudShell#654 · 2 commenti ·
-
bug Triage-needed
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
Azure/CloudShell#653 ·
-
bug Triage-needed
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
Azure/CloudShell#649 · 2 commenti ·
-
[BUG] Bash session falls back to ephemeral (“Failed to mount the Azure file share”) after $HOME image is attached; intermittent across 5 file shares, 3 storage accounts, 2 subscriptionsForse già presa @priyaananthasankar l’ha presa 21 giorni fa. Apertabug
Azure/CloudShell#648 · 1 commento · 1 assegnatario ·
Tutte le issue di Azure/CloudShell
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
UTDallasEPICS/xuchil#157 ·
-
model:sonnet phase-2-optimize runtime:claude security size:S
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
FootprintAI/Containarium#3471 ·
I maintainer di solito rispondono entro 1 giorno
-
bug security
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 4 giorni
-
The `ufw` decoder requires the kernel's monotonic timestamp, so UFW lines read from journald decode without any fieldForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno