Azure / arc_jumpstart_docs

A public repo for hosting the Arc Jumpstart docs
Creative Commons Attribution 4.0 International
24 stars 35 forks source link

HCIBox AZD use the current PowerShell context different to azd auth context #2443 #265

Closed duongthaiha closed 4 months ago

duongthaiha commented 4 months ago

This is an issue has been raised in azure arc repo. One possible solution to highlight the issue and provide guidance for user is to highlight this use case in the documentation Reference: https://github.com/microsoft/azure_arc/issues/2443

Is your issue related to a Jumpstart scenario, ArcBox, HCIBox, or Agora? I was following the instruction from this documentation (https://azurearcjumpstart.io/azure_jumpstart_hcibox/deployment_azd)

Describe the issue or the bug When using azd up for HCI Box scenarios, the command failed at pre-provision script. Please see screen shot

To Reproduce 1 - Login with powershell with credential - X 2 - Login with azd auth login for HCI box using anther credential - Y - which does not have the same access to X ie different tenant. 3 - Run azd up

Expected behavior Pre-provision step using PowerShell will consider the context from azd auth

Environment summary

az 2.57.0 azd v1.6.1 Powershell 7.4.1

Have you looked at the Troubleshooting and Logs section?

Yes I did

Screenshots image Additional context

I volunteer to update the doc to hight light this problem

microsoft-github-policy-service[bot] commented 4 months ago

Hi duongthaiha! Thank you for opening this issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on the Azure Arc Jumpstart.