[BUG] Cross-tenant operations are not working properly
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- azure, bash, powershell
- Domínio
- authentication, authorization, cli, cloud
Direção de pesquisa
Comece reproduzindo a sequência az login, az account list, az account set e az network vhub connection create no Cloud Shell bash e no PowerShell e, em seguida, compare-a com uma execução local. Está concluído quando o comando de criação da conexão vhub entre locatários para a VNET remota é bem-sucedido em vez de retornar LinkedAuthorizationFailed.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- PowerShell
- Estrelas
- 273
- Forks
- 116
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de Azure/CloudShell
-
bug Triage-needed
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 30/100
Azure/CloudShell#655 ·
-
Blood TestAberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 5/100
Azure/CloudShell#654 · 2 comentários ·
-
bug Triage-needed
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 38/100
Azure/CloudShell#653 ·
-
bug Triage-needed
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 22/100
Azure/CloudShell#649 · 2 comentários ·
-
[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 subscriptionsTalvez já em andamento @priyaananthasankar assumiu há 22 dias. Abertabug
Azure/CloudShell#648 · 1 comentário · 1 responsável ·
Todas as issues de Azure/CloudShell
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 71/100
NousResearch/hermes-agent#148792 ·
Mantenedores costumam responder em até 1 dia
-
[Bug] adb backup script reports "Done" & exits 0 when the backup failsTalvez já em andamento @bhattmanthan assumiu hoje. Abertarequest-issue-assignment
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
OWASP/mastg#4034 · 5 comentários ·
Mantenedores costumam responder em até 1 dia
-
Integer overflow → heap out-of-bounds write in `contrib/pngminus/pnm2png.c` via crafted PNM widthAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 4 dias
-
Auth: pyric's IdTokenResult uses ISO times and lacks signInSecondFactor, production uses UTC stringsAbertadivergence lane:reliability
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
ansible/ansible-ui#3857 ·
Mantenedores costumam responder em até 1 dia