Skip to content

Commit

Permalink
Merge pull request #2553 from microsoft/janegilring_bugfix_issue_2546
Browse files Browse the repository at this point in the history
Bugfix - issue 2546
  • Loading branch information
dkirby-ms authored May 17, 2024
2 parents 21660ba + a44cd32 commit adc5e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure_jumpstart_hcibox/scripts/preprovision.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Write-Host "Attempting to retrieve Microsoft.AzureStackHCI provider id..."
$spnProviderId=$(az ad sp list --display-name "Microsoft.AzureStackHCI" --output json) | ConvertFrom-Json
if ($null -ne $spnProviderId.id) {
azd env set SPN_PROVIDER_ID -- $($spnProviderId.id)
else {
} else {
Write-Warning "Microsoft.AzureStackHCI provider id not found, aborting..."

Write-Host 'Consider the following options: 1) Request access from a tenant administrator to get read-permissions to service principals.
Expand Down

0 comments on commit adc5e10

Please sign in to comment.