Skip to content

Commit 3f308de

Browse files
azure-sdkbenbp
andauthored
Import Az powershell module in self contained post script task (Azure#24326)
Co-authored-by: Ben Broderick Phillips <[email protected]>
1 parent 2c5e730 commit 3f308de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eng/common/TestResources/deploy-test-resources.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ steps:
122122
scriptLocation: inlineScript
123123
scriptType: pscore
124124
inlineScript: |
125+
eng/common/scripts/Import-AzModules.ps1 # Support post scripts using az powershell instead of az cli
125126
$env:ARM_OIDC_TOKEN = $env:idToken
126127
$scriptPath = '$(Agent.TempDirectory)/${{ parameters.SelfContainedPostScript }}'
127128
Write-Host "Executing self contained test resources post script '$scriptPath'"

0 commit comments

Comments
 (0)