microsoft / azure_arc

Automated Azure Arc, Edge, and Platform environments
https://aka.ms/ArcJumpstart
Creative Commons Attribution 4.0 International
733 stars 532 forks source link

HCIBox azd deployment - improve the Azure CLI and PowerShell context setting process #2573

Closed janegilring closed 1 month ago

janegilring commented 1 month ago

This pull request includes changes to the azure_jumpstart_hcibox/scripts/preprovision.ps1 file to improve the Azure CLI and PowerShell context setting process. The most significant change is the addition of a check to ensure that the Azure CLI is authenticated to the same tenant as Azure PowerShell. If not, the script will perform a login operation with Azure CLI using the tenant ID.

microsoft-github-policy-service[bot] commented 1 month ago

Hi janegilring! Thank you for opening this Pull Request. Someone will review it soon. Thank you for committing to making the Azure Arc Jumpstart better.