Skip to content

Commit 2ba4dae

Browse files
authored
enable public access for the storage account in blob live test (#25598)
1 parent 63e34d3 commit 2ba4dae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Storage/Storage.Management.Test/LiveTests/BlobTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Invoke-LiveTestScenario -Name "Blob basics" -Description "Test blob basic operat
1010
$ContentMD5 = "i727sP7HigloQDsqadNLHw=="
1111
$testfile512path = "$PSScriptRoot\TestFiles\testfile512"
1212

13-
$account = New-AzStorageAccount -ResourceGroupName $rgName -Name $storageAccountName -Location $location -SkuName Standard_GRS
13+
$account = New-AzStorageAccount -ResourceGroupName $rgName -Name $storageAccountName -Location $location -SkuName Standard_GRS -AllowBlobPublicAccess $true
1414
$ctx = $account.Context
1515
$container = New-AzStorageContainer -Name $containerName -Context $ctx
1616
$containerSAS = New-AzStorageContainerSASToken -Name $containerName -Permission radwl -ExpiryTime 5000-01-01 -Context $ctx

0 commit comments

Comments
 (0)