Currently I’m not able to list queue policies with azure cli and I’m also not able to list queue policies with the Storage Account explorer. But the policies will be created successfully.
I recognized that the storage account emulator is answering the get request different than azurite. There are some magic characters in front of the response and a zero at the end.
As you can see the magic characters in front of the response are not there and the trailing zero is also not available.
Another issue because of the issue above is that azure cli requests the queue policies first, if there are some policies available it merges the policies (old+new) and sends them back. But this is not possible with azurite. All policies will be overwritten by the new one.
Currently I circumventing the issue by using custom scripts for creating queues and policies but for debugging and some test environment related topics I need to use azure cli and the Storage Account Explorer.
Hi,
Currently I’m not able to list queue policies with azure cli and I’m also not able to list queue policies with the Storage Account explorer. But the policies will be created successfully.
I recognized that the storage account emulator is answering the get request different than azurite. There are some magic characters in front of the response and a zero at the end.
Storage Account Emulator 5.3.0.0 Azurite 2.6.5 Azure CLI 2.0.30 Windows 10 + WSL
1. Storage Account Emulator + azure cli
RESPONSE (Fiddler):
RESPONSE (Fiddler):
2. Azurite + azure cli
RESPONSE (Fiddler):
azure cli returns nothing. But the response from azurite looks like: RESPONSE (Fiddler):
As you can see the magic characters in front of the response are not there and the trailing zero is also not available.
Another issue because of the issue above is that azure cli requests the queue policies first, if there are some policies available it merges the policies (old+new) and sends them back. But this is not possible with azurite. All policies will be overwritten by the new one.
Currently I circumventing the issue by using custom scripts for creating queues and policies but for debugging and some test environment related topics I need to use azure cli and the Storage Account Explorer.
Best nobiehl