microsoft / microsoft/AzureStorageExplorer
An error "UnexpectedCancel" displays in the activity log when uploading items to one attached blob container which SAS URL is created by an access policy (List, Read)
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 452
- Forks
- 92
- Avg merge
- 15h 20m
- Merged PRs (30d)
- 3
Description
Storage Explorer Version: 1.21.0
Build Number: 20210908.7
Branch: rel/1.21.0
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Big Sur 11.4
Architecture: ia32\x64
How Found: From running test case
Regression From: Not a regression
Steps to Reproduce
- Expand one storage account -> Blob Containers.
- Create a blob container -> Right click the blob container.
- Click 'Manage Access Policies...' -> Add one access policy with 'Read, List' permissions.
- Generate a SAS URL via the access policy.
- Attach the blob container via the SAS URL.
- Upload one blob to the attached blob container -> Click 'OK' on the prompt detected dialog.
- Check whether a helpful error message displays in the activity log.
Expected Experience
A helpful error message displays in the activity log.
Actual Experience
An error "UnexpectedCancel" displays in the activity log.

Error Details:
{
"message": "\"UnexpectedCancel\""
}
Additional Context
- Here is the AzCopy log:
0238cd79-e76f-ab4d-6af8-414b55630e88.log - This issue also reproduces for ADLS Gen2 blob containers/file shares.
- This issue doesn't reproduce when attaching via SAS permissions.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the listed reproduction steps for a blob container attached using an access-policy SAS, then inspect the linked AzCopy log and compare the activity-log handling with direct SAS permissions. Done means uploads no longer surface only "UnexpectedCancel" and instead display a helpful error message, including for the reported ADLS Gen2 and file-share cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100