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
Note: The version is visible when running AzCopy without any argument
10.19.0
Which platform are you using? (ex: Windows, Mac, Linux)
Linux
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
Version check (access to azcopyvnextrelease.blob.core.windows.net) observed during successful azcopy-login execution, while the option "--skip-version-check" is expected to suppress the version check.
How can we reproduce the problem in the simplest way?
Create service principal and keep your appId, password and tenant in the result.
az ad sp create-for-rbac -n
store the password into AZCOPY_SPA_CLIENT_SECRET
Try azcopy login while running packet capture or any other methods to monitor network connections.
azcopy login --skip-version-check --service-principal --application-id --tenant-id
Have you found a mitigation/solution?
The PR #1950 introduced "--skip-version-check" option, which sets azcopySkipVersionCheck to skip beginDetectNewVersion() in rootCmd().
Which version of the AzCopy was used?
Note: The version is visible when running AzCopy without any argument
10.19.0
Which platform are you using? (ex: Windows, Mac, Linux)
Linux
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
azcopy login --skip-version-check --service-principal --application-id --tenant-id
What problem was encountered?
Version check (access to azcopyvnextrelease.blob.core.windows.net) observed during successful azcopy-login execution, while the option "--skip-version-check" is expected to suppress the version check.
How can we reproduce the problem in the simplest way?
Create service principal and keep your appId, password and tenant in the result.
az ad sp create-for-rbac -n
store the password into AZCOPY_SPA_CLIENT_SECRET
Try azcopy login while running packet capture or any other methods to monitor network connections.
azcopy login --skip-version-check --service-principal --application-id --tenant-id
Have you found a mitigation/solution?
The PR #1950 introduced "--skip-version-check" option, which sets azcopySkipVersionCheck to skip beginDetectNewVersion() in rootCmd().
azure-storage-azcopy/cmd/root.go
Line 155 in c78f86c
However, there are another calls to beginDetectNewVersion() in Execute(), which is said to be effective in login/logout/help cases.
azure-storage-azcopy/cmd/root.go
Line 198 in c78f86c
I believe we also need to check azcopySkipVersionCheck flag in Execute() and skip beginDetectNewVersion() if the flag is set.
The text was updated successfully, but these errors were encountered: