You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This command works exactly as expected on one windows machine (W2012). On another machine in the same net (W2019) the login prompt comes up with a token. When entered, the copy command then shows scanning... and prompts for another code. When entered, there is a 401 failure:
RESPONSE Status: 401 Server failed to authenticate the request. Please refer to the information in the www-authenticate header.
Content-Length: 302
Content-Type: application/xml
Date: Tue, 26 Mar 2024 19:34:04 GMT
Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
Www-Authenticate: Bearer authorization_uri=https://login.microsoftonline.com/GUID/oauth2/authorize resource_id=https://storage.azure.com
X-Ms-Client-Request-Id: <>
X-Ms-Error-Code: NoAuthenticationInformation
X-Ms-Request-Id: <>
X-Ms-Version: 2023-08-03
The working source machine has a 1:1 NAT that is in the permit list.
The non-working source machine has a many:1 NAT that is in the permit list.
I have not found any workaround for this yet.
The text was updated successfully, but these errors were encountered:
##[command] & "AzCopy\AzCopy.exe" copy "D:\<file path>\*" "https://<storage account>/<container name>/<blob prefix>" --log-level=INFO --recursive
INFO: Scanning...
INFO: Login with Powershell context succeeded
INFO: Authenticating to destination using Azure AD
INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support
Job <job id> has started
Log file is located at: C:\Users\<username>\.azcopy\<job id>.log
Hey @Aussiemon ,
have you considered utilizing PowerShell for this task? You could streamline the process by leveraging Connect-AzAccount to log in to Azcopy .
10.14.1 and 10.23.0 and 10.24.0 on Windows
azcopy login --tenant-id GUID
azcopy file.ext https://storage.blob.core.windows.net/Folder/file.ext
This command works exactly as expected on one windows machine (W2012). On another machine in the same net (W2019) the login prompt comes up with a token. When entered, the copy command then shows scanning... and prompts for another code. When entered, there is a 401 failure:
RESPONSE Status: 401 Server failed to authenticate the request. Please refer to the information in the www-authenticate header.
Content-Length: 302
Content-Type: application/xml
Date: Tue, 26 Mar 2024 19:34:04 GMT
Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
Www-Authenticate: Bearer authorization_uri=https://login.microsoftonline.com/GUID/oauth2/authorize resource_id=https://storage.azure.com
X-Ms-Client-Request-Id: <>
X-Ms-Error-Code: NoAuthenticationInformation
X-Ms-Request-Id: <>
X-Ms-Version: 2023-08-03
The working source machine has a 1:1 NAT that is in the permit list.
The non-working source machine has a many:1 NAT that is in the permit list.
I have not found any workaround for this yet.
The text was updated successfully, but these errors were encountered: