We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a02192 commit 21f79e3Copy full SHA for 21f79e3
Tasks/Common/VstsAzureHelpers_/InitializeFunctions.ps1
@@ -655,10 +655,6 @@ function Disconnect-AzureAndClearContext {
655
Write-Host "##[command]Logout-AzureRmAccount"
656
$null = Logout-AzureRmAccount
657
}
658
- else {
659
- $noCommandMessage = "Unable to find a command to log out of Azure"
660
- Write-Host "##vso[task.logissue type=warning;]$noCommandMessage"
661
- }
662
663
if (Get-Command -Name "Clear-AzureRmContext" -ErrorAction "SilentlyContinue") {
664
Write-Host "##[command]Clear-AzureRmContext -Scope Process"
0 commit comments