locked
Azure Copy

    Question

  • Hi,

    Trying to copy build files from our local intranet machine to Azure VM (not a storage)for install testing. Total Files size are less than 5 GB. my plan is to create a build definition with the following task:
    > from the on premises build agent machine copy the files to the above VM.
    On premises machine has the files.

    I configured Azure file copy. it uses Azure subscription (services endpoint) account and followed the task document
    i am getting the following error when i try to execute:
    Service principal authentication is not supported in version

    I searched online, didnt find any working solution. Please let me know if i am missing something or if there is a better solution.

    Thank you,

    Friday, June 9, 2017 10:20 PM

All replies

  • To clarify, are you using VSTS or TFS?

    Also, which version of the task you are using?

    Could you share the logs?

    Saturday, June 10, 2017 5:27 AM
  • Hi Sheetal,
    Here is the log:

    2017-06-09T21:41:34.4514916Z ==============================================================================
    2017-06-09T21:41:34.4514916Z Task         : Azure File Copy
    2017-06-09T21:41:

    34.4514916Z Description  : Copy files to Azure blob or VM(s)
    2017-06-09T21:41:34.4514916Z Version      : 1.0.91
    2017-06-09T21:41:34.4514916Z Author       : Microsoft Corporation
    2017-06-09T21:41:34.4514916Z Help         : [More Information](https://aka.ms/azurefilecopyreadme)
    2017-06-09T21:41:34.4514916Z ==============================================================================
    2017-06-09T21:41:36.2952754Z ##[command]Import-Module -Name C:\Program Files\WindowsPowerShell\Modules\Azure\4.0.2\Azure.psd1 -Global
    2017-06-09T21:41:37.5452983Z ##[error]Service principal authentication is not supported in version '4.0.2' of the Azure module.

    Thanks,

    Sunday, June 11, 2017 6:57 AM