Skip to content

Commit

Permalink
[EngSys] Apply AzurePowerShellCredential workaround unconditionally (#…
Browse files Browse the repository at this point in the history
…30504)

so that all configurations have it.
  • Loading branch information
jeremymeng authored Jul 24, 2024
1 parent 8ab8eda commit 521da10
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion eng/pipelines/templates/jobs/live.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,11 @@ jobs:

# ===== BEGIN LIVE TEST RUNS =====

- pwsh: |
eng/common/scripts/Import-AzModules.ps1
Update-AzConfig -DisplayBreakingChangeWarning $false
displayName: "Workaround https://github.com/Azure/azure-sdk-for-js/issues/30356"
- ${{ if eq('true', parameters.UseFederatedAuth) }}:
- task: AzurePowerShell@5
inputs:
Expand All @@ -224,7 +229,6 @@ jobs:
$account = (Get-AzContext).Account
$env:AZURESUBSCRIPTION_CLIENT_ID = $account.Id
$env:AZURESUBSCRIPTION_TENANT_ID = $account.Tenants
Update-AzConfig -DisplayBreakingChangeWarning $false
node ../../../common/scripts/install-run-rushx.js integration-test:$(TestType)
exit $LASTEXITCODE
Expand Down

0 comments on commit 521da10

Please sign in to comment.