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.
azure_jumpstart_hcibox/scripts/preprovision.ps1: Modified the script to issue a warning and provide resolution options when the Microsoft.AzureStackHCI provider id is not found, instead of setting the SPN_PROVIDER_ID environment variable. The script will now also abort execution in this scenario.Throw error if Microsoft.AzureStackHCI provider id is not retrieved.
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.
This pull request includes a change to the
preprovision.ps1
script in theazure_jumpstart_hcibox/scripts
directory. The change modifies the script's behavior when the Microsoft.AzureStackHCI provider id is not found. Instead of setting theSPN_PROVIDER_ID
environment variable, it now issues a warning, provides options for resolution, and aborts the script execution.azure_jumpstart_hcibox/scripts/preprovision.ps1
: Modified the script to issue a warning and provide resolution options when the Microsoft.AzureStackHCI provider id is not found, instead of setting theSPN_PROVIDER_ID
environment variable. The script will now also abort execution in this scenario.Throw error if Microsoft.AzureStackHCI provider id is not retrieved.Fixes #2541