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
When the task tries to copy the files to the storage account, it fails stating it is unauthorized to perform the request, cancels the upload but then proceeds to label the task as completed successfully.
Environment type (Please select at least one enviroment where you face this issue)
Self-Hosted
Microsoft Hosted
VMSS Pool
Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
windows-latest
Relevant log output
2025-03-07T20:35:53.9577354Z mime: D:\a\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\6.252.0\MimeMapping.json
2025-03-07T20:35:53.9643198Z Uploading files from source path: 'D:\a\r1\a\********\********\********.sfpkg' to storage account: '********'in container: '********' with blob prefix: ''
2025-03-07T20:35:53.9754279Z ##[command] & "AzCopy\AzCopy.exe" copy "D:\a\r1\a\********\********\********.sfpkg" "https://********.blob.core.windows.net/********/" --log-level=INFO --recursive
2025-03-07T20:35:54.1236237Z INFO: Scanning...
2025-03-07T20:35:58.9826674Z INFO: Login with Powershell context succeeded
2025-03-07T20:35:58.9827263Z INFO: Authenticating to destination using Azure AD
2025-03-07T20:35:58.9827960Z INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support2025-03-07T20:35:59.2981569Z 2025-03-07T20:35:59.3269620Z Job 300ad5e3-5852-c044-754b-0b031e4b2c6a has started2025-03-07T20:35:59.3362068Z Log file is located at: C:\Users\VssAdministrator\.azcopy\300ad5e3-5852-c044-754b-0b031e4b2c6a.log2025-03-07T20:35:59.3381497Z 2025-03-07T20:36:01.0038992Z 2025-03-07T20:36:01.4056852Z 0.0 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2025-03-07T20:36:01.4057966Z INFO: Authentication failed, it is either not correct, or expired, or does not have the correct permission PUT https://********.blob.core.windows.net/********/********.sfpkg2025-03-07T20:36:01.4058960Z --------------------------------------------------------------------------------2025-03-07T20:36:01.4062779Z RESPONSE 403: 403 This request is not authorized to perform this operation using this permission.2025-03-07T20:36:01.4063659Z ERROR CODE: AuthorizationPermissionMismatch2025-03-07T20:36:01.4064009Z --------------------------------------------------------------------------------2025-03-07T20:36:01.5959468Z <?xml version="1.0" encoding="utf-8"?><Error><Code>AuthorizationPermissionMismatch</Code><Message>This request is not authorized to perform this operation using this permission.2025-03-07T20:36:01.5960435Z RequestId:f103dd22-301e-005f-77a0-8fa6af0000002025-03-07T20:36:01.5960660Z Time:2025-03-07T20:36:01.3474848Z</Message></Error>2025-03-07T20:36:01.5960896Z --------------------------------------------------------------------------------2025-03-07T20:36:01.5961007Z 2025-03-07T20:36:03.0135907Z 0.0 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2025-03-07T20:36:03.0138951Z 0.0 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s): 23.61192025-03-07T20:36:03.0139274Z 2025-03-07T20:36:03.0139455Z 2025-03-07T20:36:03.0139740Z Job 300ad5e3-5852-c044-754b-0b031e4b2c6a summary2025-03-07T20:36:03.0140135Z Elapsed Time (Minutes): 0.06712025-03-07T20:36:03.0141050Z Number of File Transfers: 12025-03-07T20:36:03.0142524Z Number of Folder Property Transfers: 02025-03-07T20:36:03.0142931Z Number of Symlink Transfers: 02025-03-07T20:36:03.0144549Z Total Number of Transfers: 12025-03-07T20:36:03.0145255Z Number of File Transfers Completed: 02025-03-07T20:36:03.0145780Z Number of Folder Transfers Completed: 02025-03-07T20:36:03.0146135Z Number of File Transfers Failed: 02025-03-07T20:36:03.0147006Z Number of Folder Transfers Failed: 02025-03-07T20:36:03.0147390Z Number of File Transfers Skipped: 02025-03-07T20:36:03.0148067Z Number of Folder Transfers Skipped: 02025-03-07T20:36:03.0148357Z Total Number of Bytes Transferred: 02025-03-07T20:36:03.0148619Z Final Job Status: Cancelled2025-03-07T20:36:03.0148782Z 2025-03-07T20:36:03.0572277Z Uploaded files successfully from source path: 'D:\a\r1\a\********\********\********.sfpkg' to storage account: '********' in container: '********' with blob prefix: ''
Full task logs with system.debug enabled
No response
Repro steps
The text was updated successfully, but these errors were encountered:
New issue checklist
Task name
Azure file copy
Breaking task version
6.0
Last working task version
3.0
Regression Description
When the task tries to copy the files to the storage account, it fails stating it is unauthorized to perform the request, cancels the upload but then proceeds to label the task as completed successfully.
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
windows-latest
Relevant log output
Full task logs with system.debug enabled
No response
Repro steps
The text was updated successfully, but these errors were encountered: