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

Added logic for azd pre-provisioning script to terminate when Microsoft.AzureStackHCI provider id is not retrieved #2542

Closed janegilring closed 1 month ago

janegilring commented 1 month ago

This pull request includes a change to the preprovision.ps1 script in the azure_jumpstart_hcibox/scripts directory. The change modifies the script's behavior when the Microsoft.AzureStackHCI provider id is not found. Instead of setting the SPN_PROVIDER_ID environment variable, it now issues a warning, provides options for resolution, and aborts the script execution.

Fixes #2541

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.