From 8090407a3213d3f7febabdd117e0525c56130896 Mon Sep 17 00:00:00 2001 From: Vincent Dai <23257217+vidai-msft@users.noreply.github.com> Date: Sun, 4 Aug 2024 19:30:10 -0700 Subject: [PATCH] Fix github pat issue using AzurePowerShell task (#25740) --- .azure-pipelines/util/get-github-pat-steps.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.azure-pipelines/util/get-github-pat-steps.yml b/.azure-pipelines/util/get-github-pat-steps.yml index 13006b44e2e1..71fa05cfea6d 100644 --- a/.azure-pipelines/util/get-github-pat-steps.yml +++ b/.azure-pipelines/util/get-github-pat-steps.yml @@ -1,6 +1,7 @@ steps: - task: AzurePowerShell@5 inputs: + pwsh: true azureSubscription: '$(AzureSubscription)' ScriptType: 'InlineScript' Inline: |