title: How to copy file to Azure Blob when using Azure Pipeline
body: <p>I have tried so many times but still getting an error like below:</p>
  
  <p>"The pipeline is not valid. Job Job: Step AzureFileCopy input ConnectedServiceNameARM references service connection xxxxx-xxx-xx-xxxx-xxxxxxxx which could not be found.The service connection does not exist or has not been authorized for use. For authorization details, refer to <a href="https://aka.ms/yamlauthz" rel="nofollow noreferrer">https://aka.ms/yamlauthz</a>."</p>
  
  <p>On the right side, there is a "Authorize resources" button. But whatever how I click it, it will show "An error occurred while auto-authorizing resources"</p>
  
  <p>And here is part of my yaml file:</p>
  
  <p></p>
  
  <pre><code>task: AzureFileCopy@3
  inputs: 
      sourcePath:'AddFunction/bin/Debug/AddFunction.exe' 
      azureSubscription:'xxxxxx-xxxx-xxxx-xxxx-xxxxxxx' 
      destination: AzureBlob 
      storage:'1234' 
      containerName: 'test'
  </code></pre>
  
  <p>Also I have connected the Service connections on the Azure Pipeline, and I chose the "Azure Resource Manager" for my resource type.</p>
  
  <p>Any ideas or pointers would be greatly appreciated.</p>