title: Can find the download file in azure pipeline
body: <p>I'm trying to use azure pipeline to upload certificate and binding the app service.
  First I use a DEV-stage,all works well.Currently I have to create a new stage for QUAL env.Just clone a new stage from DEV-stage and update the variables,but we run the pipeline can not find the certificate(file) I uploaded.
  My download task is:</p>
  
  <pre><code>steps:
  - task: DownloadSecureFile@1
    displayName: 'Download ***.**.com Certificate for API App'
    inputs:
      secureFile: dev.pfx
  </code></pre>
  
  <p>and then use a azure powershell task，but in my script such error happens:</p>
  
  <pre><code>Certificate does not exist at path D:\a\_temp/
  </code></pre>
  
  <p>It seems can not find the download file in the agent.
  <a href="https://i.stack.imgur.com/cjXRD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cjXRD.png" alt="enter image description here"></a></p>
  
  <p>Uploaded task:</p>
  
  <pre><code>steps:
  - task: AzurePowerShell@3
    displayName: 'Upload Certificate to API app and Bind Domain'
    inputs:
      azureSubscription: 'Azure: CDA NextGen DEV'
      ScriptPath: '$(System.DefaultWorkingDirectory)/CdaApi-ArmTemplates/ArmTemplates/InstallSSLAndCustomDomain.ps1'
      ScriptArguments: '-ResourceGroupName $(ResourceGroupName) -AppServiceName $(ApiSiteName) -CustomDomains $(ApiHostName) -CertificatePassword $(Password) -CertificateFileName $(CertificateFileName)'
      azurePowerShellVersion: LatestVersion
  </code></pre>
  
  <p>power shell script:</p>
  
  <pre><code>$CertificateFilePath = $env:AGENT_TEMPDIRECTORY + "/" +  $CertificateFileName
  
  $ResourceGroupName -ResourceType Microsoft.Web/sites -ApiVersion 2014-11-01
  
  if ([System.IO.File]::Exists($CertificateFilePath)) 
  {
      Write-Host ("Certificate found at {0}" -f $CertificateFilePath)
  }
  else 
  {
      Write-Error ("Certificate does not exist at path {0}" -f $CertificateFilePath)
      throw
  }
  </code></pre>
  
  <p>How to check it?</p>