diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b3f1f39fe4e6..72150bdc70b4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,5 +1,5 @@ parameters: -- name: serviceConnection +- name: Service Connection displayName: Override Service Connection type: string default: '' @@ -30,7 +30,7 @@ steps: displayName: 'AzureCLI $(serviceConnection)' inputs: addSpnToEnvironment: true - azureSubscription: '$(serviceConnection)' # Task property referencing Service Connection ------------------------------------------------------- + azureSubscription: janARM # Task property referencing Service Connection ------------------------------------------------------- scriptType: pscore scriptLocation: inlineScript inlineScript: | @@ -104,7 +104,7 @@ steps: - task: AzurePowerShell@5 displayName: 'AzurePowerShell $(serviceConnection)' inputs: - azureSubscription: '$(serviceConnection)' + azureSubscription: janARM scriptType: inlineScript inline: | Get-AzContext Format-List