Trying to setup a simple AzureVMFileCopy task from the VSTS Release. I have already done the following steps:
Here is the exception I get:
System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server devocxdbvm.westeurope.cloudapp.azure.com failed with the following error message : Access is denied
Any basic element I may be missing ?
I experienced this same issue setting up a build machine for VSTS, fix for me was Method 2 here: https://support.microsoft.com/en-us/help/896861/you-receive-error-401-1-when-you-browse-a-web-site-that-uses-integrate
which is to add the following registry key:
In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Right-click Lsa, point to New, and then click DWORD Value.
Type DisableLoopbackCheck, and then press ENTER.
Right-click DisableLoopbackCheck, and then click Modify.
In the Value data box, type 1, and then click OK.
Restart the VM
I believe (can't find where I read this now) that this was introduced by a security update to windows so may change again in future.