from azure.identity import DefaultAzureCredential from azure.storage.blob import BlobServiceClient credentials = DefaultAzureCredential() blob_service_client = BlobServiceClient( account_url="https://XYZ.blob.core.windows.net", credential=credentials )
DefaultAzureCredential fetches my credentials I logged in with through my VS Code Azure Account plugin. Within the plugin I can list and read all the blobs.
With the above
blob_service_client I can create and delete containers in the respective storage account.
Any operation that intends to list or read a blob fails with
Content: <?xml version="1.0" encoding="utf-8"?><Error><Code>AuthorizationPermissionMismatch</Code><Message>This request is not authorized to perform this operation using this permission..
All libraries and plugins are the latest version.
Any hint as to how to resolve this would be massively appreciated.