Open pablobi00 opened 3 years ago
storage
dupe of #16217
Hi @pablobi00, could you add --debug
in your command and share the debug info with us?
According to info you share, are you using --auth-mode login
in your command? If you want to use AAD credential, you need to assign RBAC roles like Storage Blob Data Contributor
to your account.
If you don't want to use AAD credential, please use --account-key
or --connection-string
as your credential.
@xiafu-msft please pay attention to process_storage_error
method. AttributeError
should be avoid in your code and just raise error message to customer.
The actual error (AuthorizationPermissionMismatch) This request is not authorized to perform this operation using this permission.
is overridden by SDK code issue with AttributeError
.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage.
Author: | pablobi00 |
---|---|
Assignees: | Juliehzl |
Labels: | `OKR3.2 Candidate`, `Service Attention`, `Storage`, `feature-request` |
Milestone: | S185 |
This is autogenerated. Please review and update as needed.
Describe the bug
I can list the content of another FS with the same properties in this storage account, there is another one that always fails.
Command Name
az storage fs file list
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az storage fs file list -f {} --account-name {} --auth-mode {}
Expected Behavior
Environment Summary
Additional Context